[MPlayer-advusers] sig11 with hardwareframedrop and mpeg12 codec

Marco Graf grafmar at ee.ethz.ch
Sun Nov 20 17:12:49 CET 2005


Hi Folks,

Found a sig11 if enabling hardwareframedrop. It's built with the actual
cvs-source:
MPlayer dev-CVS-051120-15:28-4.0.2 (C) 2000-2005 MPlayer Team
CPU: Sun Sparc

If executing the following command mplayer exit's with sig11:
mplayer -v -hardframedrop -vo x11 bud.mpeg

Probably it's a ffmpeg bug

If you need the vid:
http://graf.nine.ch/~grafmar/bugreport_vids/bud.mpeg

--8<--
(gdb) run -v -hardframedrop -vo x11 bud.mpeg
Starting program: /usr/local/stow/mplayer_cvs20051120/bin/mplayer -v
-hardframedrop -vo x11
bud.mpeg
[Thread debugging using libthread_db enabled]
[New Thread 16384 (LWP 14436)]
Using GNU internationalization
Original domain: messages
Original dirname: /usr/share/locale
Current domain: mplayer
Current dirname: /usr/local/stow/mplayer_cvs20051120/share/locale

MPlayer dev-CVS-051120-15:28-4.0.2 (C) 2000-2005 MPlayer Team
CPU: Sun Sparc

