Introduction
Once you map a video to content, then the encoding process automatically starts 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 on the server after encoding.
Note: We recommend uploading .mp4 videos to your Video Library to make the encoding process faster.
Encoding Process
- 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 of 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).