On 20 Jan., 19:07, Deine Mutter <[email protected]> wrote: > okay the answer is clear, it needs ffmpeg extension. > this is stupid for the following reasons: if ffmpeg is compiled with > libswscale, the image extraction method of ffmpeg-php (ffmpeg.so) is > not available (as written somewhere in the respective google group). > starting at one of the newer releases of ffmpeg, the option to compile > ffmpeg without libswcale is not available anymore (that is just my own > humble experience). > > thus i suggest to write an adapter for ffmpeg w/o the use of ffmpeg- > php extension, i.e. with direct command line execution (basically not > that difficult). being a linux novice this might be a naive suggestion > since probably it opens up massive security holes. would be nice if > someone here would have an opinion on that! > > thx
Yo Alter, You're correct the Media Plugin's ffmpeg adapter needs the ffmpeg php extension which I also found to compile/install is very hard (or "impossible" with my current setup). Since the extension itself does only support reading meta data from the files is also by times useless when it comes to actual manipulation of the videos. Because I can't run the tests for it and the reasons I've given above the adapter is going to be deprecated and removed later from version 1.3 of the plugin. I see an adapter using - as you've suggested - the ffmpeg binary directly as the solution to a new ffmpeg video adapter. But due to the lack of resources (and just because I personally I'm not in the need of one) I won't provide an implementation of it. If you're up to writing a working adapter for ffmpeg possibly supporting just a subset of the tons of ffmpeg's features and switches for the beginning, I'd be glad to merge it into the plugin. Anyway, thank you for putting that topic up for discussion, - David
Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions. You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
