Contents |
Allows you to upload videos and transcode into various resolutions for high and low bandwidth visitors.
This module runs ffmpeg and will transcode uploaded videos into pre-determined video height resolutions. Widths are detected automatically to maintain aspect ratio. When a visitor views the page for the video, they'll be given a default video resolution with an option to select a different resolution if they are unable to stream a higher resolution version. Useful for down-converting HD videos to a lower resolution for lower bandwidth visitors.
This module may be downloaded from my website here. Note: I will no longer be updating gallery3-contrib git repository, as it's just easier for me to maintain one repository of all my code on my website.
To install, extract the "transcode" folder from the zip file into your Gallery 3 modules folder.
Afterwards log into your Gallery web site as an administrator and activate the module in the Admin -> Modules menu.
Configure the module: Settings -> Video Transcoding page. You will be able to select which resolutions to transcode into when videos are uploaded, and also a custom path to ffmpeg if the module is either; a) unable to determine ffmpeg's location, or b) you have a custom compilation somewhere else other than the system's default installation. Save, and upload a video. Enjoy.
11th Nov 2010 : Version 10 : Bitrate tweaks and fix to audio bitrate channel detection and calculation)
3rd Nov 2010 : Version 9 : Final stable release. Fixed issues with crashing due to ffmpeg not detecting/recognising the input file's audio codec.
1st Nov 2010 : Version 8 : Bug fixes, thanks to netprince for the patch, and diverselab, jhend60, shecter and mamouneyya for help getting this working
30th Oct 2010 : Version 7 : Fixed issues providing an ffmpeg path and not saving correctly when no audio codecs are in the select list to begin with.
28th Oct 2010 : Version 6 : Fixed a bug that makes ffmpeg fall over if the input video’s audio sample resolution is not supported by ADPCM. It now fixes the sample rate to one of 11025 kHz, 22050 kHz or 44100 kHz (whichever is the next lower than the input sample rate).
25th Oct 2010 : Version 5 : This version actually starts working on servers other than my own!
10th Oct 2010 : Version 3 : Removed dependency on ffprobe, improved audio codec detection.
8th Oct 2010 : Version 2 : Removed dependency on php5-ffmpeg extension, refined audio codec selection list, add support for ffprobe to detect input video's parameters.
7th Oct 2010 : Version 1 : Initial Release