[FFmpeg-user] ffmpeg linux & windows

Nicolas George nicolas.george at normalesup.org
Sat Dec 15 10:15:23 CET 2012


Le quintidi 25 frimaire, an CCXXI, S Kilian a écrit :
> ffmpeg -f image2 -i out%04d.png -vcodec libx264 out.mp
> 
> I think "image2" is only for jpeg files.

That is wrong, image2 is for any kind of format that must be stored in
individual files. That includes most image formats; PNG is one of them.

> Also if you are forcing the input format type with the "-f", you generally
> need to specify all the paramaters (pix format, video size, etc...).

That is also wrong, only parameters that can not be read from the input need
to be specified. PNG fully specify pixel format, resolution, etc. The only
missing information is the frame rate; ffmpeg defaults to 25.

> > Date: Thu, 13 Dec 2012 21:54:09 +0100
> > From: philippe.torgue at laposte.net
> > To: ffmpeg-user at ffmpeg.org
> > Subject: Re: [FFmpeg-user] ffmpeg linux & windows

Please remember not to top-post on this mailing-list.

Regards,

-- 
  Nicolas GEorge
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-user/attachments/20121215/5712ecdb/attachment.asc>


More information about the ffmpeg-user mailing list