Friday, December 7, 2007

Mplayer: Cannot find codec for audio format 0x56444152

I experienced this problem when playing VCD using command line: $mplayer -zoom -vo x11 -framedrop vcd://1 and it will output this:
Opening audio decoder: [libdv] Raw DV Audio Decoder
Unknown/missing audio format -> no sound
ADecoder init failed :(
Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
Cannot find codec 'dvaudio' in libavcodec...
ADecoder init failed :(
ADecoder init failed :(
Cannot find codec for audio format 0x56444152.
Read DOCS/HTML/en/codecs.html!
Audio: no sound
Starting playback...
V: 0.0 0/ 0 ??% ??% ??,?% 0 0
Exiting... (End of file)
This could be resolved in two ways:

1. $mplayer -vo x11 -zoom -framedrop vcd://n
where 'n' is the track or chapter (it should be 2 or greater).
-vo x11 is the video output since I'm using vesa driver
-zoom is the scaling of video so I could watch in fullscreen
-framedrop so the video and audio syncs.

2. $mplayer -gui -zoom -vo x11 vcd://n
where 'n' is the track or chapter
-gui the mplayer playback controls will show

This will play the VCD and an gnome-screensaver-control error will show. Ignore the error by clicking ok then right-click on mplayer screen select Open->Play VCD. enjoy! :)

No comments: