Commit 0cae6d85 authored by benoit's avatar benoit

A bit more clear FAQ 1.2
Patch by Víctor Paes wzrlpy zehc arsystel com



git-svn-id: file:///var/local/repositories/ffmpeg/trunk@9167 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent ff60a6bc
...@@ -16,19 +16,21 @@ Even if ffmpeg can read the file format, it may not support all its ...@@ -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 codecs. Please consult the supported codec list in the ffmpeg
documentation. 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 @example
ffmpeg -f image2 -i img%d.jpg /tmp/a.mpg ffmpeg -f image2 -i img%d.jpg /tmp/a.mpg
@end example @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 ? @section How do I encode movie to single pictures ?
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment