Script to rip DVD straight to AVI: Letitrip

Audio editors, music players, video players, burning software, etc.
Message
Author
User avatar
steve_s
Posts: 1595
Joined: Mon 26 May 2008, 13:29
Location: Austin, TX, USA
Contact:

#21 Post by steve_s »

Something else to note: the one I just ran had the incorrect audio on it although, with dejan's advice, I had used -sid 0 as an option and it ripped great with subtitles except for the wrong audio.

Found this.

So, when trying to figure out which video to select, I usually run something like this:

Code: Select all

mplayer -vo x11 -dvd-device /dev/sr0 dvd://1
and change the dvd:// track number until I know I am playing the correct track. So, if "1" didn't work, then

Code: Select all

mplayer -vo x11 -dvd-device /dev/sr0 dvd://2
and so on till I get the right one (the -vo or video output mode is optional as I select that 'cause of the video card I am using right now).

Then adjust my mencoder script accordingly.

But now, I'll run something like this, per that website's suggestion, to determine the correct audio as well:

Code: Select all

mplayer -vo x11 -aid 129 -dvd-device /dev/sr0 dvd://1
then adjust the mencoder script as needed. 8)

User avatar
steve_s
Posts: 1595
Joined: Mon 26 May 2008, 13:29
Location: Austin, TX, USA
Contact:

#22 Post by steve_s »

technosaurus wrote:the thread has been deleted... don't know why or by who... maybe because it is too close to woof?

I was in the middle of a code cleanup rewrite - here is my current "unstable" version - there may be some regressions though as I have not had time to finish it
Thanks for posting this, technosaurus; I was looking for woo-ff the other day and had issues with finding it, so thanks!
What is the opposit of a fork? ... no we are not spooning!
...and that made me laugh :D

User avatar
steve_s
Posts: 1595
Joined: Mon 26 May 2008, 13:29
Location: Austin, TX, USA
Contact:

#23 Post by steve_s »

Here is the double pass mencoder script I ran yesterday. Alternate script i like:

Code: Select all

#!/bin/bash
chapter=1

mname=casa-de-mi-padre

mencoder dvd://$chapter -ovc xvid -xvidencopts pass=1 -aid 128 -sid 0 -oac copy -o /dev/null
mencoder dvd://$chapter -ovc xvid -xvidencopts pass=2:bitrate=1000 -aid 128 -sid 0 -oac mp3lame -lameopts vbr=3 -o /mnt/sda1/Movies-Video/$mname.avi


Makes a nice, clean xvid movie, sid option for subtitles if you need 'em.

Post Reply