[MPlayer-users] Bug Report 2 - MPlayer-0.90rc1 looping fbdev

Casey King casey.king at amd.com
Tue Dec 10 22:50:04 CET 2002


This one is just an annoyance, unlike the audio bug I just reported.

When I try to loop any movie (-loop 2), I crash after successfully playing
the first time. See below for the gdb log. The problem occurs when trying to
init_vo the 2nd time. I'm using fbdev.

-Casey

--------------

System
------
Environment: Hard Hat Linux on an Alchemy 1500 MIPS SOC

root at 163.181.32.10:~/MPlayer-0.90rc1# uname -a
Linux 163.181.32.10 2.4.17_sherman-pb1500 #2 Thu Mar 21 12:49:22 CST 2002
mips unknown

root at 163.181.32.10:~/MPlayer-0.90rc1# ls -l /lib/libc[.-]*
-rwxr-xr-x    1 root     root      2200529 May 16  2001 /lib/libc-2.2.3.so
lrwxrwxrwx    1 root     root           13 Aug 29  2001 /lib/libc.so.6 ->
libc-2.2.3.so

X - no, using fbdev

root at 163.181.32.10:~/MPlayer-0.90rc1# gcc -v
Reading specs from /usr/lib/gcc-lib/mipsel-hardhat-linux/2.95.3/specs
gcc version 2.95.3 20010315 (release/MontaVista)

root at 163.181.32.10:~/MPlayer-0.90rc1# ld -v
GNU ld version 2.10.91 (with BFD 2.10.91.0.2)

