Page 1 of 1

CLI Commads

Posted: Wed Mar 28, 2007 5:08 pm
by jondercik
Hello,

I am new to using Handbrake and I am trying to automate the process using hbcli.exe. I would like to know the correct command line parameters to pass in a script to encode a media file to avi using the mp4 encoder. I do not care about filtering out any chapters. The DVD has been ripped to the hard drive by DVD shrink.

Jim

Posted: Wed Mar 28, 2007 5:10 pm
by s55
run hbcli --help

Posted: Wed Mar 28, 2007 5:26 pm
by jondercik
I have done that and I must be doing something wrong. The command line I am using is:

-v -C 2 -i """ & movieDir & """ -o """ & outPutFileName & """"

Jim

Posted: Wed Mar 28, 2007 5:50 pm
by jondercik
ooh found it. If you use the generate query button, it will tell you the command line it is going to use.

Nice

Posted: Wed Mar 28, 2007 5:51 pm
by s55
"C:\Program Files\Handbrake\hbcli.exe" -i "d:\video_ts" -o "C:\VideoOutput.mp4" -e x264 -E faac --crop 0:0:0:0 -B 128 -R 48000 -C 1

This is an example of using it.


If your not sure, use the Query Editor Tab on the windows GUI, It will show you the command to use.

Posted: Wed Mar 28, 2007 5:53 pm
by jondercik
thank you