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

Justin Piszcz jpiszcz at lucidpixels.com
Sat Oct 6 10:12:44 CEST 2007



On Fri, 5 Oct 2007, Giacomo Comes wrote:

> 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
> _______________________________________________
> MPlayer-users mailing list
> MPlayer-users at mplayerhq.hu
> http://lists.mplayerhq.hu/mailman/listinfo/mplayer-users
>

Same problem with that as well.

$ mencoder mf://@list.txt -mf w=800:h=600:fps=25:type=jpg     -ovc lavc 
-vc ijpg -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
==========================================================================
Forced video codec: ijpg
Opening video decoder: [ijpg] JPEG Images decoder
Selected video codec: [ijpg] vfm: ijpg (Independent JPEG Group's codec)
==========================================================================
Sorry, unsupported JPEG colorspace: 32.
Sorry, unsupported JPEG colorspace: 32.m:   0min   0mb  A-V:0.000 [0:0]
Pos:   0.0s      2f (100%)  0.00fps Trem:   0min   0mb  A-V:0.000 [0:0]
Flushing video frames.
Filters have not been configured! Empty file?
Writing index...
Writing header...
ODML: Aspect information not (yet?) available or unspecified, not writing 
vprp header.

Video stream:      nan kbit/s  (-2147483648 B/s)  size: 0 bytes  0.000 
secs  2 frames
Segmentation fault (core dumped)




More information about the MPlayer-users mailing list