[MPlayer-users] SIGSEGV on making movies from JPEG files

Mario Valle mvalle at cscs.ch
Mon Jun 13 15:55:57 CEST 2005


Run identify -verbose on your images.
If you see a line like this:  Class: PseudoClass
then run the following command for each image:
convert +page -type TrueColor $infile $outfile

I think this is the problem, or at least this happened to me...

Hope it helps
			mario


vitko wrote:
> I'm trying to create movie from still images. From mencoder man page:
> 
>    Encode all *.jpg files in the current dir:
>       mencoder "mf://*.jpg" -mf fps=25 -o output.avi -ovc lavc -lavcopts 
> vcodec=mpeg4
> 
> JPEG images to encode:
> 
>    $ ls *-640.jpg
>    img_0061-640.jpg  img_0064-640.jpg  img_0067-640.jpg  img_0070-640.jpg
>    img_0073-640.jpg  img_0076-640.jpg  img_0079-640.jpg  img_0062-640.jpg
>    img_0065-640.jpg  img_0068-640.jpg  img_0071-640.jpg  img_0074-640.jpg
>    img_0077-640.jpg  img_0080-640.jpg  img_0063-640.jpg  img_0066-640.jpg
>    img_0069-640.jpg  img_0072-640.jpg  img_0075-640.jpg  img_0078-640.jpg
> 
> My command to create movie:
> 
> mencoder "mf://*-640.jpg" -mf fps=25 -o output.avi -ovc lavc -lavcopts 
> vcodec=mpeg4
> 
> 
>    $ mencoder "mf://*-640.jpg" -mf fps=25 -o output.avi -ovc lavc 
> -lavcopts vcodec=mpeg4
>    MEncoder 1.0pre6-3.3.5 (C) 2000-2004 MPlayer Team
>    ...
>    <snip>
>    ...
>    success: format: 16  data: 0x0 - 0x0
>    [demuxer] mf support.
>    [demux_mf] file type was not set! trying 'type=jpg'...
>    [mf] search expr: *-640.jpg
>    [mf] number of files: 20 (80)
>    VIDEO:  [IJPG]  0x0  24bpp  25,000 fps    0,0 kbps ( 0,0 kbyte/s)
>    [V] filefmt:16  fourcc:0x47504A49  size:0x0  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 - 640 x 480 (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]
>    mp_image: Unknown out_fmt: 0x0ps Trem:   0min   0mb  A-V:0,000 [0:0]
> 
>    1 duplicate frame(s)!
>    ODML: Aspect information not (yet?) available or unspecified, not 
> writing vprp header.
>    mp_image: Unknown out_fmt: 0x0ps Trem:   0min   0mb  A-V:0,000 [0:0]
> 
>    1 duplicate frame(s)!
>    ODML: Aspect information not (yet?) available or unspecified, not 
> writing vprp header.
>    mp_image: Unknown out_fmt: 0x0ps Trem:   0min   0mb  A-V:0,000 [0:0]
> 
>    1 duplicate frame(s)!
>    ODML: Aspect information not (yet?) available or unspecified, not 
> writing vprp header.
>    mp_image: Unknown out_fmt: 0x0ps Trem:   0min   0mb  A-V:0,000 [0:0]
> 
>    1 duplicate frame(s)!
>    ODML: Aspect information not (yet?) available or unspecified, not 
> writing vprp header.
>    mp_image: Unknown out_fmt: 0x0ps Trem:   0min   0mb  A-V:0,000 [0:0]
> 
>    1 duplicate frame(s)!
>    ODML: Aspect information not (yet?) available or unspecified, not 
> writing vprp header.
>    mp_image: Unknown out_fmt: 0x0ps Trem:   0min   0mb  A-V:0,000 [0:0]
> 
>    1 duplicate frame(s)!
>    ODML: Aspect information not (yet?) available or unspecified, not 
> writing vprp header.
>    mp_image: Unknown out_fmt: 0x0ps Trem:   0min   0mb  A-V:0,000 [0:0]
> 
>    1 duplicate frame(s)!
>    ODML: Aspect information not (yet?) available or unspecified, not 
> writing vprp header.
>    mp_image: Unknown out_fmt: 0x0ps Trem:   0min   0mb  A-V:0,000 [0:0]
> 
>    1 duplicate frame(s)!
>    ODML: Aspect information not (yet?) available or unspecified, not 
> writing vprp header.
>    mp_image: Unknown out_fmt: 0x0ps Trem:   0min   0mb  A-V:0,000 [0:0]
> 
>    1 duplicate frame(s)!
>    ODML: Aspect information not (yet?) available or unspecified, not 
> writing vprp header.
>    mp_image: Unknown out_fmt: 0x0ps Trem:   0min   0mb  A-V:0,000 [0:0]
> 
>    1 duplicate frame(s)!
>    ODML: Aspect information not (yet?) available or unspecified, not 
> writing vprp header.
>    mp_image: Unknown out_fmt: 0x0ps Trem:   0min   0mb  A-V:0,000 [0:0]
> 
>    1 duplicate frame(s)!
>    ODML: Aspect information not (yet?) available or unspecified, not 
> writing vprp header.
>    mp_image: Unknown out_fmt: 0x0ps Trem:   0min   0mb  A-V:0,000 [0:0]
> 
>    1 duplicate frame(s)!
>    ODML: Aspect information not (yet?) available or unspecified, not 
> writing vprp header.
>    mp_image: Unknown out_fmt: 0x0ps Trem:   0min   0mb  A-V:0,000 [0:0]
> 
>    1 duplicate frame(s)!
>    ODML: Aspect information not (yet?) available or unspecified, not 
> writing vprp header.
>    mp_image: Unknown out_fmt: 0x0ps Trem:   0min   0mb  A-V:0,000 [0:0]
> 
>    1 duplicate frame(s)!
>    ODML: Aspect information not (yet?) available or unspecified, not 
> writing vprp header.
>    mp_image: Unknown out_fmt: 0x0ps Trem:   0min   0mb  A-V:0,000 [0:0]
> 
>    1 duplicate frame(s)!
>    ODML: Aspect information not (yet?) available or unspecified, not 
> writing vprp header.
>    mp_image: Unknown out_fmt: 0x0ps Trem:   0min   0mb  A-V:0,000 [0:0]
> 
>    1 duplicate frame(s)!
>    ODML: Aspect information not (yet?) available or unspecified, not 
> writing vprp header.
>    mp_image: Unknown out_fmt: 0x0ps Trem:   0min   0mb  A-V:0,000 [0:0]
> 
>    1 duplicate frame(s)!
>    ODML: Aspect information not (yet?) available or unspecified, not 
> writing vprp header.
>    mp_image: Unknown out_fmt: 0x0ps Trem:   0min   0mb  A-V:0,000 [0:0]
> 
>    1 duplicate frame(s)!
>    ODML: Aspect information not (yet?) available or unspecified, not 
> writing vprp header.
>    Pos:   0,7s     20f ( 0%)  13fps Trem:   0min   0mb  A-V:0,000 [0:0]
>    Flushing video frames
>    [NULL @ 0xb7e0b008]picture size invalid (0x0)
>    Neoprávněný přístup do paměti (SIGSEGV)
> 
> What am I doing wrong? Thanks for any tips or hints.
> 
> Vit
> 
> _______________________________________________
> MPlayer-users mailing list
> MPlayer-users at mplayerhq.hu
> http://mplayerhq.hu/mailman/listinfo/mplayer-users
> 

-- 
Ing. Mario Valle
Visualization Group                              | http://www.cscs.ch/~mvalle
Swiss National Supercomputing Centre (CSCS)      | Tel:  +41 (91) 610.82.60
v. Cantonale Galleria 2, 6928 Manno, Switzerland | Fax:  +41 (91) 610.82.82




More information about the MPlayer-users mailing list