diff options
author | Víctor Paesa <wzrlpy@arsystel.com> | 2007-06-01 12:03:33 +0000 |
---|---|---|
committer | Benoit Fouet <benoit.fouet@free.fr> | 2007-06-01 12:03:33 +0000 |
commit | 1fee8b3a8c53f33b5943e29eb4f86de05562eca4 (patch) | |
tree | edfb91b93f88c3cd1c8c8dd4fae6d0cd20a10b12 | |
parent | 0fa9a5ddc73eef121695c5116507f8751e3300b3 (diff) | |
download | ffmpeg-1fee8b3a8c53f33b5943e29eb4f86de05562eca4.tar.gz |
A bit more clear FAQ 1.2
Patch by Víctor Paesa, wzrlpy arsystel com
Originally committed as revision 9167 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r-- | doc/faq.texi | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/doc/faq.texi b/doc/faq.texi index 73e45e99f2..118979a6b4 100644 --- a/doc/faq.texi +++ b/doc/faq.texi @@ -16,19 +16,21 @@ Even if ffmpeg can read the file format, it may not support all its codecs. Please consult the supported codec list in the ffmpeg documentation. -@section How do I encode JPEGs to another format ? +@section How do I encode single pictures to movies ? -If the JPEGs are named img1.jpg, img2.jpg, img3.jpg,..., use: +First, rename your pictures to follow a numerical sequence. +For example, img1.jpg, img2.jpg, img3.jpg,... +Then you may run: @example ffmpeg -f image2 -i img%d.jpg /tmp/a.mpg @end example -@samp{%d} is replaced by the image number. +Notice that @samp{%d} is replaced by the image number. -@file{img%03d.jpg} generates @file{img001.jpg}, @file{img002.jpg}, etc... +@file{img%03d.jpg} means the sequence @file{img001.jpg}, @file{img002.jpg}, etc... -The same system is used for the other image formats. +The same logic is used for any image format that ffmpeg reads. @section How do I encode movie to single pictures ? |