[MPlayer-users] lavf Seg Fault

Larry Reznick lreznick at idistream.com
Tue May 6 18:00:27 CEST 2008


I have been able to put previously encoded video and audio into MOV 
containers using the following syntax:

mencoder -ovc copy -oac copy input.avi -of lavf -ofps 50 -o output.mov

This has worked fine for months. Other players have been able to play them.

I typically run an SVN update every Monday. Yesterday's update seg 
faulted. I ran another update today, and it seg faulted, too. This has 
to have broken within the last week because it ran ok before my update 
on Monday.

The sample clip has no audio, so there's no trouble there. The video has 
no B-frames. Here is the verbose output if you can help. Thanks.

--Larry

$ mencoder -v -ovc copy -oac copy input.avi -of lavf -ofps 50 -o output.mov
MEncoder dev-SVN-r26677-4.1.2 (C) 2000-2008 MPlayer Team
CPU: Intel(R) Core(TM)2 CPU         T7200  @ 2.00GHz (Family: 6, Model: 
15, Stepping: 6)
CPUflags: Type: 6 MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled for x86 CPU with extensions: MMX MMX2 SSE SSE2

117 audio & 244 video codecs
Configuration: --enable-gui
init_freetype
get_path('font/font.desc') -> '/home/lreznick/.mplayer/font/font.desc'
font: can't open file: /home/lreznick/.mplayer/font/font.desc
font: can't open file: /usr/local/share/mplayer/font/font.desc
Using MMX (with tiny bit MMX2) Optimized OnScreenDisplay
[file] File size is 9946196 bytes
STREAM: [file] input.avi
STREAM: Description: File
STREAM: Author: Albeu
STREAM: Comment: based on the code from ??? (probably Arpi)
success: format: 0  data: 0x0 - 0x97c454
LAVF_check: avi format
AVI file format detected.
list_end=0xD4
======= AVI Header =======
us/frame: 20000  (fps=50.000)
max bytes/sec: 0
padding: 0
MainAVIHeader.dwFlags: (2320) HAS_INDEX IS_INTERLEAVED TRUST_CKTYPE
frames  total: 499   initial: 0
streams: 1
Suggested BufferSize: 0
Size:  1920 x 1088
==========================
list_end=0xD4
==> Found video stream: 0
[aviheader] Video stream found, -vid 0
====== STREAM Header =====
Type: vids   FCC: H264 (34363248)
Flags: 0
Priority: 0   Language: 0
InitialFrames: 0
Rate: 50/1 = 50.000
Start: 0   Len: 499
Suggested BufferSize: 114069
Quality 0
Sample size: 0
==========================
Found 'bih', 40 bytes of 40
======= VIDEO Format ======
  biSize 40
  biWidth 1920
  biHeight 1088
  biPlanes 1
  biBitCount 24
  biCompression 875967048='H264'
  biSizeImage 6266880
===========================
list_end=0x106
hdr=Software  size=30
Software  : MEncoder dev-SVN-r26673-4.1.2
list_end=0x97A51C
Found movie at 0x100C - 0x97A51C
Reading INDEX block, 499 chunks for 499 frames (fpos=9938212).
AVI index offset: 0x1008 (movi=0x100C idx0=0x4 idx1=0x1A6B6)
Auto-selected AVI video ID = 0
AVI: Searching for audio stream (id:-1)
AVI: No audio stream found -> no sound.
AVI video size=9929855 (499) audio size=0 (0)
VIDEO:  [H264]  1920x1088  24bpp  50.000 fps  7959.8 kbps (971.7 kbyte/s)
[V] filefmt:3  fourcc:0x34363248  size:1920x1088  fps:50.000  ftime:=0.0200
[file] File size is 0 bytes
STREAM: [file] output.mov
STREAM: Description: File
STREAM: Author: Albeu
STREAM: Comment: based on the code from ??? (probably Arpi)
** MUXER_LAVF 
*****************************************************************
REMEMBER: MEncoder's libavformat muxing is presently broken and can generate
INCORRECT files in the presence of B frames. Moreover, due to bugs MPlayer
will play these INCORRECT files as if nothing were wrong!
*******************************************************************************
Segmentation fault




More information about the MPlayer-users mailing list