[MPlayer-dev-eng] mplayer (current SVN) fails to find sound in *.bin VCD image

Bernhard Rosenkraenzer bero at arklinux.org
Fri Jul 27 19:46:15 CEST 2007


mplayer fails to find the sound track (normal mp3) in some bin/cue VCD images.
Adding -aid 0 to the command line "fixes" it, but this should probably be 
autodetected, given there is only 1 sound track.

Playing brokensound.bin.
MPEG-PS file format detected.
VIDEO:  MPEG1  352x288  (aspect 8)  25.000 fps    0.0 kbps ( 0.0 kbyte/s)
==========================================================================
Opening video decoder: [mpegpes] MPEG 1/2 Video passthrough
Opening video decoder: [libmpeg2] MPEG 1/2 Video decoder libmpeg2-v0.4.0b
Selected video codec: [mpeg12] vfm: libmpeg2 (MPEG-1 or 2 (libmpeg2))
==========================================================================
==========================================================================
Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
ADecoder init failed :(
ADecoder init failed :(
Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
Unknown/missing audio format -> no sound
ADecoder init failed :(
Opening audio decoder: [libmad] libmad mpeg audio decoder
Cannot sync MAD frame
ADecoder init failed :(
ADecoder init failed :(
Opening audio decoder: [hwmpa] MPEG audio pass-through (fake decoder)
Cannot sync MPA frame: 0
ADecoder init failed :(
ADecoder init failed :(
Cannot find codec for audio format 0x50.
Read DOCS/HTML/en/codecs.html!
Audio: no sound

The cause is apparently finding a 2nd sound track that doesn't actually exist 
(this can probably be detected by looking at its bogus specifics) -- 
mplayer -identify says

ID_VIDEO_ID=0
ID_AUDIO_ID=2
ID_AUDIO_ID=0
ID_FILENAME=test.bin
ID_DEMUXER=mpegps
ID_VIDEO_FORMAT=0x10000001
ID_VIDEO_BITRATE=0
ID_VIDEO_WIDTH=352
ID_VIDEO_HEIGHT=288
ID_VIDEO_FPS=25.000
ID_VIDEO_ASPECT=0.0000
ID_AUDIO_FORMAT=80
ID_AUDIO_BITRATE=0
ID_AUDIO_RATE=0
ID_AUDIO_NCH=0
ID_LENGTH=0.00
ID_VIDEO_CODEC=mpegpes

I've uploaded a sample file (truncated) to 
upload.mplayerhq.hu/MPlayer/incoming/brokensound.bin



More information about the MPlayer-dev-eng mailing list