[MPlayer-users] Bugreport: PRE2 segfaults on mpeg2 video
Joerg Seidel
sozbir-seidel at freenet.de
Sat Oct 18 17:15:45 CEST 2003
Hello everyone,
I recorded tv with mencoder:
mencoder -endpos 60 -tv driver=v4l:norm=PAL:width=640:height=480 -oac copy
-ovc lavc -lavcopts vcodec=mpeg2video -vop crop=624:464:8:8,pp=lb -o
test.mpeg tv://
unfortunately mplayer crashes after displaying frame no. 1
mplayer -v -ao sdl -vo x11 test.mpeg
I uploaded a sample file that will crash PRE2. It's name is
"This_File_crashes_PRE2.mpeg"
Thanx for the great player,
Jörg
*********************
MPlayer 1.0pre2-2.95.3 (C) 2000-2003 MPlayer Team
CPU: Advanced Micro Devices Athlon K75 Pluto,Orion 749.0 MHz (Family: 6,
Stepping: 2)
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 /usr/local/etc/mplayer/mplayer.conf: Datei oder
Verzeichnis nicht gefunden
Reading config file /home/js/.mplayer/config
Reading /home/js/.mplayer/codecs.conf: 61 audio & 157 video codecs
CommandLine: '-v' '-ao' 'sdl' '-vo' 'x11' 'test.mpeg'
get_path('font/font.desc') -> '/home/js/.mplayer/font/font.desc'
font: can't open file: /home/js/.mplayer/font/font.desc
font: can't open file: /usr/local/share/mplayer/font/font.desc
Using MMX (with tiny bit MMX2) Optimized OnScreenDisplay
Failed to open /dev/rtc: Keine Berechtigung (mplayer should be setuid root
or /dev/rtc should be readable by the user.)
Using usleep() timing
get_path('input.conf') -> '/home/js/.mplayer/input.conf'
Can't open input config file /home/js/.mplayer/input.conf: Datei oder
Verzeichnis nicht gefunden
Can't open input config file /usr/local/etc/mplayer/input.conf: Datei oder
Verzeichnis nicht gefunden
Falling back on default (hardcoded) input config
Setting up LIRC support...
mplayer: could not connect to socket
mplayer: Verbindungsaufbau abgelehnt
Failed to open LIRC support.
You will not be able to use your remote control.
get_path('test.mpeg.conf') -> '/home/js/.mplayer/test.mpeg.conf'
Playing test.mpeg
[file] File size is 1497490 bytes
STREAM: [file] test.mpeg
STREAM: Description: File
STREAM: Author: Albeu
STREAM: Comment: based on the code from ??? (probably Arpi)
AVI file format detected.
list_end=0x13A
======= AVI Header =======
us/frame: 40000 (fps=25,000)
max bytes/sec: 0
padding: 0
MainAVIHeader.dwFlags: (2320) HAS_INDEX IS_INTERLEAVED TRUST_CKTYPE
frames total: 125 initial: 0
streams: 2
Suggested BufferSize: 0
Size: 624 x 464
==========================
list_end=0xD4
==> Found video stream: 0
====== STREAM Header =====
Type: vids FCC: (0)
Flags: 0
Priority: 0 Language: 0
InitialFrames: 0
Rate: 250000/10000 = 25,000
Start: 0 Len: 125
Suggested BufferSize: 15902
Quality 0
Sample size: 0
==========================
found 'bih', 40 bytes of 40
======= VIDEO Format ======
biSize 40
biWidth 624
biHeight 464
biPlanes 1
biBitCount 24
biCompression 845639789='mpg2'
biSizeImage 868608
===========================
list_end=0x13A
==> Found audio stream: 1
====== STREAM Header =====
Type: auds FCC: (0)
Flags: 0
Priority: 0 Language: 0
InitialFrames: 0
Rate: 176400/4 = 44100,000
Start: 0 Len: 220500
Suggested BufferSize: 88200
Quality 0
Sample size: 4
==========================
found 'wf', 18 bytes of 18
======= WAVE Format =======
Format Tag: 1 (0x1)
Channels: 2
Samplerate: 44100
avg byte/sec: 176400
Block align: 4
bits/sample: 16
cbSize: 0
===========================
list_end=0x166
hdr=Software size=24
Software : MEncoder 1.0pre2-2.95.3
Broken chunk? chunksize=1682 (id=JUNK)
list_end=0x16D11A
Found movie at 0x80C - 0x16D11A
Reading INDEX block, 135 chunks for 125 frames (fpos=0x16d122)
AVI index offset: 0x808 (movi=0x80C idx0=0x4 idx1=0x2264)
Auto-selected AVI video ID = 0
Auto-selected AVI audio ID = 1
AVI: Searching for audio stream (id:1)
XXX initial v_pts=0,000 a_pos=0 (0,000)
AVI video size=610125 (125) audio size=882000 (220500)
VIDEO: [mpg2] 624x464 24bpp 25,000 fps 976,2 kbps (119,2 kbyte/s)
Searching for sequence header... OK!
VIDEO: MPEG2 624x464 (aspect 1) 25,000 fps 976,2 kbps (122,0 kbyte/s)
[V] filefmt:3 fourcc:0x10000002 size:624x464 fps:25,00 ftime:=0,0400
Clip info:
Software: MEncoder 1.0pre2-2.95.3
get_path('sub/') -> '/home/js/.mplayer/sub/'
get_path('default.sub') -> '/home/js/.mplayer/default.sub'
==========================================================================
Opening audio decoder: [pcm] Uncompressed PCM audio decoder
dec_audio: Allocating 2048 + 65536 = 67584 bytes for output buffer
AUDIO: 44100 Hz, 2 ch, 16 bit (0x10), ratio: 176400->176400 (1411,2 kbit)
Selected audio codec: [pcm] afm:pcm (Uncompressed PCM)
==========================================================================
X11 opening display: :0.0
vo: X11 color mask: FFFFFF (R:FF0000 G:FF00 B:FF)
vo: X11 running at 1280x1024 with depth 24 and 32 bpp (":0.0" => local
display)
[x11] Detected wm supports NetWM.
[x11] Detected wm supports FULLSCREEN state.
[x11] Detected wm supports STAYS_ON_TOP state.
[x11] Current fstype setting honours FULLSCREEN STAYS_ON_TOP X atoms
Disabling DPMS
DPMSDisable stat: 1
==========================================================================
Opening video decoder: [mpegpes] MPEG 1/2 Video passthrough
VDec: vo config request - 624 x 464 (preferred csp: Mpeg PES)
Trying filter chain: vo
Could not find matching colorspace - retrying with -vop scale...
Opening video filter: [scale]
SwScale params: -1 x -1 (-1=no scaling)
Trying filter chain: scale vo
The selected video_out device is incompatible with this codec.
VDecoder init failed :(
Opening video decoder: [libmpeg2] MPEG 1/2 Video decoder libmpeg2-v0.3.1
Selected video codec: [mpeg12] vfm:libmpeg2 (MPEG 1 or 2 (libmpeg2))
==========================================================================
Checking audio filter chain for 44100Hz/2ch/16bit -> 44100Hz/2ch/16bit...
[libaf] Adding filter dummy
[dummy] Was reinitialized, rate=44100Hz, nch = 2, format = 0x00000001 and bps
= 2
AF_pre: af format: 2 bps, 2 ch, 44100 hz, little endian signed int
AF_pre: 44100Hz 2ch Signed 16-bit (Little-Endian)
SDL: Samplerate: 44100Hz Channels: Stereo Format Signed 16-bit (Little-Endian)
SDL: buf size = 4096
AO: [sdl] 44100Hz 2ch Signed 16-bit (Little-Endian) (2 bps)
AO: Description: SDLlib audio output
AO: Author: Felix Buenemann <atmosfear at users.sourceforge.net>
Building audio filter chain for 44100Hz/2ch/16bit -> 44100Hz/2ch/16bit...
[dummy] Was reinitialized, rate=44100Hz, nch = 2, format = 0x00000001 and bps
= 2
[dummy] Was reinitialized, rate=44100Hz, nch = 2, format = 0x00000001 and bps
= 2
Starting playback...
VDec: vo config request - 624 x 464 (preferred csp: Planar YV12)
Trying filter chain: vo
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is undefined - no prescaling applied.
VO Config (624x464->624x464,flags=1,'MPlayer',0x32315659)
VO: [x11] 624x464 => 624x464 Planar YV12 [fs]
VO: Description: X11 ( XImage/Shm )
VO: Author: Aaron Holtzman <aholtzma at ess.engr.uvic.ca>
[x11] NET style stay on top (layer 1). Using state _NET_WM_STATE_STAYS_ON_TOP.
Sharing memory.
SwScaler: using unscaled Planar YV12 -> BGR 32-bit special converter
*** [vo] Allocating mp_image_t, 624x464x12bpp YUV planar, 434304 bytes
*** [vo] Allocating mp_image_t, 624x464x12bpp YUV planar, 434304 bytes%
A: 0,2 V: 0,1 A-V: 0,089 ct: 0,012 4/ 4 0% 0% 0,0% 0 0 0%
MPlayer interrupted by signal 11 in module: decode_video
- 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/en/bugreports.html#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/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.
Uninit audio filters...
[libaf] Removing filter dummy
uninit audio: pcm
uninit video: libmpeg2
DEMUXER: freeing demuxer at 0x8510060
Successfully enabled DPMS
SDL: Audio Subsystem shutting down!
vo: uninit ...
More information about the MPlayer-users
mailing list