root at 163.181.32.10:~/MPlayer-0.90rc1# as --version
GNU assembler 2.10.91
Copyright 2001 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 `mipsel-hardhat-linux'.

root at 163.181.32.10:~/MPlayer-0.90rc1# lspci -vv
00:0c.0 Unknown mass storage controller: Triones Technologies, Inc. HPT366
(rev 04)
        Subsystem: Triones Technologies, Inc.: Unknown device 0001
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr-
Stepping- SERR- FastB2B-
        Status: Cap+ 66Mhz+ UDF- FastB2B- ParErr- DEVSEL=medium >TAbort-
<TAbort- <MAbort- >SERR- <PERR-
        Latency: 120 (2000ns min, 2000ns max), cache line size 08
        Interrupt: pin A routed to IRQ 1
        Region 0: I/O ports at d0001000 [size=8]
        Region 1: I/O ports at d0001008 [size=4]
        Region 2: I/O ports at d0001010 [size=8]
        Region 3: I/O ports at d0001018 [size=4]
        Region 4: I/O ports at d0001100 [size=256]
        Expansion ROM at <unassigned> [disabled] [size=128K]
        Capabilities: [60] Power Management version 2
                Flags: PMEClk- DSI+ D1- D2- AuxCurrent=0mA
PME(D0-,D1-,D2-,D3hot-,D3cold-)
                Status: D0 PME-Enable- DSel=0 DScale=0 PME-

00:0d.0 Display controller: ATI Technologies Inc Rage XL (rev 27)
        Subsystem: ATI Technologies Inc: Unknown device 8008
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr-
Stepping+ SERR- FastB2B-
        Status: Cap+ 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort-
<TAbort- <MAbort- >SERR- <PERR-
        Latency: 128 (2000ns min)
        Interrupt: pin A routed to IRQ 1
        Region 0: Memory at 80000000 (32-bit, non-prefetchable) [size=16M]
        Region 1: I/O ports at d0001200 [size=256]
        Region 2: Memory at 81000000 (32-bit, non-prefetchable) [size=4K]
        Expansion ROM at <unassigned> [disabled] [size=128K]
        Capabilities: [5c] Power Management version 2
                Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=0mA
PME(D0-,D1-,D2-,D3hot-,D3cold-)
                Status: D0 PME-Enable- DSel=0 DScale=0 PME-




root at 163.181.32.10:~/MPlayer-0.90rc1# cat /proc/cpuinfo
processor               : 0
cpu model               : Au1500 V0.0
BogoMIPS                : 395.67
wait instruction        : no
microsecond timers      : yes
extra interrupt vector  : yes
hardware watchpoint     : yes
VCED exceptions         : not available
VCEI exceptions         : not available


--- gdb output ---

(gdb) run -v -vo fbdev -nosound -loop 2
/root/TestMovies/ice_age_720_480_mpg2.mpg
The program being debugged has been started already.
Start it from the beginning? (y or n) y

Starting program: /root/MPlayer-0.90rc1/./mplayer -v -vo fbdev -nosound
-loop 2 /root/TestMovies/ice_age_720_480_mpg2.mpg
Using GNU internationalization
Original domain: messages
Original dirname: /usr/share/locale
Current domain: mplayer
Current dirname: /usr/local/share/locale


MPlayer 0.90rc1-2.95.3 (C) 2000-2002 Arpad Gereoffy (see DOCS)

Reading config file /usr/local/etc/mplayer/mplayer.conf: No such file or
directory
Reading config file /root/.mplayer/config
Reading /root/.mplayer/codecs.conf: can't open '/root/.mplayer/codecs.conf':
No such file or directory
Reading /usr/local/etc/mplayer/codecs.conf: 49 audio & 123 video codecs
CommandLine: '-v' '-vo' 'fbdev' '-nosound' '-loop' '2'
'/root/TestMovies/ice_age_720_480_mpg2.mpg'
get_path('font/font.desc') -> '/root/.mplayer/font/font.desc'
font: can't open file: /root/.mplayer/font/font.desc
font: can't open file: /usr/local/share/mplayer/font/font.desc
Using Unoptimized OnScreenDisplay
Linux RTC init error in ioctl (rtc_irqp_set 1024): Invalid argument
Try adding "echo 1024 > /proc/sys/dev/rtc/max-user-freq" to your system
startup scripts.
Using usleep() timing
get_path('input.conf') -> '/root/.mplayer/input.conf'
Can't open input config file /root/.mplayer/input.conf : No such file or
directory
Can't open input config file /usr/local/etc/mplayer/input.conf : No such
file or directory
Falling back on default (hardcoded) input config

Playing /root/TestMovies/ice_age_720_480_mpg2.mpg
Not an URL!
File size is 9407196 bytes
Checking for YUV4MPEG2
DEMUXER: freeing demuxer at 0x100b6f78
ASF_check: not ASF guid!
DEMUXER: freeing demuxer at 0x100b6f78
Checking for NuppelVideo
DEMUXER: freeing demuxer at 0x100b6f78
Checking for MOV
DEMUXER: freeing demuxer at 0x100b6f78
Checking for VIVO
header block 1 size: 0
DEMUXER: freeing demuxer at 0x100b6f78
Checking for REAL
DEMUXER: freeing demuxer at 0x100b6f78
DEMUXER: freeing demuxer at 0x100b6f78
DEMUXER: freeing demuxer at 0x100b6f78
DEMUXER: freeing demuxer at 0x100b6f78
DEMUXER: freeing demuxer at 0x100b6f78
Checking for SMJPEG
DEMUXER: freeing demuxer at 0x100b6f78
Checking for PVA
DEMUXER: freeing demuxer at 0x100bd7a0
sync_mpeg_ps: seems to be ES/PES stream...
MPEG Stream reached EOF
ds_fill_buffer: EOF reached (stream: video)
MPEG packet stats: p100: 161  p101: 161  PES: 0  MP3: 1864
Detected MPEG-ES file format!
==> Found video stream: 0
Searching for sequence header... OK!
VIDEO:  MPEG2  720x480  (aspect 2)  29.97 fps  7500.0 kbps (937.5 kbyte/s)
[V] filefmt:1  fourcc:0x10000002  size:720x480  fps:29.97  ftime:=0.0334
get_path('sub/') -> '/root/.mplayer/sub/'
fbdev: using /dev/fb0
==========================================================================
Opening video decoder: [mpegpes] MPEG 1/2 Video passthrough
VDec: vo config request - 720 x 480 (preferred csp: Mpeg PES)
Couldn't find matching colorspace - retrying with -vop scale...
Opening video filter: [scale]
SwScale params: -1 x -1 (-1=no scaling)
Sorry, selected video_out device is incompatible with this codec.
VDecoder init failed :(
Opening video decoder: [libmpeg2] MPEG 1/2 Video decoder v2.0
libmpeg2: No accelerated IDCT transform found
libmpeg2: No accelerated motion compensation found
VDec: vo config request - 720 x 480 (preferred csp: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.33:1 - prescaling to correct movie aspect.
VO Config (720x480->720x540,flags=0,'MPlayer',0x32315659)
VO: [fbdev] 720x480 => 720x540 Planar YV12
VO: Description: Framebuffer Device
VO: Author: Szabolcs Berecz <szabi at inf.elte.hu>
fbdev: Can't set graphics mode: Invalid argument
fbdev: var info:
fbdev: xres: 640
fbdev: yres: 480
fbdev: xres_virtual: 640
fbdev: yres_virtual: 480
fbdev: xoffset: 0
fbdev: yoffset: 0
fbdev: bits_per_pixel: 16
fbdev: grayscale: 0
fbdev: red: 10 5 0
fbdev: green: 5 5 0
fbdev: blue: 0 5 0
fbdev: transp: 0 0 0
fbdev: nonstd: 0
fbdev: fix info:
fbdev: framebuffer size: 8380416 bytes
fbdev: type: 0
fbdev: type_aux: 0
fbdev: visual: 4
fbdev: line_length: 1280 bytes
fbdev: fb_bpp: 15
fbdev: fb_real_bpp: 15
fbdev: fb_pixel_size: 2 bytes
fbdev: other:
fbdev: in_width: 720
fbdev: in_height: 480
fbdev: out_width: 720
fbdev: out_height: 480
fbdev: first_row: 0
fbdev: last_row: 480
fbdev: creating cmap for directcolor
fbdev: pixel per line: 640
No accelerated colorspace conversion found
Selected video codec: [mpeg12] vfm:libmpeg2 (MPEG 1 or 2 (libmpeg2))
==========================================================================
Audio: no sound!!!
Freeing 0 unused audio chunks
Start playing...
*** [vo] Allocating mp_image_t, 720x480x12bpp YUV planar, 518400 bytes
*** [vo] Allocating mp_image_t, 720x480x12bpp YUV planar, 518400 bytes
*** [vo] Allocating mp_image_t, 720x480x12bpp YUV planar, 518400 bytes
ds_fill_buffer: EOF reached (stream: video)
ds_fill_buffer: EOF reached (stream: video)
ds_fill_buffer: EOF reached (stream: video)
ds_fill_buffer: EOF reached (stream: video)
ds_fill_buffer: EOF reached (stream: video)
ds_fill_buffer: EOF reached (stream: video)
EOF code: 1    218% 67%  0.0% 0 0 0%

uninit video: libmpeg2
DEMUXER: freeing demuxer at 0x100b7c70
DEMUXER: freeing sh_video at 0x100b9330
fbdev: uninit

Playing /root/TestMovies/ice_age_720_480_mpg2.mpg
Not an URL!
File size is 9407196 bytes
Checking for YUV4MPEG2
DEMUXER: freeing demuxer at 0x100b7c70
ASF_check: not ASF guid!
DEMUXER: freeing demuxer at 0x100b7c70
Checking for NuppelVideo
DEMUXER: freeing demuxer at 0x100b7c70
Checking for MOV
DEMUXER: freeing demuxer at 0x100b7c70
Checking for VIVO
header block 1 size: 0
DEMUXER: freeing demuxer at 0x100b7c70
Checking for REAL
DEMUXER: freeing demuxer at 0x100b7c70
DEMUXER: freeing demuxer at 0x100b7c70
DEMUXER: freeing demuxer at 0x100b7c70
DEMUXER: freeing demuxer at 0x100b7c70
DEMUXER: freeing demuxer at 0x100b7c70
Checking for SMJPEG
DEMUXER: freeing demuxer at 0x100b7c70
Checking for PVA
DEMUXER: freeing demuxer at 0x100b8b20
sync_mpeg_ps: seems to be ES/PES stream...
MPEG Stream reached EOF
ds_fill_buffer: EOF reached (stream: video)
MPEG packet stats: p100: 161  p101: 161  PES: 0  MP3: 1864
Detected MPEG-ES file format!
==> Found video stream: 0
Searching for sequence header... OK!
VIDEO:  MPEG2  720x480  (aspect 2)  29.97 fps  7500.0 kbps (937.5 kbyte/s)
[V] filefmt:1  fourcc:0x10000002  size:720x480  fps:29.97  ftime:=0.0334
get_path('sub/') -> '/root/.mplayer/sub/'
==========================================================================
Opening video decoder: [mpegpes] MPEG 1/2 Video passthrough
VDec: vo config request - 720 x 480 (preferred csp: Mpeg PES)
Couldn't find matching colorspace - retrying with -vop scale...
Opening video filter: [scale]
SwScale params: -1 x -1 (-1=no scaling)
Sorry, selected video_out device is incompatible with this codec.
VDecoder init failed :(
Opening video decoder: [libmpeg2] MPEG 1/2 Video decoder v2.0
VDec: vo config request - 720 x 480 (preferred csp: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.33:1 - prescaling to correct movie aspect.
VO Config (720x480->720x540,flags=0,'MPlayer',0x32315659)
VO: [fbdev] 720x480 => 720x540 Planar YV12
VO: Description: Framebuffer Device
VO: Author: Szabolcs Berecz <szabi at inf.elte.hu>
fbdev: Can't put VSCREENINFO: Bad file descriptor
FATAL: Cannot initialize video driver!
VDecoder init failed :(
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
INFO: libavcodec init OK!
Selected video codec: [ffmpeg12] vfm:ffmpeg (FFmpeg MPEG 1/2)
==========================================================================
Audio: no sound!!!
Freeing 0 unused audio chunks
Start playing...
VDec: vo config request - 720 x 480 (preferred csp: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.33:1 - prescaling to correct movie aspect.
VO Config (720x480->720x540,flags=0,'MPlayer',0x32315659)
VO: [fbdev] 720x480 => 720x540 Planar YV12
VO: Description: Framebuffer Device
VO: Author: Szabolcs Berecz <szabi at inf.elte.hu>
fbdev: Can't put VSCREENINFO: Bad file descriptor
FATAL: Cannot initialize video driver!
init_vo failed

FATAL: Couldn't initialize video filters (-vop) or video output (-vo)!

uninit video: ffmpeg
DEMUXER: freeing demuxer at 0x100bade0
DEMUXER: freeing sh_video at 0x100bbfc0
fbdev: uninit

Program received signal SIGSEGV, Segmentation fault.
0x67fa14 in __libc_free ()
(gdb) 






More information about the MPlayer-users mailing list