[MPlayer-users] mencoder bug segmentation fault when encoding 2 pictures to avi

Giacomo Comes comes at naic.edu
Sat Oct 6 05:29:35 CEST 2007


On Fri, Oct 05, 2007 at 05:22:24PM -0400, Justin Piszcz wrote:
> 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?

Try adding -vc ijpg. Does it help?

Giacomo



More information about the MPlayer-users mailing list