Ffmpeg-php installation details ffmpeg is a processing audio and video Dongdong, ffmpeg-php is an extension of php to download 0.6.0 from the official website, in earlier versions, I tried not to install yuminstallffmpegffmpeg-devel. Otherwise, the configure will fail to install ffmpeg-formats and ffmpeg-php.
Ffmpeg is a processing of audio and video, and ffmpeg-php is an extension of php.
Go to the official website to download version 0.6.0. I have tried to install earlier versions.
Yum install ffmpeg-devel first
Otherwise, configure will fail.
After the ffmpeg-formats is installed, check whether it is successful.
Decompress the downloaded extension package, phpize,./configure, make
It will appear here
PIX_FMT_RGBA32 is not found. it is estimated that there will inevitably be a problem. it seems that the Alpha channel is not supported. run the following command:
: 1, $ s/PIX_FMT_RGBA32/PIX_FMT_RGB32/g
Replace PIX_FMT_RGBA32 with PIX_FMT_RGB32
And then try again.
Then modify php. ini, restart the server, and the ffmpeg stuff will appear in phpinfo. if not, the installation is not successful!