diff options
author | VĂctor Paesa <wzrlpy@arsystel.com> | 2006-07-25 11:42:13 +0000 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2006-07-25 11:42:13 +0000 |
commit | ad21ad451c39e5b9d955bc5ddac32c4a60d4d5c4 (patch) | |
tree | 1aa493e5d4600ad1d2fbe9853561cb4213af1f26 | |
parent | d4b0cca737e9bd1a15765047ec1ccacbd7eacfa6 (diff) | |
download | ffmpeg-ad21ad451c39e5b9d955bc5ddac32c4a60d4d5c4.tar.gz |
Explain usage of image formats other than GIF.
patch by Victor Paesa, wzrlpy *at* arsystel com
Originally committed as revision 5824 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r-- | doc/faq.texi | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/doc/faq.texi b/doc/faq.texi index d4c3ef2edf..64b46faee4 100644 --- a/doc/faq.texi +++ b/doc/faq.texi @@ -30,6 +30,33 @@ If the JPEGs are named img1.jpg, img2.jpg, img3.jpg,..., use: The same system is used for the other image formats. +@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: +@example + ffmpeg -f image2 -i menu.png -f image2 menu.jpg +@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 +@table @option +@item -vcodec ppm +@item -vcodec png +@item -vcodec mjpeg +@end table +to force the encoding. + +Applying that to the previous example: +@example + ffmpeg -f image2 -vcodec png -i menu.png -f image2 -vcodec mjpeg menu.jpg +@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 |