(→User contributed support:)
|Line 1:||Line 1:|
= ffmpeg =
= ffmpeg =
This is more of a placeholder than the module itself.
When the FFmpeg module is active, G3 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.
The FFmpeg module depends on the ffmpeg binary.
The Gallery3:Modules:noffmpeg module might be for some users with no ability to add ffmpeg binary to their setup.
Try one of the pre-compiled ffmpeg binaries. Several available on flash your web. One that may work on 1and1 can be downloaded here
You may need to set permissions of the ffmpeg folder and all the files within to 755.
Even if the binary does not work, its presence will allow for uploads and then you may need the Gallery3:Modules:videodimensions to set the correct height/width. You will have to set this for each movie uploaded by editing the movie. You may not get thumbnails either. How to get thumbnails in this situation is not clear to this writer.
Once the ffmpeg binary is installed, G3 should auto detect its location.
You can also change the auto detected location via: Settings -> Advanced: ffmpeg_path .
This should be an absolute file path defined at WikiPedia and here, for example. This path varies with ISPs.
To find the path if you don't have shell access or similar, then drop the following PHP script onto your base web folder (commonly named phpinfo.php, but can name it whatever you want):
And then go to http://yourdomain.com/phpinfo.php or whatever you named the file.
Look for the DOCUMENT_ROOT variable, which is the file path to your home folder.
You can also view videos without ffmpeg:
Upload your movie.
Edit This Movie -> "Video Height" and "Video Width". Add appropriate numbers, for example, "480" and "640". Click "Modify".
Play your movie.
Custom thumbs can be created and used to replace the thumbnail created automatically. Manually replace the thumbnails yourself, under your gallery3/var/thumbs directory. I the future there will be a thumbnail manager module similar to G2.
- Download ffmpeg
--- Search ffmpeg.rev9133 via Google and download this.
--- Save the 3 files in a searchpath (I saved this files in c:\program files\php)
- Server-Add and Videodemensions
--- Activate module Server-Add
--- Download and activate module videodemensions
- Upload movie
--- Upload a small movie through "add photos" or upload a larger movie through the Server-add method.
--- Edit Movie and change the display size to 320x320.