Once you map a video to content, the encoding process is started in the server. During the encoding process, we convert the original video formats (i.e. if the original video formats are mov, flv, vob, m4v, mkv, avi, 3gp & mpg) to .mp4 (video codec - H264) format using FFMPEG. As .mp4 video format is supported by multiple platforms (i,e, Android, iOS, Web, etc.). So your end-users can play the encoded video on multiple platforms and devices. We also store the videos in different resolutions in the server after encoding.
Note: We recommend uploading .mp4 videos to your Video Library to make the encoding process faster.
- During the encoding process, we convert all video formats to .mp4 (video codec - H264) format using FFMPEG.
- As per video resolution, we convert the video into multiple resolutions for different devices.
- For conversion, we use a high-end ec2 server, where conversion is done faster than the normal server.
- Muvi recommends uploading MP4 videos having video codec H.264. (If you upload videos with another codec, then your users may experience difficulty while playing the videos on a mobile app or website, as every codec behaves differently.)
- The file size of one hour HD video is around 2 GB and a Standard Definition video is 500 MB to 1 GB.
- We use HTML5 video player & video.js for video streaming.
Once the video is encoded, it is stored in the server from the lowest resolution to the original resolution. For example, if you upload a video with 1080p resolution, then after encoding the videos are stored in the lowest to the original video resolution i.e. in this case from 144p to 1080p. So the best resolution for the video in this scenario is 1080p. When the video is played in the player and the end-users click on the gear icon to select the resolution, they can view the highest or the original resolution of the video named "Best" (see below screenshot).
|Original Video Resolution||Encoded Video Resolution||Video Size (Video Duration 1 Hour)|
|2160||2160 (Best), 1440, 1080, 720, 480||7910 MB|
|1440||1440 (Best), 1080, 720, 480||4394 MB|
|1080||1080 (Best), 720, 480, 360||2636 MB|
|720||720 (Best), 480, 240, 144||1318 MB|
|480||480 (Best), 360, 240, 144||690 MB|
|360||360 (Best), 240, 144||439 MB|
|240||240 (Best), 144||263 MB|
|144||144 (Best), 144||175 MB|
- During the encoding process, the server cannot encode a video to a higher resolution than the maximum resolution available in the original video. For example, the server cannot convert a 720p video to a 1080p video.
- Video resolutions are calculated based on the vertical resolution instead of horizontal resolution. Videos are normally presented as Horizontal resolution x Vertical resolution. For example, if a video is of resolution 1280 x 720 size, it means it has a resolution of 720p as 720 is the vertical resolution of this video.
- Video bitrate may differ from video to video. For example, a high-quality video having 2160p resolution will have a higher video bitrate for 360p after encoding. However, a video having 480p resolution will have a lower video bitrate for 360p after encoding.