[MPlayer-users] Converting a52 DVD audio with mplayer

Derek Schrock dereks at lifeofadishwasher.com
Tue Mar 2 23:00:11 CET 2004


I'm having a problem trying to decode a52 audio with MPlayer  
1.0pre3-3.3. Here's what I am doing:

'mplayer -dvd-device /dev/rdisk3 -vo null -vc dummy -ac a52 -ao pcm  
-aofile dmb2.wav dvd://2'

Playing dvd://2.
Reading disc structure, please wait...
There are 4 titles on this DVD.
There are 11 chapters in this DVD title.
There are 1 angles in this DVD title.
DVD successfully opened.
LMLM4 Stream Format not found
MPEG-PS file format detected.
VIDEO:  MPEG2  720x480  (aspect 3)  29.970 fps  7000.0 kbps (875.0  
kbyte/s)
======================================================================== 
==
Forced audio codec: a52
Cannot find codec for audio format 0x10001.
Read DOCS/HTML/en/codecs.html!
======================================================================== 
==
======================================================================== 
==
Forced video codec: dummy
Cannot find codec matching selected -vo and video format 0x10000002.
Read DOCS/HTML/en/codecs.html!
======================================================================== 
==


Exiting... (End of file)

'mplayer -ac help' seems to be telling me that a52 is an available  
codec.

if I try:
'mplayer -dvd-device /dev/rdisk3 -vo null -vc dummy -ao pcm -aofile  
dmb2.wav dvd://2'

Playing dvd://2.
Reading disc structure, please wait...
There are 4 titles on this DVD.
There are 11 chapters in this DVD title.
There are 1 angles in this DVD title.
DVD successfully opened.
LMLM4 Stream Format not found
MPEG-PS file format detected.
VIDEO:  MPEG2  720x480  (aspect 3)  29.970 fps  7000.0 kbps (875.0  
kbyte/s)
======================================================================== 
==
Opening audio decoder: [dvdpcm] Uncompressed DVD/VOB LPCM audio decoder
AUDIO: 48000 Hz, 2 ch, 16 bit (0x20), ratio: 192000->192000 (1536.0  
kbit)
Selected audio codec: [dvdpcm] afm:dvdpcm (Uncompressed DVD/VOB LPCM)
======================================================================== 
==
======================================================================== 
==
Forced video codec: dummy
Cannot find codec matching selected -vo and video format 0x10000002.
Read DOCS/HTML/en/codecs.html!
======================================================================== 
==
Checking audio filter chain for 48000Hz/2ch/16bit ->  
48000Hz/2ch/16bit...
AF_pre: af format: 2 bps, 2 ch, 48000 hz, big endian signed int
AF_pre: 48000Hz 2ch Signed 16-bit (Big-Endian)
PCM: File: dmb2.wav (WAVE)
PCM: Samplerate: 48000Hz Channels: Stereo Format Signed 16-bit  
(Little-Endian)
PCM: Info: fastest dumping is achieved with -vc dummy -vo null
PCM: Info: to write WAVE files use -waveheader (default); for RAW PCM  
-nowaveheader.
AO: [pcm] 48000Hz 2ch Signed 16-bit (Little-Endian) (2 bps)
Building audio filter chain for 48000Hz/2ch/16bit ->  
48000Hz/2ch/16bit...
Video: no video
Starting playback...
.....

dmb2.wav will be nothing but hissy audio (notice mplayer is trying to  
use dvdpcm to decode the audio (it's a52 audio)

What I can do is 'mencoder -dvd-device /dev/rdisk3 dvd://2 -ovc lavc  
-oac lavc'  then 'mplayer -vo null -vc dummy -ao pcm -aofile dmb1.wav  
test.avi' to extract the audio. The only problem with this is that  
using mencoder is a pain because it takes forever on this machine to  
extract both the video and audio (I have no need for the video)'

Any idea what I can do to use mplayer to extract this audio from the  
second title of this DVD?

--
Derek Schrock
http://www.lifeofadishwasher.com




More information about the MPlayer-users mailing list