[MPlayer-users] mencoder bug segmentation fault when encoding 2 pictures to avi
Justin Piszcz
jpiszcz at lucidpixels.com
Fri Oct 5 23:22:24 CEST 2007
Distribution: Debian Etch (32bit)
Package: ii mencoder 1:1.0-rc1svn20070903-0.0 MPlayer's Movie Encoder
# multimedia repository
deb http://www.debian-multimedia.org/ testing main
Just for the heck of it I ran the same command on an x86_64 box too, same
problem (See the last item in the e-mail)
$ cat list.txt
000001-040-038.jpg
000001-042-040.jpg
$ mencoder mf://@list.txt -mf w=800:h=600:fps=25:type=jpg -ovc lavc
-lavcopts vcodec=mpeg4:mbd=2:trell -oac copy -o output.avi
MEncoder dev-SVN-rUNKNOWN-4.2.1 (C) 2000-2007 MPlayer Team
CPU: Intel(R) Pentium(R) 4 CPU 3.40GHz (Family: 15, Model: 3, Stepping: 4)
CPUflags: Type: 15 MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled with runtime CPU detection.
success: format: 16 data: 0x0 - 0x0
MF file format detected.
[mf] number of files: 2
VIDEO: [IJPG] 800x600 24bpp 25.000 fps 0.0 kbps ( 0.0 kbyte/s)
[V] filefmt:16 fourcc:0x47504A49 size:800x600 fps:25.00 ftime:=0.0400
Opening video filter: [expand osd=1]
Expand: -1 x -1, -1 ; -1, osd: 1, aspect: 0.000000, round: 1
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffmjpeg] vfm: ffmpeg (FFmpeg MJPEG decoder)
==========================================================================
VDec: vo config request - 398 x 670 (preferred colorspace: Planar Y800)
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
VDec: using Planar Y800 as output csp (no 8)
Movie-Aspect is 0.59:1 - prescaling to correct movie aspect.
[swscaler @ 0x8819690]SwScaler: using unscaled gray8 -> yuv420p special
converter
videocodec: libavcodec (398x670 fourcc=34504d46 [FMP4])
[VE_LAVC] High quality encoding selected (non-realtime)!
Segmentation fault (core dumped)
$ file `cat list.txt `
000001-040-038.jpg: JPEG image data, JFIF standard 1.01
000001-042-040.jpg: JPEG image data, JFIF standard 1.01
------
What is wrong with mencoder?
------
When I use pictures taken from a camera, it works fine.
Looks like mplayer cannot handle certain pictures?
$ mencoder mf://@list.txt -mf w=800:h=600:fps=25:type=jpg -ovc lavc
-lavcopts vcodec=mpeg4:mbd=2:trell -oac copy -o output.avi
MEncoder dev-SVN-rUNKNOWN-4.2.1 (C) 2000-2007 MPlayer Team
CPU: Intel(R) Pentium(R) 4 CPU 3.40GHz (Family: 15, Model: 3, Stepping: 4)
CPUflags: Type: 15 MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled with runtime CPU detection.
success: format: 16 data: 0x0 - 0x0
MF file format detected.
[mf] number of files: 2
VIDEO: [IJPG] 800x600 24bpp 25.000 fps 0.0 kbps ( 0.0 kbyte/s)
[V] filefmt:16 fourcc:0x47504A49 size:800x600 fps:25.00 ftime:=0.0400
Opening video filter: [expand osd=1]
Expand: -1 x -1, -1 ; -1, osd: 1, aspect: 0.000000, round: 1
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffmjpeg] vfm: ffmpeg (FFmpeg MJPEG decoder)
==========================================================================
VDec: vo config request - 1704 x 2272 (preferred colorspace: Planar YV12)
VDec: using Planar YV12 as output csp (no 3)
Movie-Aspect is 0.75:1 - prescaling to correct movie aspect.
videocodec: libavcodec (1704x2272 fourcc=34504d46 [FMP4])
[VE_LAVC] High quality encoding selected (non-realtime)!
New_Face failed. Maybe the font path is wrong.
Please supply the text font file (~/.mplayer/subfont.ttf).
subtitle font: load_sub_face failed.
Writing header...
ODML: Aspect information not (yet?) available or unspecified, not writing
vprp header.
Writing header...
ODML: Aspect information not (yet?) available or unspecified, not writing
vprp header.
Pos: 0.1s 2f (100%) 0.00fps Trem: 0min 0mb A-V:0.000 [0:0]
Flushing video frames.
Writing index...
Writing header...
ODML: Aspect information not (yet?) available or unspecified, not writing
vprp header.
Video stream: 53809.300 kbit/s (6726162 B/s) size: 538093 bytes 0.080
secs 2 frames
64 bit test:
$ mencoder mf://@list.txt -mf w=800:h=600:fps=25:type=jpg \
> -ovc lavc -lavcopts vcodec=mpeg4:mbd=2:trell -oac copy -o output.avi
MEncoder dev-SVN-rUNKNOWN-4.2.1 (C) 2000-2007 MPlayer Team
CPU: Intel(R) Core(TM)2 Quad CPU @ 2.40GHz (Family: 6, Model:
15, Step
ping: 7)
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
This codecs.conf is too old and incompatible with this MPlayer release! at
line
6
success: format: 16 data: 0x0 - 0x0
MF file format detected.
[mf] number of files: 2
VIDEO: [IJPG] 800x600 24bpp 25.000 fps 0.0 kbps ( 0.0 kbyte/s)
[V] filefmt:16 fourcc:0x47504A49 size:800x600 fps:25.00 ftime:=0.0400
Opening video filter: [expand osd=1]
Expand: -1 x -1, -1 ; -1, osd: 1, aspect: 0.000000, round: 1
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffmjpeg] vfm: ffmpeg (FFmpeg MJPEG decoder)
==========================================================================
VDec: vo config request - 398 x 670 (preferred colorspace: Planar Y800)
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
VDec: using Planar Y800 as output csp (no 8)
Movie-Aspect is 0.59:1 - prescaling to correct movie aspect.
[swscaler @ 0xd87cf0]SwScaler: using unscaled gray8 -> yuv420p special
converter
videocodec: libavcodec (398x670 fourcc=34504d46 [FMP4])
[VE_LAVC] High quality encoding selected (non-realtime)!
Segmentation fault (core dumped)
More information about the MPlayer-users
mailing list