CommandLine: '-v' '-hardframedrop' '-vo' 'x11' 'bud.mpeg'
init_freetype
get_path('font/font.desc') -> '/home/grafmar/.mplayer/font/font.desc'
font: can't open file: /home/grafmar/.mplayer/font/font.desc
font: can't open file:
/usr/local/stow/mplayer_cvs20051120/share/mplayer/font/font.desc
Using Unoptimized OnScreenDisplay
Using nanosleep() timing
get_path('input.conf') -> '/home/grafmar/.mplayer/input.conf'
Can't open input config file /home/grafmar/.mplayer/input.conf: No such
file or directory
Can't open input config file
/usr/local/stow/mplayer_cvs20051120/etc/mplayer/input.conf: No
such file or directory
Falling back on default (hardcoded) input config
get_path('bud.mpeg.conf') -> '/home/grafmar/.mplayer/bud.mpeg.conf'
Playing bud.mpeg.
get_path('sub/') -> '/home/grafmar/.mplayer/sub/'
[file] File size is 2605340 bytes
STREAM: [file] bud.mpeg
STREAM: Description: File
STREAM: Author: Albeu
STREAM: Comment: based on the code from ??? (probably Arpi)
Checking for YUV4MPEG2
ASF_check: not ASF guid!
Checking for NuppelVideo
Checking for REAL
Checking for SMJPEG
Searching demuxer type for filename bud.mpeg ext: .mpeg
Checking for Nullsoft Streaming Video
Checking for MOV
Checking for VIVO
Checking for PVA
Checking for MPEG-TS...
TRIED UP TO POSITION 70694, FOUND 47, packet_size= 0, SEEMS A TS? 0
Checking for LMLM4 Stream Format
Invalid packet in LMLM4 stream: ch=2697 size=2067812130
LMLM4 Stream Format not found
system stream synced at 0x0 (144)!
==> Found video stream: 0
==> Found audio stream: 0
MPEG Stream reached EOF
ds_fill_buffer: EOF reached (stream: video)
MPEG-PS file format detected.
Searching for sequence header... OK!
VIDEO:  MPEG1  320x240  (aspect 8)  25.000 fps  563.2 kbps (70.4 kbyte/s)
[V] filefmt:2  fourcc:0x10000001  size:320x240  fps:25.00  ftime:=0.0400
get_path('sub/') -> '/home/grafmar/.mplayer/sub/'
get_path('default.sub') -> '/home/grafmar/.mplayer/default.sub'
==========================================================================
Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
dec_audio: Allocating 4608 + 65536 = 70144 bytes for output buffer.
mp3lib: using generic C decore!
MP3lib: init layer2&3 finished, tables done
^MMPEG 1.0, Layer II, 44100 Hz 96 kbit Stereo, BPF: 313
Channels: 2, copyright: No, original: No, CRC: Yes, emphasis: 0
AUDIO: 44100 Hz, 2 ch, s16be, 96.0 kbit/6.80% (ratio: 12000->176400)
Selected audio codec: [mp3] afm: mp3lib (mp3lib MPEG layer-2, layer-3)
==========================================================================
X11 opening display: :0.0
vo: X11 color mask:  FFFFFF  (R:FF0000 G:FF00 B:FF)
vo: X11 running at 1152x864 with depth 24 and 32 bpp (":0.0" => local
display)
[x11] Detected wm supports layers.
[x11] Detected wm supports NetWM.
[x11] Detected wm supports FULLSCREEN state.
[x11] Detected wm supports ABOVE state.
[x11] Detected wm supports BELOW state.
[x11] Current fstype setting honours LAYER FULLSCREEN ABOVE BELOW X atoms
==========================================================================
Opening video decoder: [mpegpes] MPEG 1/2 Video passthrough
VDec: vo config request - 320 x 240 (preferred colorspace: Mpeg PES)
Trying filter chain: vo
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
SwScale params: -1 x -1 (-1=no scaling)
Trying filter chain: scale vo
VDecoder init failed :(
Opening video decoder: [libmpeg2] MPEG 1/2 Video decoder libmpeg2-v0.4.0b
Selected video codec: [mpeg12] vfm: libmpeg2 (MPEG-1 or 2 (libmpeg2))
==========================================================================
Building audio filter chain for 44100Hz/2ch/s16be -> 0Hz/0ch/s8...
[libaf] Adding filter dummy
[dummy] Was reinitialized: 44100Hz/2ch/s16be
[dummy] Was reinitialized: 44100Hz/2ch/s16be
ao2: 44100 Hz  2 chans  s16be
audio_setup: using '/dev/dsp' dsp device
audio_setup: using '/dev/mixer' mixer device
audio_setup: using 'pcm' mixer device
audio_setup: sample format: s16be (requested: s16be)
audio_setup: using 2 channels (requested: 2)
audio_setup: using 44100 Hz samplerate (requested: 44100)
audio_setup: frags:   8/8  (8192 bytes/frag)  free:  65536
AO: [oss] 44100Hz 2ch s16be (2 bytes per sample)
AO: Description: OSS/ioctl audio output
AO: Author: A'rpi
Building audio filter chain for 44100Hz/2ch/s16be -> 44100Hz/2ch/s16be...
[dummy] Was reinitialized: 44100Hz/2ch/s16be
[dummy] Was reinitialized: 44100Hz/2ch/s16be
Starting playback...
VDec: vo config request - 320 x 240 (preferred colorspace: Planar YV12)
Trying filter chain: vo
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.33:1 - prescaling to correct movie aspect.
VO Config (320x240->320x240,flags=0,'MPlayer',0x32315659)
VO: [x11] 320x240 => 320x240 Planar YV12
VO: Description: X11 ( XImage/Shm )
VO: Author: Aaron Holtzman <aholtzma at ess.engr.uvic.ca>
Sharing memory.
SwScaler: using unscaled Planar YV12 -> BGRA special converter
*** [vo] Allocating mp_image_t, 320x240x12bpp YUV planar, 115200 bytes
A:   0.9 V:   0.0 A-V:  0.821 ct:  0.000   1/  1 ??% ??% ??,?% 0 0

^MA:   0.9 V:   0.5 A-V:  0.411 ct:  0.004   2/  2 ??% ??% ??,?% 1 0

  ^MA:   0.9 V:   0.5 A-V:  0.372 ct:  0.008   3/  3 ??% ??% ??,?% 2 0

    ^MA:   0.9 V:   0.6 A-V:  0.332 ct:  0.012   4/  4 ??% ??% ??,?% 3 0

      ^MA:   0.9 V:   0.6 A-V:  0.292 ct:  0.016   5/  5 ??% ??% ??,?% 4
0
        ^M*** [vo] Allocating mp_image_t, 320x240x12bpp YUV planar,
115200 bytes

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 16384 (LWP 14436)]
0x00376584 in mpeg2_set_buf (mpeg2dec=0x5a5100, buf=0x5ca808,
id=0x5ca7e8) at decode.c:359
359         if (mpeg2dec->custom_fbuf && !mpeg2dec->fbuf[1]->buf[0]){
(gdb) bt
#0  0x00376584 in mpeg2_set_buf (mpeg2dec=0x5a5100, buf=0x5ca808,
id=0x5ca7e8)
    at decode.c:359
