Encode multiple "DVD's" Scripted..

Discussion of the HandBrake command line interface (CLI)
Forum rules
An Activity Log is required for support requests. Please read How-to get an activity log? for details on how and why this should be provided.
Post Reply
Posts: 17
Joined: Fri Mar 16, 2007 6:33 pm

Encode multiple "DVD's" Scripted..

Post by Knobbyman »

OK what I have setup now is that I'm using a differen't program to decode my DVD's and then save them to my hard drive.

*Layout of my HD*

-Decrypted DVD Files are stored here until I can encode them
/To Be Encoded/<movie title>/MainMovie/<DVD Title (as assigned by the recording company)>/DVD VIDEO/VIDEO_TS

-Encoded movies are stored here for use
/videos/<Name of Movie>.mp4

What I would like to do is create a script that will automatically encode all movies in the "to be encoded" directory and save them to the "videos" directory.

I can use the following command to actually encode them but could someone help me with the variable assigning and other functions that are needed to make this more automated?

./MediaForkCLI -i "/video/To Be Encoded/Sniper/MainMovie/DVD VIDEO/VIDEO_TS" -o "/Sniper.mp4" -e ffmpeg -E faac --crop 0:0:0:0 -b 2000 -2 -B 192 -R 48000 -C 1

Thank You,

Posts: 42
Joined: Mon Apr 09, 2007 3:39 am

Post by tubbyman »

Post Reply