ffmpeg work with PHP

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
User avatar
moiseszaragoza
Forum Commoner
Posts: 87
Joined: Sun Oct 03, 2004 4:04 pm
Location: Ft lauderdale
Contact:

ffmpeg work with PHP

Post by moiseszaragoza »

i need to comvert mov, avi, and other video files to FLV on the fly. i hear that FFMPG does it but i cant find how it works

does any 1 know how does ffmpeg work with PHP

or have any samples file?

Thanks
User avatar
Chris Corbyn
Breakbeat Nuttzer
Posts: 13098
Joined: Wed Mar 24, 2004 7:57 am
Location: Melbourne, Australia

Re: ffmpeg work with PHP

Post by Chris Corbyn »

Unless somebody has written a ffmpeg extension for PHP, I imagine you just need to execute it with system calls via exec(). The ffmpeg man page is very thorough, but it can be a bit daunting to read the sheer amount of information there.
Post Reply