[MPlayer-users] DVD-Audio ( AOB ): 7 channels are not supported

Alex J. Ivasyuv siegerstein at pochta.ru
Thu Feb 14 01:04:01 CET 2008


Ulion пишет:
> 2008/2/9, SIEGERSTEIN <siegerstein at pochta.ru>:
>   
>> Hi all!
>>
>> I try to play DVD-Audio file ( AOB ) directly, but got follow error:
>>
>> [AO_ALSA] 7 channels are not supported.
>>
>> ====
>> $ mplayer ATS_01_1.AOB -ao alsa -channels 6 -v
>> MPlayer dev-SVN-r25962-4.1.2 (C) 2000-2008 MPlayer Team
>> CPU: Intel(R) Pentium(R) 4 CPU 3.00GHz (Family: 15, Model: 3, Stepping: 4)
>> CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
>> Compiled for x86 CPU with extensions: MMX MMX2 SSE SSE2
>> get_path('codecs.conf') -> '/home/siegerstein/.mplayer/codecs.conf'
>> Reading /home/siegerstein/.mplayer/codecs.conf: Can't open
>> '/home/siegerstein/.mplayer/codecs.conf': No such file or directory
>> Reading /usr/etc/mplayer/codecs.conf: Can't open
>> '/usr/etc/mplayer/codecs.conf': No such file or directory
>> Using built-in default codecs.conf.
>> Configuration: --prefix=/usr
>> CommandLine: 'ATS_01_1.AOB' '-ao' 'alsa' '-channels' '6' '-v'
>> init_freetype
>> get_path('font/font.desc') -> '/home/siegerstein/.mplayer/font/font.desc'
>> font: can't open file: /home/siegerstein/.mplayer/font/font.desc
>> font: can't open file: /usr/share/mplayer/font/font.desc
>> Using MMX (with tiny bit MMX2) Optimized OnScreenDisplay
>> get_path('fonts') -> '/home/siegerstein/.mplayer/fonts'
>> Using nanosleep() timing
>> get_path('input.conf') -> '/home/siegerstein/.mplayer/input.conf'
>> Can't open input config file /home/siegerstein/.mplayer/input.conf: No
>> such file or directory
>> Can't open input config file /usr/etc/mplayer/input.conf: No such file
>> or directory
>> Falling back on default (hardcoded) input config
>> Setting up LIRC support...
>> mplayer: could not connect to socket
>> mplayer: No such file or directory
>> Failed to open LIRC support. You will not be able to use your remote
>> control.
>> get_path('ATS_01_1.AOB.conf') ->
>> '/home/siegerstein/.mplayer/ATS_01_1.AOB.conf'
>>
>> Playing ATS_01_1.AOB.
>> get_path('sub/') -> '/home/siegerstein/.mplayer/sub/'
>> [file] File size is 1073739776 bytes
>> STREAM: [file] ATS_01_1.AOB
>> STREAM: Description: File
>> STREAM: Author: Albeu
>> STREAM: Comment: based on the code from ??? (probably Arpi)
>> LAVF_check: MPEG PS format
>> Checking for YUV4MPEG2
>> ASF_check: not ASF guid!
>> Checking for NuppelVideo
>> Checking for REAL
>> Checking for SMJPEG
>> Searching demuxer type for filename ATS_01_1.AOB ext: .AOB
>> Checking for Nullsoft Streaming Video
>> Checking for MOV
>> Checking for VIVO
>> header block 1 size: 0
>> AVS: avs_check_file - attempting to open file ATS_01_1.AOB
>> AVS: File is too big, aborting...
>> Checking for PVA
>> Checking for MPEG-TS...
>> TRIED UP TO POSITION 68798, FOUND 47, packet_size= 0, SEEMS A TS? 0
>> Checking for LMLM4 Stream Format
>> Invalid packet in LMLM4 stream: ch=0 size=1140851704
>> LMLM4 Stream Format not found
>> system stream synced at 0xD (13)!
>> ==> Found audio stream: 161
>>
>> Too many audio packets in the buffer: (4096 in 8224747 bytes).
>> Maybe you are playing a non-interleaved stream/file or the codec failed?
>> For AVI files, try to force non-interleaved mode with the -ni option.
>> ds_fill_buffer: EOF reached (stream: video)
>> MPEG packet stats: p100: 0  p101: 0 p1B6: 0 p12x: 0 sli: 0 a: 0 b: 0 c:
>> 0 idr: 0 sps: 0 pps: 0 PES: 0  MP3: 0, synced: 2
>> MPEG: Missing video stream!? Contact the author, it may be a bug :(
>> system stream synced at 0x80D (2061)!
>> ==> Found audio stream: 161
>>
>> Too many audio packets in the buffer: (4096 in 8224768 bytes).
>> Maybe you are playing a non-interleaved stream/file or the codec failed?
>> For AVI files, try to force non-interleaved mode with the -ni option.
>> ds_fill_buffer: EOF reached (stream: video)
>> MPEG packet stats: p100: 0  p101: 0 p1B6: 0 p12x: 0 sli: 0 a: 0 b: 0 c:
>> 0 idr: 0 sps: 0 pps: 0 PES: 1  MP3: 0, synced: 2
>> MPEG: Missing video stream!? Contact the author, it may be a bug :(
>> ==> Found video stream: 0
>> ds_fill_buffer: EOF reached (stream: video)
>> LAVF_check: MPEG PS format
>> libavformat file format detected.
>> stream_seek: WARNING! Can't seek to 0x3FFFF800 !
>> ==> Found audio stream: 0
>> [lavf] Audio stream found, -aid 0
>> ======= WAVE Format =======
>> Format Tag: 30580 (0x7774)
>> Channels: 7
>> Samplerate: 32000
>> avg byte/sec: 56000
>> Block align: 1
>> bits/sample: 16
>> cbSize: 0
>> ==========================================================================
>> LAVF: 1 audio and 0 video streams found
>> LAVF: build 3409664
>> ==========================================================================
>> Opening audio decoder: [pcm] Uncompressed PCM audio decoder
>> dec_audio: Allocating 2048 + 65536 = 67584 bytes for output buffer.
>> AUDIO: 32000 Hz, 7 ch, s16be, 448.0 kbit/12.50% (ratio: 56000->448000)
>> Selected audio codec: [pcm] afm: pcm (Uncompressed PCM)
>> ==========================================================================
>> Building audio filter chain for 32000Hz/7ch/s16be -> 0Hz/0ch/??...
>> [libaf] Adding filter dummy
>> [dummy] Was reinitialized: 32000Hz/7ch/s16be
>> [dummy] Was reinitialized: 32000Hz/7ch/s16be
>> alsa-init: requested format: 32000 Hz, 7 channels, 8
>> alsa-init: using ALSA 1.0.16rc2
>> [AO_ALSA] 7 channels are not supported.
>> alsa-init: using device default
>> alsa-init: pcm opened in blocking mode
>> alsa-init: chunksize set to 1024
>> alsa-init: fragcount=8
>> alsa-init: got buffersize=114688
>> alsa-init: got period size 1024
>> alsa: 48000 Hz/7 channels/14 bpf/114688 bytes buffer/Signed 16 bit Big
>> Endian
>> AO: [alsa] 48000Hz 7ch s16be (2 bytes per sample)
>> AO: Description: ALSA-0.9.x-1.x audio output
>> AO: Author: Alex Beregszaszi, Zsolt Barat <joy at streamminister.de>
>> AO: Comment: under developement
>> Building audio filter chain for 32000Hz/7ch/s16be -> 48000Hz/7ch/s16be...
>> [dummy] Was reinitialized: 32000Hz/7ch/s16be
>> [libaf] Adding filter lavcresample
>> [libaf] Adding filter channels
>> [channels] Changing number of channels to 6
>> [libaf] Adding filter format
>> [format] Changing sample format from big-endian 16-bit signed int to
>> little-endian 16-bit signed int
>> [format] Accelerated endianness conversion only
>> [dummy] Was reinitialized: 48000Hz/6ch/s16le
>> [libaf] Adding filter channels
>> [channels] The number of output channels must be between 1 and 6.
>> Current value is 7
>> Couldn't find matching filter/ao format!
>> Video: no video
>> Freeing 0 unused video chunks.
>> Starting playback...
>>
>>
>> MPlayer interrupted by signal 11 in module: decode_audio
>> - MPlayer crashed by bad usage of CPU/FPU/RAM.
>>    Recompile MPlayer with --enable-debug and make a 'gdb' backtrace and
>>    disassembly. Details in
>> DOCS/HTML/en/bugreports_what.html#bugreports_crash.
>> - MPlayer crashed. This shouldn't happen.
>>    It can be a bug in the MPlayer code _or_ in your drivers _or_ in your
>>    gcc version. If you think it's MPlayer's fault, please read
>>    DOCS/HTML/en/bugreports.html and follow the instructions there. We
>> can't and
>>    won't help unless you provide this information when reporting a
>> possible bug.
>> ====
>>
>> `-channels 6` do not help...
>>
>> Any ideas?
>>     
>
> it should not crash, can you upload or give the link of sample file?
>
>   
Ah, I fix it.

1. I install OSS and install MPLayer.
2. Then I switch to ALSA and not recompile MPlayer, so have this error. 
( 7 channels are not supported )
3. Then I just recompile MPlayer with ALSA installed, and problem 
resolved :)

MPlayer must be compile with current sound drivers.
I think, problem in `soundcard.h` file.

IMHO MPlayer should note users, that problem can be in sound drivers, 
when it can't switch to `n` channels support.

But little problem is still.
I hear some damage sound like noise. MPlayer didn't support AOB?

With VLC I have no problem ( when I playback from DVD ).




More information about the MPlayer-users mailing list