Stuck Ripping DVD Audio Using Command Line

Microsoft Windows specific usage questions
Forum rules
Please post only Windows specific questions in this forum category. If you don't know where to post, please read the different forums' rules. Thanks.
vbj4
New Cone
New Cone
Posts: 2
Joined: 09 Nov 2013 18:00

Stuck Ripping DVD Audio Using Command Line

Postby vbj4 » 09 Nov 2013 18:27

A family member asked if I could put some music they had on a dvd onto a disk. I thought sure no problem 5 minute thing. Well, it turned out this thing has a goofy setup, and I can't seem to figure out why VLC won't open my disk.

First the DVD Structure:
e:\ - 1950's & 1960's Rock-In-Roll
Titles 1,2,4,5,7,8,10,11 each have 99 chapters each chapter is a song.

The Code which runs in a batch file:

Code: Select all

set DVDDrive=e: set DestPrefix=C:\TEST\ set Title=1 set FirstChapter=2 set LastChapter=5 for /L %%i in (%FirstChapter%,1,%LastChapter%) do "c:\Program Files\VideoLAN\VLC\vlc.exe" -I dummy --no-sout-video --sout-audio --no-sout-rtp-sap --no-sout-standard-sap --ttl=1 --sout-keep --sout "#transcode{acodec=s16l,channels=2}:std{access=file,mux=wav,dst=%DestPrefix%_c%%i.wav}" dvdsimple://%DVDDrive%\@%Title%:%%i-%Title%:%%i
When I run this I get the same error:
libdvdread: Using libdvdcss version 1.2.13 for DVD access
libdvdread: Could not open \\e:\@2:2-2:2 with libdvdcss.
libdvdread: Can't open \\e:\@2:2-2:2 for reading
[00dfb958] dvdread demux error: DVDRead cannot open source: \\e:\@2:2-2:2
[00dfb958] main demux error: Playback failure
[00dfb958] main demux error: DVDRead could not open the disc "\\e:\@2:2-2:2".
[00e03da8] main input error: open of `dvdsimple://e:\@2:2-2:2' failed
[00e03da8] main input error: Your input can't be opened
[00e03da8] main input error: VLC is unable to open the MRL 'dvdsimple://e:\@2:2-

I have tried an assortment of different ways to open the disk
Setting the DVDDrive to E:\, E:\[the dvd title], e:\[the dvd title]\
I've tried an assortment of different chapter start and end points
I've tried changing the @ to a # as I read someplace in version 1.2 that changed

Regardless of what I do I get the same error. I suspect this is something dumb and obvious, but your input or assistance would be greatly appreciated.

Thanks,

J

vbj4
New Cone
New Cone
Posts: 2
Joined: 09 Nov 2013 18:00

Re: Stuck Ripping DVD Audio Using Command Line

Postby vbj4 » 09 Nov 2013 19:35

I fixed it!
For any future nerds that happen to find this the corrected code is as follows.

Code: Select all

set DVDDrive=e: set DestPrefix=C:\TEST\ set Title=1 set FirstChapter=1 set LastChapter=99 for /L %%i in (%FirstChapter%,1,%LastChapter%) do "c:\Program Files\VideoLAN\VLC\vlc.exe" -I dummy --no-sout-video --sout-audio --no-sout-rtp-sap --no-sout-standard-sap --ttl=1 --sout-keep --sout "#transcode{acodec=s16l,channels=2}:std{access=file,mux=wav,dst=%DestPrefix%_c%%i.wav}" dvd:///%DVDDrive%\#%Title%:%%i-%Title%:%%i vlc://quit
It was mega Lame..
I had dvdsimple:// and it should have been dvd:///
Also, the @ should be a #
Interwebs for the win.

Oh this wiki page (https://wiki.videolan.org/Extract_audio/) should be edited as this is where I found the original code. This just needs to be pasted in:
set DVDDrive=F:
set DestPrefix=\\\\Server\Qmultimedia\Music\wav_files\audio
set Title=3
set FirstChapter=1
set LastChapter=38

rem the following has line breaks for legibility. Remove them so it's all on one line.
for /L %%i in (%FirstChapter%,1,%LastChapter%) do "c:\Program Files\VideoLAN\VLC\vlc.exe"
-I dummy --no-sout-video --sout-audio --no-sout-rtp-sap --no-sout-standard-sap --ttl=1
--sout-keep --sout "#transcode{acodec=s16l,channels=2}:std{access=file,mux=wav,dst=%DestPrefix%_c%%i.wav}"
dvdsimple:///%DVDDrive%\#%Title%:%%i-%Title%:%%i vlc://quit


Your program pwns. Thanks again!

J


Return to “VLC media player for Windows Troubleshooting”

Who is online

Users browsing this forum: Bing [Bot] and 44 guests