Page 1 of 1

FFMPEG with PHP

Posted: Thu Jan 25, 2018 7:29 am
by poolo46
Hi guys,

I managed to install ffmpeg package on ffp 0.7 using slapt-get, but ....
How do I get it running with PHP ?

Thanks for reply!

Re: FFMPEG with PHP

Posted: Sat Jan 27, 2018 10:48 am
by jasinswift
The easiest solution is to download an already compiled ffmpeg binary and point your script to it. On the FFmpeg Download page refer to the Get the packages section for links to recent static builds for Linux, Windows, and macOS.

You can use shell_exec() as shown in FFmpeg Wiki: PHP and provide the full path to the downloaded binary.
Cheer!