In order for the broadcast of the advertising campaign and the operation of the player to be stable, when selecting content, use the following recommendations.
The recommended video format for use in projects on Windows and Android is mp4 with h.264 codec. For iOS devices, in the interface editor mode, only the flv format with the h.263 codec can be used. In the media gallery mode, the mp4 format with the h.264 codec is available. Depending on the power of the equipment, the criteria for requirements for bitrate, framerate, and video content resolution differ. For example, the average optimal video parameters for Windows and Android are: mp4 format with h.264 codec, fps 60. The bitrate depends on the equipment, the average optimal value is 10-15 Mb/s. FullHD resolution (1920*1080). Also, for correct playback, it is recommended to upload videos without metadata to the platform.
It is not recommended to use content that exceeds in resolution the size of the layer in which it will be displayed. There will be no qualitative difference in the display of content, but such a discrepancy may affect the rendering of the transition animation and superimposed effects. And in some cases (when the RAM is overloaded) on the work of the player as a whole.
An example of calculating the memory occupied by images of different resolutions:
Suppose there is an image without an alpha channel, with a resolution of 1920*1080. Then it will occupy 1920 * 1080 * 24 = 49766400 bits = 6.2 Mb in RAM. But if the resolution is 8000*14000, then each such picture will occupy 8000*14000*24 = 2688000000 bits = 336 Mb in RAM.
Comments
0 comments
Please sign in to leave a comment.