FFMPEG with PHP

Everything that does not fit anywhere else
Post Reply
poolo46
Posts: 5
Joined: Wed Jan 17, 2018 8:09 pm

FFMPEG with PHP

Post by poolo46 » Thu Jan 25, 2018 7:29 am

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!

User avatar
jasinswift
Posts: 1
Joined: Sat Jan 27, 2018 10:33 am
Location: USA

Re: FFMPEG with PHP

Post by jasinswift » Sat Jan 27, 2018 10:48 am

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!
The direct main step of My website in future.2018 hype!

Post Reply