Re: [MEncoder-users] PNG to AVI : Error while decoding frame…

Top Page

Reply to this message
Author: MEncoder usage discussions
Date:  
To: MEncoder usage discussions
Subject: Re: [MEncoder-users] PNG to AVI : Error while decoding frame!
The movie looks OK using mplayer pre7.
But one thing that cause the effect you experienced is ImageMagick. You have Q16
installed, so is mandatory to use -depth 8 option for convert when converting images for
mplayer.
Hope it helps
            mario


Gilles Quemener wrote:
> Hello,
>
> Thanks a lot for your answers, I have tested them, but without any
> success :
>
> At http://lpscwww.in2p3.fr/UCN/PNG you may find some files related to
> this problem :
>
> - img_png.tar.gz containing all my png images taken from a POVRAY
> sample page
> - img_jpg.tar.gz containing some of the above png images converted
> into jpg using
> "convert" from ImageMagick
> - sortie.avi obtained from the jpg images using the
> following command :
> /ucn/quemener/local/MPlayer-1.0pre8/bin/mencoder "mf://*.jpg" -mf
> fps=25:type=jpg -ovc lavc -lavcopts vcodec=mpeg4 -of avi -o sortie.avi
>
> It looks upside down and very bad when l play it with MPlayer ! Any
> hints are more than welcome !
> Thanks,
>
> Gilles
>
>
> Mario Valle wrote:
>
>> Gilles Quemener wrote:
>>
>>> Hello,
>>>
>>> In order to make some small animations from PNG files created with
>>> Pov-Ray,
>>> I have just installed MPlayer/Mencoder on my Linux system. But when I
>>> tried
>>> to type the following command line, I get some error messages like
>>> "Error
>>> while decoding frame!" (see output below) and I do know how to solve
>>> it, therefore, I would really
>>> appreciate if someone could help me.
>>> Thanks a lot,
>>>
>>> Gilles
>>>
>>> /ucn/quemener/local/MPlayer-1.0pre8/example_gq<345 >../bin/mencoder
>>> "mf://*.png" -mf fps=25:type=png -ovc lavc -lavcopts vcodec=mpeg4 -of
>>> avi -o sortie.avi
>>> MEncoder 1.0pre8-3.2.3 (C) 2000-2006 MPlayer Team
>>> CPU: Intel(R) Pentium(R) 4 CPU 3.20GHz (Family: 15,
>>> Model: 4, Stepping: 3)
>>> CPUflags: Type: 15 MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
>>> Compiled for x86 CPU with extensions: MMX MMX2 SSE SSE2
>>>
>>> success: format: 16 data: 0x0 - 0x0
>>> [mf] search expr: *.png
>>> [mf] number of files: 70 (280)
>>> VIDEO: [MPNG] 0x0 24bpp 25.000 fps 0.0 kbps ( 0.0 kbyte/s)
>>> [V] filefmt:16 fourcc:0x474E504D size:0x0 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: [ffpng] vfm: ffmpeg (FFmpeg PNG decoder)
>>> ==========================================================================
>>>
>>> Error while decoding frame!
>>> Error while decoding frame!0.00fps Trem: 0min 0mb A-V:0.000 [0:0]
>>> Error while decoding frame!0.00fps Trem: 0min 0mb A-V:0.000 [0:0]
>>>
>>> 1 duplicate frame(s)!
>>> 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.
>>> Error while decoding frame!0.00fps Trem: 0min 0mb A-V:0.000 [0:0]
>>>
>>> 1 duplicate frame(s)!
>>> Writing header...
>>>
>>> _______________________________________________
>>> MEncoder-users mailing list
>>> MEncoder-users@???
>>> http://lists.mplayerhq.hu/mailman/listinfo/mencoder-users
>>
>> In the past there were problems with some PNG file. Try converting
>> the images to jpeg and see if they work.
>> Ciao!
>> mario
>>
>
> _______________________________________________
> MEncoder-users mailing list
> MEncoder-users@???
> http://lists.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
_______________________________________________
MEncoder-users mailing list
MEncoder-users@???
http://lists.mplayerhq.hu/mailman/listinfo/mencoder-users