

HandBrakeCLI.exe is /cygdrive/c/Program Files/Handbrake/HandBrakeCLI.exe PATH=$PATH:/cygdrive/c/Program\ Files/Handbrake/ i $.mp4 -f mp4 -w 1920 -crop 0:0:0:0 -loose-anamorphic -modulus 2 -e x264 -q 20 -vfr -a 1 -E av_aac -6 dpl2 -R Auto -B 160 -D 0 -gain 0 -audio-fallback ac3 -encoder-preset=veryfast -encoder-level=“4.0” -encoder-profile=main -verbose=1Īlso, add Handbrake’s installation directory to PATH in ~/.profile: The file here called ‘ opcyje’ contains all desired options which I took from HandBreak GUI log file after I processed video using the Handbreak GUI (so I have all desired options which were used before, when I run sample processing from GUI).

Here is how I did batch processing of all MTS files in whole direcotry tree using HandbreakCLI command (delivered with standard HB installation) - I run all commands in MobaXterm (cygwin) shell prompt:
