[MPlayer-users] Playing AC3 from DVD (hwac3) recently broken

Marc Packenius marc at freenet-rz.de
Mon Jan 20 04:13:34 CET 2003


Hi there,

between CVS-030118-03:44-2.95.4 and this afternoon, playing AC3 using

CommandLine: '-delay' '-0.150' '-noslices' '-framedrop' '-vm' '-fbmode' 'PAL' '-cache' '16384' '-vop' 'expand=768:576,scale=768:576' '-sws' '0' '-alang' 'en,de' '-bpp' '32' '-double' '-menu' '-autosync' '100' '-ao' 'alsa9' '-ac' 'hwac3' '-vo' 'fbdev' '-fb' '/dev/fb/1' '-fixed-vo' '-aid' '128' '-v' '-dvd' '1'

got broken. Newer versions show this behaviour:

Using GNU internationalization
Original domain: messages
Original dirname: /usr/share/locale
Current domain: mplayer
Current dirname: /usr/share/locale


MPlayer CVS-030120-03:00-2.95.4 (C) 2000-2003 Arpad Gereoffy (see DOCS)

CPU: Advanced Micro Devices Athlon TB Thunderbird (Family: 6, Stepping: 4)
Detected cache-line size is 64 bytes
CPUflags:  MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 0 SSE2: 0
Compiled for x86 CPU with extensions: MMX MMX2 3DNow 3DNowEx

Reading config file /etc/mplayer/mplayer.conf
Reading config file /root/.mplayer/config
Reading /root/.mplayer/codecs.conf: can't open '/root/.mplayer/codecs.conf': Datei oder Verzeichnis nicht gefunden
Reading /etc/mplayer/codecs.conf: 49 audio & 130 video codecs
CommandLine: '-delay' '-0.150' '-noslices' '-framedrop' '-vm' '-fbmode' 'PAL' '-cache' '16384' '-vop' 'expand=768:576,scale=768:576' '-sws' '0' '-alang' 'en,de' '-bpp' '32' '-double' '-menu' '-autosync' '100' '-ao' 'alsa9' '-ac' 'hwac3' '-vo' 'fbdev' '-fb' '/dev/fb/1' '-fixed-vo' '-aid' '128' '-v' '-dvd' '1'
get_path('font/font.desc') -> '/root/.mplayer/font/font.desc'
font: can't open file: /root/.mplayer/font/font.desc
Font /usr/share/mplayer/font/font.desc loaded successfully! (206 chars)
Using MMX (with tiny bit MMX2) Optimized OnScreenDisplay
Using Linux hardware RTC timing (1024Hz).
get_path('input.conf') -> '/root/.mplayer/input.conf'
Can't open input config file /root/.mplayer/input.conf : Datei oder Verzeichnis nicht gefunden
Parsing input config file /etc/mplayer/input.conf
Input config file /etc/mplayer/input.conf parsed : 51 binds
get_path('menu.conf') -> '/root/.mplayer/menu.conf'
Menu inited: /root/.mplayer/menu.conf
get_path('DVD title 1.conf') -> '/root/.mplayer/DVD title 1.conf'

Playing DVD title 1
get_path('') -> '/root/.mplayer/'
get_path('DVDKeys') -> '/root/.mplayer/DVDKeys'
Using CSS Key-cache dir: /root/.mplayer/DVDKeys/LAURA_DISC1_GERMANY_PAL
Reading disc structure, please wait...
There are 21 titles on this DVD.
There are 51 chapters in this DVD title.
There are 2 angles in this DVD title.
DVD successfully opened.
[open] audio stream: 0 audio format: ac3 (5.1) language: en aid: 128
[open] audio stream: 1 audio format: ac3 (5.1) language: de aid: 129
[open] audio stream: 2 audio format: ac3 (stereo) language: en aid: 130
[open] number of audio channels on disk: 3.
[open] subtitle ( sid ): 0 language: en
[open] subtitle ( sid ): 1 language: de
[open] subtitle ( sid ): 2 language: de
[open] subtitle ( sid ): 3 language: en
[open] subtitle ( sid ): 4 language: en
[open] subtitle ( sid ): 5 language: de
[open] number of subtitles on disk: 6
DVD start cell: 0  pack: 0x0-0x158D  
DVD start=0 end=3269696  
CACHE_PRE_INIT: 0 [0] 0  pre:0  eof:0  

Cache fill:  0,00% (0 bytes)    
Cache fill:  3,37% (565248 bytes)    
Cache fill: 10,55% (1769472 bytes)    
Cache fill: 17,53% (2940928 bytes)    Checking for YUV4MPEG2
DEMUXER: freeing demuxer at 0x84a60c8  
ASF_check: not ASF guid!
DEMUXER: freeing demuxer at 0x84a60c8  
Checking for NuppelVideo
DEMUXER: freeing demuxer at 0x84a60c8  
Checking for REAL
DEMUXER: freeing demuxer at 0x84a60c8  
Checking for SMJPEG
DEMUXER: freeing demuxer at 0x84a60c8  
Searching demuxer type for filename DVD title 1 ext: (null)
Checking for MOV
DEMUXER: freeing demuxer at 0x84a6a68  
Checking for VIVO
header block 1 size: 0
DEMUXER: freeing demuxer at 0x84a6a68  
DEMUXER: freeing demuxer at 0x84a6a68  
DEMUXER: freeing demuxer at 0x84a6a68  
DEMUXER: freeing demuxer at 0x84a6a68  
DEMUXER: freeing demuxer at 0x84a6a68  
DEMUXER: freeing demuxer at 0x84a6a68  
Checking for PVA
DEMUXER: freeing demuxer at 0x84a6a68  
system stream synced at 0xD (0)!
==> Found video stream: 0
MPEG-PS file format detected.
==> Found subtitle: 0
==> Found subtitle: 1
==> Found subtitle: 2
==> Found subtitle: 3
==> Found subtitle: 4
==> Found subtitle: 5
==> Found subtitle: 10
==> Found subtitle: 11
==> Found subtitle: 6
==> Found subtitle: 7
==> Found subtitle: 8
==> Found subtitle: 9
==> Found audio stream: 128
Searching for sequence header... OK!
VIDEO:  MPEG2  720x576  (aspect 3)  25,00 fps  12250,0 kbps (1531,2 kbyte/s)
[V] filefmt:2  fourcc:0x10000002  size:720x576  fps:25,00  ftime:=0,0400
get_path('sub/') -> '/root/.mplayer/sub/'
==========================================================================
Forced audio codec: hwac3
Opening audio decoder: [hwac3] AC3 pass-through SP/DIF
dec_audio: Allocating 3840 bytes for input buffer
dec_audio: Allocating 6144 + 65536 = 71680 bytes for output buffer
No accelerated IMDCT transform found
AUDIO: 48000 Hz, 2 ch, 16 bit (0x400), ratio: 56000->192000 (448,0 kbit)
Selected audio codec: [hwac3] afm:hwac3 (AC3 through SPDIF)
==========================================================================
fbdev: using /dev/fb/1
Opening video filter: [expand=768:576]
Expand: 768 x 576, -1 ; -1  (-1=autodetect) osd: 0
Opening video filter: [scale=768:576]
SwScale params: 768 x 576 (-1=no scaling)
==========================================================================
Opening video decoder: [mpegpes] MPEG 1/2 Video passthrough
VDec: vo config request - 720 x 576 (preferred csp: Mpeg PES)
The selected video_out device is incompatible with this codec.
VDecoder init failed :(
Opening video decoder: [libmpeg2] MPEG 1/2 Video decoder v2.0
libmpeg2: Using MMXEXT for IDCT transform
libmpeg2: Using MMXEXT for motion compensation
VDec: vo config request - 720 x 576 (preferred csp: Planar YV12)
scale: query(BGR 32-bit) -> 3
scale: query(BGR 32-bit) -> 3
scale: query(BGR 32-bit) -> 3
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1,78:1 - prescaling to correct movie aspect.
VO Config (720x576->1024x576,flags=2,'MPlayer',0x32315659)
scale: query(BGR 32-bit) -> 3
SwScaler: reducing / aligning filtersize 2 -> 4
SwScaler: reducing / aligning filtersize 2 -> 4
SwScaler: reducing / aligning filtersize 1 -> 1
SwScaler: reducing / aligning filtersize 2 -> 2

SwScaler: FAST_BILINEAR scaler, from Planar YV12 to BGR 32-bit using MMX2
SwScaler: using FAST_BILINEAR MMX2 scaler for horizontal scaling
SwScaler: using 1-tap MMX "scaler" for vertical luminance scaling (BGR)
SwScaler:       2-tap scaler for vertical chrominance scaling (BGR)
SwScaler: using MMX YV12->BGR32 Converter
SwScaler: 720x576 -> 768x576
REQ: flags=0x407  req=0x0  
REQ: flags=0x407  req=0x0  
REQ: flags=0x7  req=0x0  
VO: [fbdev] 768x576 => 1092x576 BGR 32-bit  [vm]
VO: Description: Framebuffer Device
VO: Author: Szabolcs Berecz <szabi at inf.elte.hu>
Reading /etc/fb.modes: 40 modes
fbdev: Can't set graphics mode: Das Argument ist ungültig
fbdev: var info:
fbdev: xres: 768
fbdev: yres: 576
fbdev: xres_virtual: 768
fbdev: yres_virtual: 576
fbdev: xoffset: 0
fbdev: yoffset: 0
fbdev: bits_per_pixel: 32
fbdev: grayscale: 0
fbdev: red: 16 8 0
fbdev: green: 8 8 0
fbdev: blue: 0 8 0
fbdev: transp: 24 8 0
fbdev: nonstd: 0
fbdev: fix info:
fbdev: framebuffer size: 8388608 bytes
fbdev: type: 0
fbdev: type_aux: 0
fbdev: visual: 2
fbdev: line_length: 3072 bytes
fbdev: fb_bpp: 32
fbdev: fb_real_bpp: 24
fbdev: fb_pixel_size: 4 bytes
fbdev: other:
fbdev: in_width: 768
fbdev: in_height: 576
fbdev: out_width: 768
fbdev: out_height: 576
fbdev: first_row: 0
fbdev: last_row: 576
fbdev: pixel per line: 768
Selected video codec: [mpeg12] vfm:libmpeg2 (MPEG 1 or 2 (libmpeg2))
==========================================================================
Checking audio filter chain for 48000Hz/2ch/16bit -> 48000Hz/2ch/8bit...
[libaf] Adding filter dummy 
[dummy] Was reinitialized, rate=48000Hz, nch = 2, format = 0x00000020 and bps = 2
AF_pre: af format: 2 bps, 2 ch, 48000 hz, big endian AC3 
AF_pre: 48000Hz 2ch AC3
alsa-init: testing and bugreports are welcome.
alsa-init: requested format: 48000 Hz, 2 channels, AC3
alsa-init: compiled for ALSA-0.9.0rc3
alsa-spdif-init: playing AC3, 2 channels
alsa-init: soundcard set to iec958:AES0=0x2,AES1=0x82,AES2=0x0,AES3=0x2
alsa-init: pcm opend in block-mode
alsa-init: chunksize set to 1024
alsa-init: current val=16, fragcount=16
alsa-init: got buffersize=65536
alsa9: 48000 Hz/2 channels/4 bpf/65536 bytes buffer/Signed 16 bit Little Endian
AO: [alsa9] 48000Hz 2ch AC3 (1 bps)
AO: Description: ALSA-0.9.x audio output
AO: Author: Alex Beregszaszi <alex at naxine.org>, Joy Winter <joy at pingfm.org>
AO: Comment: under developement
Building audio filter chain for 48000Hz/2ch/16bit -> 48000Hz/2ch/8bit...
[dummy] Was reinitialized, rate=48000Hz, nch = 2, format = 0x00000020 and bps = 2
[libaf] Adding filter format 
[format] Sample format big endian AC3  not yet supported 
Couldn't find matching filter / ao format! -> NOSOUND
Uninit audio filters...
[libaf] Removing filter [*** about 80 characters of binary garbage removed]


MPlayer interrupted by signal 11 in module: uninit_acodec
- MPlayer crashed by bad usage of CPU/FPU/RAM.
  Recompile MPlayer with --enable-debug and make a 'gdb' backtrace and
  disassembly. For details, see DOCS/bugreports.html#crash.b.
- 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/bugreports.html
  and follow the instructions there. We can't and won't help unless you provide
  this information when reporting a possible bug.
uninit video: libmpeg2
DEMUXER: freeing demuxer at 0x84a6a68  
DEMUXER: freeing sh_video at 0x84a9460  
DEMUXER: freeing sh_audio at 0x84b4a88  
fbdev: uninit
alsa-uninit: pcm closed
vo: x11 uninit called but X11 not inited..

In the last version I tried, CVS-030120-03:00-2.95.4, the problem is
reproducible. rc3 is affected, too.

All versions were build with these options:

./configure --prefix=/usr --confdir=/etc/mplayer --enable-gui --enable-sdl 
  --enable-linux-devfs --enable-termcap --enable-menu --enable-vorbis 
  --enable-aa --enable-mga --enable-xmga --enable-xv --enable-fbdev 
  --language=en --disable-runtime-cpudetection --enable-debug=3

I'll happily provide backtrace, register dump and that stuff if
requested. I dare not include it now, or this report might share the
fate of <87ptqu62c1.fsf at freenet-rz.de> (the bug reported there is still
reproducible in rc3).

Thanks,
-- 
Marc Packenius @ 4P | Zentrale Seitenauslieferung, Düsseldorf

Disclaimer: This email is a closed-system, a self-referential document
containing combinations of language symbols. Any "truths" derived from
the above, or from this disclaimer, are entirely the creation of YOUR
imagination and YOUR 4th-circuit neuro-linguistic metaprograms. May you
become enlightened.



More information about the MPlayer-users mailing list