Page 1 of 1

Encode multiple "DVD's" Scripted..

Posted: Sat Apr 14, 2007 7:52 pm
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,
-Knobbyman

Posted: Sat Apr 14, 2007 9:17 pm
by tubbyman