[Ffmpeg-cvslog] r5824 - trunk/doc/faq.texi

diego subversion
Tue Jul 25 13:42:14 CEST 2006


Author: diego
Date: Tue Jul 25 13:42:13 2006
New Revision: 5824

Modified:
   trunk/doc/faq.texi

Log:
Explain usage of image formats other than GIF.
patch by Victor Paesa, wzrlpy *at* arsystel com


Modified: trunk/doc/faq.texi
==============================================================================
--- trunk/doc/faq.texi	(original)
+++ trunk/doc/faq.texi	Tue Jul 25 13:42:13 2006
@@ -30,6 +30,33 @@
 
 The same system is used for the other image formats.
 
+ at section Only GIF is listed by -format. Is that the only accepted image format?
+
+No, there are more; they are listed among the video codecs:
+  jpeg, png, ppm, pbm, pam, pgm.
+
+For example:
+ at example
+  ffmpeg -f image2 -i menu.png -f image2 menu.jpg
+ at end example
+
+The @file{menu.png} used as input will be converted to @file{menu.jpg}.
+
+Instead of relying on file format self-recognition, you may also use
+ at table @option
+ at item -vcodec ppm
+ at item -vcodec png
+ at item -vcodec mjpeg
+ at end table
+to force the encoding.
+
+Applying that to the previous example:
+ at example
+  ffmpeg -f image2 -vcodec png -i menu.png -f image2 -vcodec mjpeg menu.jpg
+ at end example
+
+Beware that there is no "jpeg" codec. Use "mjpeg" instead.
+
 @section FFmpeg does not support codec XXX. Can you include a Windows DLL loader to support it ?
 
 No. FFmpeg only supports open source codecs. Windows DLLs are not




More information about the ffmpeg-cvslog mailing list