[MEncoder-users] mencoding jpeg images results in a wrong avi file

Mario Valle mvalle at cscs.ch
Wed Feb 23 15:12:23 CET 2005


It works perfectly. Tried mencoder and xine.
Here attached the script I used.
Ciao!
			mario


FX wrote:
> Hi all,
> 
> I'm trying to use mencoder to make a small movie from a few JPEG images.
> Following the doc, I use:
> 
> mencoder mf://\*.jpg -mf fps=3:type=jpg -ovc lavc -lavcopts vcodec=mpeg4 -oac
> copy -o output.avi
> 
> I obtain an avi file, which seems to have a few problems:
>   - the "file" utility identifies it as "RIFF (little-endian) data, AVI, 736 x
> 736, 3.00 fps, video: DivX 4", which is, as far as I am concerned, correct.
>   - ImageMagick segfaults when opening it
>   - mplayer can read it, but it is displayed in all-blue colors (see a
> screenshot in http://www.eleves.ens.fr/home/coudert/Screenshot_mplayer.png)
> instead of the black background of the original images
> (http://www.eleves.ens.fr/home/coudert/confout001.jpg)
>   - xine displays it with in all-green colors (but I couldn't make a screenshot)
> 
> All information can be found at http://www.eleves.ens.fr/home/coudert/:
>   - output.avi is the avi produced by mencoder
>   - mencoder-output is the standard output from mencoder
>   - confout*.jpg are two examples of the original images
> 
> Thanks for your help,
> FX
> 
> PS: please Cc me all answers as I'm no subscriber of this list
> 
> _______________________________________________
> MEncoder-users mailing list
> MEncoder-users at mplayerhq.hu
> http://mplayerhq.hu/mailman/listinfo/mencoder-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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: m.sh
Type: application/x-sh
Size: 1430 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mencoder-users/attachments/20050223/d9cacf98/attachment.sh>


More information about the MEncoder-users mailing list