#1  0x00070c5c in decode (sh=0x58b3b8, data=0x71254008, len=) at
vd_libmpeg2.c:193
#2  0x0006e9a0 in decode_video (sh_video=0x58b3b8, start=0x71254008 "",
in_size=1956,
    drop_frame=0) at dec_video.c:316
#3  0x0001d3dc in main (argc=) at mplayer.c:2650
(gdb) quit
-->8--



debian:
#> cat /etc/debian_version
testing/unstable



#> uname -a
Linux lisa 2.6.14.2-mga051119 #1 Sat Nov 19 09:06:42 CET 2005 sparc64
GNU/Linux



#> ls -l /lib/libc[.-]*
-rwxr-xr-x  1 root root 1199100 Aug 30 15:36 /lib/libc-2.3.5.so
lrwxrwxrwx  1 root root      13 Oct 23 13:15 /lib/libc.so.6 -> libc-2.3.5.so



#> X -version

X Window System Version 6.8.2 (Debian (non-modularized) 6.8.2.dfsg.1-7
20050913083358 root at vore.debian.org)
Release Date: 9 February 2005
X Protocol Version 11, Revision 0, Release 6.8.2
Build Operating System: Linux 2.4.26 sparc [ELF]
Current Operating System: Linux lisa 2.6.14.2-mga051119 #1 Sat Nov 19
09:06:42 CET 2005 sparc64
Build Date: 13 September 2005
        Before reporting problems, check http://wiki.X.Org
        to make sure that you have the latest version.
OS Kernel: Linux version 2.6.14.2-mga051119 (root at lisa) (gcc version
4.0.2 (Debian 4.0.2-2)) #1 Sat Nov 19 09:06:42 CET 2005



#> gcc -v
Using built-in specs.
Target: sparc-linux-gnu
Configured with: ../src/configure -v
--enable-languages=c,c++,java,f95,objc,ada,treelang --prefix=/usr
--enable-shared --with-system-zlib --libexecdir=/usr/lib
--without-included-gettext --enable-threads=posix --enable-nls
--program-suffix=-4.0 --enable-__cxa_atexit
--enable-libstdcxx-allocator=mt --enable-clocale=gnu
--enable-libstdcxx-debug --enable-java-gc=boehm --enable-java-awt=gtk
--enable-gtk-cairo
--with-java-home=/usr/lib/jvm/java-1.4.2-gcj-4.0-1.4.2.0/jre
--enable-mpfr --disable-werror --with-cpu=v7 --enable-checking=release
sparc-linux-gnu
Thread model: posix
gcc version 4.0.2 (Debian 4.0.2-2)



#> ld -v
GNU ld version 2.16.1 Debian GNU/Linux



#> as --version
GNU assembler 2.16.1 Debian GNU/Linux
Copyright 2005 Free Software Foundation, Inc.
This program is free software; you may redistribute it under the terms of
the GNU General Public License.  This program has absolutely no warranty.
This assembler was configured for a target of `sparc-linux-gnu'.



regards
  mga
-- 
_______________________________________________________________________
   ___  ___   ___    _____
  / __\/__ \ / __/_ /___  \     Marco Graf  marco.graf at schweiz.org
 / / / / / // /_/ / / _   /  Heldaustr. 18  http://redirect.to/mga
/_/ /_/ / / \__/ / /___/_/   9470 Buchs SG  ICQ: 23012328
            /___/	    +41-81-7565109  mobile: +41-78-6030045




More information about the MPlayer-advusers mailing list