[vorbis-dev] DVD Audio & Vorbis

Jeffrey Bridge jbridge21 at earthling.net
Mon Jan 14 13:19:04 PST 2002



I just encountered this problem recently, and here is what I did:

A52 (commonly known as AC3) files on DVDs are 48 KHz, 5.1 channel, 16
bit. If you use a52dec from a52dec.sf.net, and tell it to decode and
output to a wav file, you will end up with a 48 KHz 2 channel 16 bit wav
file. You can then encode this to Ogg Vorbis, although it might not work
in all modes (VBR, ABR, or whatever the heck is in RC3) because of the
higher sampling rate. To get the files off of the DVD, you need the
css-auth package. The whole sequence looks something like this:

# mount /dev/dvd /dvd -t udf
# tstdvd /dev/dvd
# tstdvd /dev/dvd /dvd/VIDEO_TS/VTS_01_1.VOB
# ln -sf title-key title1-key
# css-cat -a /dvd/VIDEO_TS/VTS_01_1.VOB | extract_a52 > vts_01_1.a52
[repeat for other VOBS 01_1 through 01_5 or so]
# cat vts_01_1.a52 vts_01_2.a52 vts_01_3.a52 ... | a52dec -o wav >
dvdaudio.wav
# oggenc ...

~jeffrey :j

--- >8 ----
List archives:  http://www.xiph.org/archives/
Ogg project homepage: http://www.xiph.org/ogg/
To unsubscribe from this list, send a message to 'vorbis-dev-request at xiph.org'
containing only the word 'unsubscribe' in the body.  No subject is needed.
Unsubscribe messages sent to the list will be ignored/filtered.



More information about the Vorbis-dev mailing list