Log in

View Full Version : cli batch rip


SimonSez07
23rd January 2007, 19:05
i am trying to create a batch file that can use vstrip (or any other cli ripper) to rip the "main movie" from any dvd inserted. for my purposes here, the main movie would just be the longest title on the disc. css is not an issue because i have anydvd running.

any help concerning the command line necessary would be appreciated.

thanks
- simon

blutach
24th January 2007, 02:05
Why not try RipIt4Me in movie only mode?

If that's not good, DVD Decrypter alone has some very nice CLI functions. See the readme.

Regards

setarip_old
24th January 2007, 03:53
@SimonSez07

Hi!

Since you can only place one DVD in a drive, how/why would you use a batch file?

SimonSez07
24th January 2007, 10:41
@setarip_old
this is a good question. well really it is to save some steps. my batch file will not only rip the main movie, but also create the .d2v, encode audio and video with specific settings and then multiplex. there will be a lot of dvds to do and it will be easy to just insert the dvd, launch the batch file and walk away. also, the person doing it will not have to learn how to use any software.

@blutach - thank you for your suggestions. ripit4me is not really a command line program but it may work. do you know of a way to get it to rip in "1-click mode" from command-line?

i have been working at using vstrip.exe which seems perfectly adequate for ripping from command-line, but it cannot determine which stream is the "main movie" so i will need to use another program for that and then pass it onto vstrip. handbrake looks promising as command-line app to grab stream info from dvd.

im not exactly sure how to structure the vstrip.exe command after i have determined the stream and title number so as to rip only that stream. any detailed cli info for vstrip would be great.

cheers
- simon

setarip_old
24th January 2007, 12:56
What you've described is not a batch file (and has nothing to do with batch files), it's a "one step conversion program"...

buzzqw
24th January 2007, 13:12
@SimonSez07

not always true but usually the biggest ifo is the main movie...

BHH

SimonSez07
26th January 2007, 22:29
well i have managed to figure out exactly how to do this using vstrip. the key here was to use a for /f command from batch to iterate thru each vts*.ifo file. then run vstrip.exe -i on each ifo file to get the number and duration of each title (pgc) in the file set.

i then simply have it choose the longest title and run vstrip again to rip that specific title from that specific vts set. it is working great. i even have it grab the aspect ratio and dynamically create my avs file to pass on to x264, bepipe, neroaacenc, and mp4box.

its a great free one-click solution. if anyone wants the script, let me know.

setarip_old
26th January 2007, 23:58
i then simply have it choose the longest title1) This will not yield the desired results for episodic DVDs.

2) I see nothing in what you've listed to deal with copy protection - "ARccOS" and "RipGuard" in particular

SimonSez07
27th January 2007, 03:35
@setarip_old - i know, it is not designed to work with episodic dvds, i specifically am ripping movies. as for copy protection like ARccOS/RipGuard, i have never had a problem with any of these because of anydvd.

setarip_old
27th January 2007, 05:23
An observation or two, if I may:

What you've finally clearly described as your purpose (converting/compressing to another format) has absolutely nothing to do with decrypting.

There are other sub-forums here, rather than "Decrypting", that would have been far more appropriate for you to post this in - and doing so would have caused far less confusion...