Enabling/Installing FFmpeg Extension PHP From cPanel

admin

May 29, 2016

PHP, Tutorial

No Comment

FFmpeg is php extension used to manipulate videos files in PHP using the ffmpeg program. It provides classes for retrieving information from video and audio files like the duration, frame and sample rate, frame size. It can also extract individual frames from the videos and create GD image resources. It supports the all the video formats supported by ffmpeg like MOV, AVI, MPEG, WMV, and the audio formats MP3 and WMA.

How to Enabling / Installing ffmpeg Extension PHP From cPanel

The cPanel now includes a graphic interface where you can install PHP extensions directly.

Login to your cPanel account.

Scroll down the cPanel interface until you reach the Software and Service section

Click Select PHP Version

Screen Shot 2015-01-07 at 4.00.59 PM

Find FFmpeg extension, check it and save.

Enabling/Installing ffmpeg Extension PHP From cPanel

General Questions About FFmpeg

1. Why doesn’t FFmpeg support feature [xyz]?
Because no one has taken on that task yet. FFmpeg development is driven by the tasks that are important to the individual developers. If there is a feature that is important to you, the best way to get it implemented is to undertake the task yourself or sponsor a developer.

2. FFmpeg does not support codec XXX. Can you include a Windows DLL loader to support it?
No. Windows DLLs are not portable, bloated and often slow. Moreover FFmpeg strives to support all codecs natively. A DLL loader is not conducive to that goal.

3. I cannot read this file although this format seems to be supported by ffmpeg.
Even if ffmpeg can read the container format, it may not support all its codecs. Please consult the supported codec list in the ffmpeg documentation.

4. Which codecs are supported by Windows?
Windows does not support standard formats like MPEG very well, unless you install some additional codecs.

The following list of video codecs should work on most Windows systems:

msmpeg4v2
.avi/.asf

msmpeg4
.asf only

wmv1
.asf only

wmv2
.asf only

mpeg4
Only if you have some MPEG-4 codec like ffdshow or Xvid installed.

mpeg1video
.mpg only

Note, ASF files often have .wmv or .wma extensions in Windows. It should also be mentioned that Microsoft claims a patent on the ASF format, and may sue or threaten users who create ASF files with non-Microsoft software. It is strongly advised to avoid ASF where possible.

The following list of audio codecs should work on most Windows systems:

adpcm_ima_wav
adpcm_ms
pcm_s16le
always

libmp3lame
If some MP3 codec like LAME is installed.

Related Posts

Finding a DropShipping Wholesaler

June 5, 2016

Tutorial

So now you are probably wondering how you can find and qualify a genuine wholesale drop shipper. You will need some patience and time to search through a drop shipper directory in order to find the best drop shipping companies for your particular product niche. There are many drop shipper directories available on the Internet, […]

Read More

[SOLUTIONS] 500 Internal Server Error PHP

May 29, 2016

PHP, Tutorial, WordPress

500 Internal Server Error is one of the common PHP errors that can put a PHP developer in panic mode. This article provides information on the most common causes. Why it become common PHP errors ? because you will found this error in WordPress, Prestashop, Codeigniter, Java, ASP.NET or whatever. 500 Internal Server Error is not a […]

Read More