Personal tools

Gallery2:Modules:ffmpeg

From Gallery Codex

Contents

FFmpeg Module

A toolkit for processing movies

Description

When the FFmpeg module is active, G2 generates thumbnails for movies automatically. Also, it detects the dimensions of movies automatically such that no further configuration is required when using the embedded movie player for movie items.

If you have the Thumbnail Manager plugin installed, then check "Site admin" -> "Thumbnails" and ensure that you remove the default thumbnail for the video mimetypes. Failure to do this will cause the FFmpeg module to never be called to generate a thunbnail.

If G2 can't detect the location of the FFmpeg binary on your server automatically, you have to configure the module. In this case, most probably the FFmpeg binary is not available on your server. See the ffmpeg installation instructions. If you are on a shared webhosting plan, please ask your administrator / support staff whether FFmpeg is installed or if they would install it.

If you are using Mac OS X for development/test/webserver and you have Gallery2 installed on it, use the steps listed below to get and install the ffmpeg binary and to configure the ffmpeg Gallery2 module:

Set the path to the ffmpeg binary in Gallery2 (e.g., /usr/local/bin/ffmpeg)

Test the configuration which should report "Passed" and a list of supported MIME file types that the module will support

Save the configuration for the module

Activate the module

To enable the optional film reel watermark for movie thumbnails, go to "Site admin" -> "Ffmpeg" (in the "Graphics Toolkits" category) and activate the option. (not available in G 2.0, download the latest version of the ffmpeg module and / or G2)

Requested Features

- More MimeTypes support (3gp, mp4, ogg, swf etc.) All which ffmpeg2theora can support.

Bugs

Currently there are no known issues for this module.

G 2.0 had an FFmpeg bug for FFmpeg versions 0.4.9 and later. This was fixed on 2005/10/22. Get the latest version of the ffmpeg module or G2)

Notes

If the FFmpeg module is not active, you have to set the dimensions of each movie item manually in "edit movie", else you won't get the embedded movie player feature of G2 for this item.