[MPlayer-users] mplayer crashes with mencoder-mpeg2-AVI-file

Bernd Knorr bernd at knorze.de
Tue Jun 15 11:43:24 CEST 2004


Hi,

I created an AVI file (vcodec: lavc mpeg2video) with the following mencoder 
command (CVS-version of  20040614):

mencoder -oac lavc -ovc lavc -tv 
driver=v4l2:width=720:height=576:alsa:audiorate=48000 -lavcopts 
acodec=mp2:vcodec=mpeg2video:keyint=25:aspect=4/3:abitrate=128:vbitrate=10000:vmax_b_frames=2 
-vf lavcdeint -o test.avi tv://

When I to play this file with mplayer it crashes (see the output at the end of 
this mail).
The problem only occurs, if vmax_b_frames>=2.
Avidemux2 also has problems opening that file (hangs while "checking for 
B-Frames...")

If I output to mpeg-format or vmax_b_frames<2 everything is fine.

******************* MPLAYER OUTPUT *********************
Playing test.avi.
[file] File size is 7874890 bytes
STREAM: [file] test.avi
STREAM: Description: File
STREAM: Author: Albeu
STREAM: Comment: based on the code from ??? (probably Arpi)
AVI file format detected.
list_end=0x186
======= 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: 195   initial: 0
streams: 2
Suggested BufferSize: 0
Size:  720 x 576
==========================
list_end=0x120
==> Found video stream: 0
====== STREAM Header =====
Type: vids   FCC: mpg2 (3267706D)
Flags: 0
Priority: 0   Language: 0
InitialFrames: 0
Rate: 25/1 = 25,000
Start: 0   Len: 195
Suggested BufferSize: 65218
Quality 0
Sample size: 0
==========================
found 'bih', 40 bytes of 40
======= VIDEO Format ======
  biSize 40
  biWidth 720
  biHeight 576
  biPlanes 1
  biBitCount 24
  biCompression 845639789='mpg2'
  biSizeImage 1244160
===========================
======= Video Properties Header =======
Format: 0  VideoStandard: 0
VRefresh: 25  HTotal: 720  VTotal: 576
FrameAspect: 16384:13107  Framewidth: 720  Frameheight: 576
Fields: 1
  == Field 0 description ==
  CompressedBMHeight: 576  CompressedBMWidth: 720
  ValidBMHeight: 576  ValidBMWidth: 720
  ValidBMXOffset: 0  ValidBMYOffset: 0
  VideoXOffsetInT: 0  VideoYValidStartLine: 0
=======================================
list_end=0x186
==> Found audio stream: 1
====== STREAM Header =====
Type: auds   FCC: P (50)
Flags: 0
Priority: 0   Language: 0
InitialFrames: 0
Rate: 16000/384 = 41,667
Start: 0   Len: 324
Suggested BufferSize: 7680
Quality 0
Sample size: 384
==========================
found 'wf', 18 bytes of 18
======= WAVE Format =======
Format Tag: 80 (0x50)
Channels: 2
Samplerate: 48000
avg byte/sec: 16000
Block align: 384
bits/sample: 0
cbSize: 0
===========================
list_end=0x1BE
hdr=Software  size=36
Software  : MEncoder dev-CVS-040614-06:00-3.4.1
list_end=0x7808D2
Found movie at 0x100C - 0x7808D2
Reading INDEX block, 519 chunks for 195 frames (fpos=0x7808da)
AVI index offset: 0x1008 (movi=0x100C idx0=0x4 idx1=0xC)
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=7733817 (195) audio size=124416 (324)
VIDEO:  [mpg2]  720x576  24bpp  25,000 fps  7932,1 kbps (968,3 kbyte/s)
Searching for sequence header...

MPlayer interrupted by signal 11 in module: video_read_properties
- 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.
DEMUXER: freeing demuxer at 0x85cd098
vo: x11 uninit called but X11 not inited..




More information about the MPlayer-users mailing list