[MEncoder-users] segmentaion fault while encoding jpg to avi
Matthias Schroeter
schroeter at chaos.ph.utexas.edu
Tue Mar 29 01:25:20 CEST 2005
Hay
the following problem shows up on two different machines:
Suse 9.2 MEncoder 1.0pre6-3.3.4
FC 3 MEncoder 1.0pre6-3.4.2
using:
mencoder mf://[1-2].jpg -mf w=256:h=512:fps=25:type=jpg -ovc
lavc -lavcopts vcodec=mpeg4 -oac copy -o output.avi
(adapted from
http://www.mplayerhq.hu/DOCS/HTML/en/menc-feat-enc-images.html)
mencoder exits with a segmentation fault:
schroeter at rocky:~/physik/movie> mencoder mf://1_15_1.2_000[1-2].jpg -mf
w=256:h=512:fps=25:type=jpg -ovc lavc -lavcopts vcodec=mpeg4 -oac copy -o
output.avi
MEncoder 1.0pre6-3.3.4 (C) 2000-2004 MPlayer Team
CPU: Advanced Micro Devices Athlon Thunderbird (Family: 6, Stepping: 2)
Detected cache-line size is 64 bytes
CPUflags: Type: 6 MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 0 SSE2: 0
Compiled with runtime CPU detection - WARNING - this is not optimal!
To get best performance, recompile MPlayer with
--disable-runtime-cpudetection.
File not found: 'frameno.avi'
Failed to open frameno.avi
success: format: 16 data: 0x0 - 0x0
[demuxer] mf support.
[mf] search expr: 1_15_1.2_000[1-2].jpg*
[mf] number of files: 2 (8)
VIDEO: [IJPG] 256x512 24bpp 25,000 fps 0,0 kbps ( 0,0 kbyte/s)
[V] filefmt:16 fourcc:0x47504A49 size:256x512 fps:25,00 ftime:=0,0400
Opening video filter: [expand osd=1]
Expand: -1 x -1, -1 ; -1 (-1=autodetect) osd: 1
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffmjpeg] vfm:ffmpeg (FFmpeg MJPEG decoder)
==========================================================================
Writing AVI header...
ODML: Aspect information not (yet?) available or unspecified, not writing
vprp header.
VDec: vo config request - 256 x 512 (preferred csp: Unknown)
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
The selected video_out device is incompatible with this codec.
mp_image: Unknown out_fmt: 0x0
mp_image: Unknown out_fmt: 0x0ps Trem: 0min 0mb A-V:0,000 [0:0]
Pos: 0,0s 2f ( 0%) 0fps Trem: 0min 0mb A-V:0,000 [0:0]
Flushing video frames
Speicherzugriffsfehler
The last word is german for segmenation fault. Adding more images doesn't
improve the suituation.
Many thanks for your help
Matthias
Ghandi, asked on his arrival in Europe, what he thought of Western civilisation:
"I think it would be an excellent idea."
##############################################################################
Matthias Schröter
Center for Nonlinear Dynamics
University of Texas at Austin
1 University Station C1610
Austin, Texas 78712
http://chaos.ph.utexas.edu/~schroeter/
Office: ++ 1 512 471 5926
Lab: ++ 1 512 471 6933
Fax: ++ 1 512 471 1558
##############################################################################
More information about the MEncoder-users
mailing list