HandbrakeCLI Batch Wiki
Bash script for batch transcoding with HandbrakeCLI
Status: Beta
Brought to you by:
oscarrines
Welcome to HandbrakeCLIBatch wiki!
handbrakeCLIbatch is a bash script utilizing HandbrakeCLI to batch transcode specified source files with a specified Handbrake transcoding profile.
(Handbrake is an open source, GPL-licensed, multiplatform, multithreaded video transcoder, available for Mac OS X, Linux and Windows. Handbrake Command Line Interface HandbrakeCLI is required by this script and can be downloaded from handbrake.fr site )
This script was authored and tested on Mac OS X 10.7.3 Lion.
Download and move the script at the location of your choice (e.g. /usr/local/bin)
Usage is:
handbrakeCLIbatch [-c /path/to/HandbrakeCLI]
[-d /path/to/destination/directory]
[-p transcoding_preset]
[-f container format]
[-r]
[source]
[wildcard]
Where: [-c] optional parameter specifies the path to HandbrakeCLI. Script will
try to determine the location of HandbrakeCLI if not specified
[-d] optional parameter specifies path to destination of transcoded
files. Default value is the same as source directory.
[-p] optional parameter specifies the transcoding preset. Default value
is "iPad"
[-f] optional parameter specifies the container format and output file
extension; e.g. m4v or mp4. Default value is m4v
[-r] optional parameter traverse into subfolders within source directory
[source] optional parameter specifies the (directory) path to source
files. Default value is current directory
[wildcard] optional parameter specifies wildcard to select source
files. Default value is *.avi