Setting Up Video Encoding
Video Encoding basically is a process of converting the uploaded video input into a digital format which is compatible with most types of web players and mobile devices. All the uploaded videos which user watched via computers, mobile devices, tablets and etc have undergone a video encoding process to transform them from the original source format into a standard viewable format. This is because different browsers supports different video's format.
FFMPEG is the leading multimedia framework to encode and decode medias. It's supports a wide variety of video formats and it can utilize hardware acceleration to minimize conversion time. EasySocial utilizes FFMPEG to encode uploaded videos on the site. Without FFMPEG, you would not be able to upload video on your site.
In this section, you will be learned on how to setting up video encoding in EasySocial. Navigate to Components > EasySocial > Settings > Videos > General > Video Encoding.
- Path to FFMPEG
Specify the path to FFMPEG on your server.
- Delete Processed Videos
Determine whether to delete processed videos
- Video Size
Specify the Video size after encoding.
- Encode Videos After Upload
Determine whether to encode the videos directly after upload process.
- Maximum Audio Bitrate
Specify the maximum audio bitrate of the uploaded video.
Path To FFMPEG
Many hosting providers offers FFMPEG-enable server environments but some don't. So, you will need to consult with your hosting provider regarding this matter. You will need to make sure that
PHP:passthru is enabled on your site because FFMPEG uses passthru to process the encoding.
You should also look at your hosting provider's bandwidth allocations for your account. Hosting videos, especially that is accessed frequently by end users, can push out tremendous amounts of outgoing bandwidth. This will resulted in high server bill at the end of month.