New Module: NoFFMPEG
|Posted: Tue, 2010-09-14 18:29|
I've uploaded a new module, NoFFMPEG, to my github account. It can be found at:
This module overrides Gallery 3's default helpers/movie.php file with one that has been modified to work without FFMPEG present on the server, allowing users to upload video's in supported formats. Uploaded videos will be given a default thumbnail, and the video width and height will be set to 320x240.
I've uploaded test .flv videos using both the add photos menu option and the server add module, and everything appears to work file with this module turned on.
Note that users will still see the "Can't find ffmpeg on your system. Movie uploading disabled." message on the add photo's dialog, and that users will need to manually type something like "*.flv" into the Select photos dialog in order to actually see videos.
This module is not intended for servers that actually have FFMPEG installed. If FFMPEG is on the system, Gallery should continue to use ffmpeg as normal (although I haven't tested this).
I have only tested this against the current git code (as of commit 1a0d76c43e3545771ae3), so it may not work with older releases like RC-2. Also, I've only tested this on an unsupported server configuration (Windows/IIS), although I don't foresee any problems using it with linux servers.