Page 1 of 1

ffmpeg work with PHP

Posted: Fri Dec 05, 2008 11:56 pm
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

Re: ffmpeg work with PHP

Posted: Sat Dec 06, 2008 2:24 am
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.