What is FFMPEG Hosting? How to check whether FFMPEG is enabled in my server or not?

Hello Everyone!!!

What is FFMPEG Hosting? [Important| Latest 2019 Blog]

FFmpeg hosting is a web hosting designed for Audio and video conversion module. FFmpeg is a free and open-source collection of tools and libraries that allows users to record, convert, and stream video and audio in different types of formats. These tools are extremely useful in optimizing files for online sharing and streaming. 

cheap linux hosting



 

How to check whether FFMPEG is enabled in my server or not? [Updated May 2019]

Write this simple code in any .php file and test it

<?php

$ffmpeg = trim(shell_exec(‘which ffmpeg’)); // or better yet:
$ffmpeg = trim(shell_exec(‘type -P ffmpeg’));

if (empty($ffmpeg))
{
die(‘ffmpeg not available’);
}

shell_exec($ffmpeg . ‘ -i …’);?>


If it returns ‘ffmpeg not available‘ then it is not enabled in your server.

Just for testing purpose i have created test.php file and inserted these code

cheap linux hosting


Now i am going to test it!!!

cheap linux hosting

So you see it’s returning ‘ffmpeg not available’ which means FFmpeg is not enabled in my server.

Hope this answer helped you.. for more queries and suggestions feel free to write or you can also comment below.