HandBrake CLI with subtitles example
$ cat handbrake.sh #/bin/bash /Applications/HandBrakeCLI -i $1 -o ${1%\.*}.m4v –preset=”AppleTV 3″ –srt-file=”${1%\.*}.eng.srt,${1%\.*}.cht.srt” –srt-lang=”eng,zho” –srt-codeset=”ISO-8859-1,UTF-8″ Reference : https://trac.handbrake.fr/wiki/CLIGuide, HandBrake CLI Downloads