[MPlayer-users] segfault with -vop tfields

Alexander Kogan jk at awp.nnov.ru
Thu Mar 13 15:41:40 CET 2003


Hi!

When I try to use tfields filter, I've got segfault.

jk at forward:/home/common/video/NewYear/1% mencoder -v ../\(2002.12.30\)a.avi -frames 200 -ovc lavc -nosound -lavcopts vcodec=mpeg4:vbitrate=2000 -fps 20 -ofps 50 -vop tfields


MEncoder dev-CVS-030313-16:51-3.2.3 (C) 2000-2003 Arpad Gereoffy (see DOCS)

CPU: Intel Celeron 2/Pentium III Coppermine,Geyserville (Family: 6, Stepping: 10)
Detected cache-line size is 32 bytes
CPUflags: Type: 6 MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 0
Reading /home/jk/.mplayer/codecs.conf: can't open '/home/jk/.mplayer/codecs.conf': No such file or directory
Reading /etc/mplayer/codecs.conf: 50 audio & 136 video codecs
File not found: 'frameno.avi'
Reading config file /home/jk/.mplayer/mencoder: No such file or directory
init_freetype
Using MMX (with tiny bit MMX2) Optimized OnScreenDisplay
Not an URL!
File size is 1409300744 bytes
success: format: 0  data: 0x0 - 0x54003908
AVI file format detected.
list_end=0x154
======= AVI Header =======
us/frame: 40000  (fps=25.000)
max bytes/sec: 0
padding: 0
MainAVIHeader.dwFlags: (272) HAS_INDEX IS_INTERLEAVED
frames  total: 9016   initial: 18
streams: 2
Suggested BufferSize: 219308
Size:  384 x 576
list_end=0xF0
==> Found video stream: 0
======= STREAM Header =======
Type: vids   FCC: MJPG (47504A4D)
Flags: 0
Priority: 0   Language: 0
InitialFrames: 0
Rate: 25/1 = 25.000
Start: 0   Len: 9016
Suggested BufferSize: 663552
Quality 10000
Sample size: 0
found 'bih', 68 bytes of 40
======= VIDEO Format ======
  biSize 68
  biWidth 384
  biHeight 576
  biPlanes 1
  biBitCount 24
  biCompression 1196444237='MJPG'
  biSizeImage 221184
===========================
list_end=0x154
==> Found audio stream: 1
======= STREAM Header =======
Type: auds   FCC:  (0)
Flags: 0
Priority: 0   Language: 0
InitialFrames: 18
Rate: 176400/4 = 44100.000
Start: 0   Len: 15904224
Suggested BufferSize: 211920
Quality 10000
Sample size: 4
found 'wf', 16 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
Broken chunk?  chunksize=960  (id=JUNK)
list_end=0x53F99D60
Found movie at 0x528 - 0x53F99D60
Reading INDEX block, 27066 chunks for 9016 frames (fpos=0x53f99d68)
AVI index offset: 0x524 (movi=0x528 idx0=0x4 idx1=0x10)
Auto-selected AVI video ID = 0
AVI_NI: No audio stream found -> no sound.
AVI video size=1344996800 (9016) audio size=0 (0)
VIDEO:  [MJPG]  384x576  24bpp  25.00 fps  29835.8 kbps (3642.1 kbyte/s)
[V] filefmt:3  fourcc:0x47504A4D  size:384x576  fps:25.00  ftime:=0.0400
input fps will be interpreted as 20.00 instead
Opening video filter: [expand=-1:-1:-1:-1:1]
Expand: -1 x -1, -1 ; -1  (-1=autodetect) osd: 1
Opening video filter: [tfields]
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
mjpeg: using external huffman table
INFO: libavcodec init OK!
Selected video codec: [ffmjpeg] vfm:ffmpeg (FFmpeg MJPEG decoder)
==========================================================================
Writing AVI header...
mjpeg comment: 'DC30'
[ffmpeg] aspect_ratio: 0.000000
VDec: vo config request - 384 x 576 (preferred csp: Planar 422P)
Trying filter chain: tfields expand lavc
VDec: using Planar YV12 as output csp (no 3)
Movie-Aspect is undefined - no prescaling applied.
VO Config (384x576->384x576,flags=0,'MPlayer',0x32315659)
REQ: flags=0x401  req=0x400
REQ: flags=0x401  req=0x0
videocodec: libavcodec (384x288 fourcc=58564944 [DIVX])
*** [tfields] Exporting mp_image_t, 384x576x12bpp YUV planar, 331776 bytes
*** [lavc] Allocating mp_image_t, 384x288x12bpp YUV planar, 165888 bytes
*** [expand] Direct Rendering mp_image_t, 384x288x12bpp YUV planar, 165888 bytes
get_path('subfont.ttf') -> '/home/jk/.mplayer/subfont.ttf'
New_Face failed. Maybe the font path is wrong.
Please supply the text font file (~/.mplayer/subfont.ttf).
subtitle font: load_sub_face failed.
zsh: segmentation fault  mencoder -v ../\(2002.12.30\)a.avi -frames 200 -ovc lavc -nosound -lavcopts
jk at forward:/home/common/video/NewYear/1%

As gdb said SEGFAULT occur in vf_list_plugins().

-- 
Alexander Kogan
Institute of Applied Physics
Russian Academy of Sciences



More information about the MPlayer-users mailing list