How to extract AC3 audio from a DVD on Windows

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.
NeuNeuRolf
Blank Cone
Blank Cone
Posts: 14
Joined: 26 Dec 2019 09:00

How to extract AC3 audio from a DVD on Windows

Postby NeuNeuRolf » 26 Dec 2019 12:09

Sorry to bother you all, but I'm new to vlc and would like on Windows 10 to extract the audio from a DVD.

I found out how to do that while converting into wav :
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=$NN.wav}" dvdsimple:///D\:#3:${NN}-3:${NN} vlc://quit
I can convert that to mp3 afterwards, so that's basically what I want.

Now I don't really need to convert because my music player can play ac3, which is the original audio format of a DVD, or so I've been told. When I try to get that directly like this :
/vlc.exe -I dummy --no-sout-video --sout-audio --no-sout-rtp-sap --no-sout-standard-sap --ttl=1 --sout-keep --sout '#std{access=file,mux=raw,dst=1.ac3}' :no-sout-all dvdsimple:///D\:#3:1-3:1 vlc://quit
Then I get a file of about the right size, but the audio is scrambled.

Any ideas, tips, hints would be highly appreciated !

NeuNeuRolf
Blank Cone
Blank Cone
Posts: 14
Joined: 26 Dec 2019 09:00

Re: How to extract AC3 audio from a DVD on Windows

Postby NeuNeuRolf » 26 Dec 2019 12:23

The DVD that I work with actually has got three Audio streams : the first two are described as A52 Audio (aka AC3) (a52), the third as DTS Audio (dts)

NeuNeuRolf
Blank Cone
Blank Cone
Posts: 14
Joined: 26 Dec 2019 09:00

Re: How to extract AC3 audio from a DVD on Windows

Postby NeuNeuRolf » 26 Dec 2019 13:58

Ok, thanks to
https://forum.videolan.org/viewtopic.php?t=139862
https://forum.videolan.org/viewtopic.php?f=14&t=135250&p=447359&hilit=audio+track#p447359
I found the solution : --no-sout-all

NeuNeuRolf
Blank Cone
Blank Cone
Posts: 14
Joined: 26 Dec 2019 09:00

Re: How to extract AC3 audio from a DVD on Windows

Postby NeuNeuRolf » 26 Dec 2019 14:19

for NN in 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
do
/cygdrive/c/Program\ Files\ \(x86\)/VideoLAN/VLC/vlc.exe -I dummy --no-sout-video --sout-audio --no-sout-rtp-sap --no-sout-standard-sap --no-sout-all --ttl=1 --sout-keep --sout "#std{access=file,mux=raw,dst=$NN.ac3}" dvdsimple:///D\:#3:$NN-3:$NN vlc://quit
done


Return to “VLC media player for Windows Troubleshooting”

Who is online

Users browsing this forum: No registered users and 41 guests