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

Leave a Reply

Your email address will not be published. Required fields are marked *

 

This site uses Akismet to reduce spam. Learn how your comment data is processed.