php-av
php-av copied to clipboard
Exporting a frame to JPEG
Interesting start ! thanks. I'll have a look shortly
Will need to refactor some code as I (we) add new features
Yeah. Would be nice to provide a clean way of exposing more metadata methods of ffmpeg. The actual conversions should in my opinion be done via the ffmpeg cli tool, but I think it would be useful to have a handful of features such as this.
I've planned to add a full support of libav to PHP , so conversions & all
Hmm, ok.. Sounds interesting, but having some experiences with video encoders I find it's best to do the actual encoding using ffmpeg. This is because of the optimisations that are in place, using SIMD, graphics card, or what ever. Perhaps you'll manage to incorporate this in PHP, but my bet is that it will be slow.. :) Good luck!
Doesn't libav populate such an API ? ffmpeg should be just another wrapper over it, publishing some CLI facilities. It should all depend on how libav's got compiled, with which optimizations etc... PHP will just use it as-is, from the OS