[Ffmpeg-cvslog] r7135 - trunk/doc/ffmpeg-doc.texi

diego subversion
Mon Nov 20 19:44:34 CET 2006


Author: diego
Date: Mon Nov 20 19:44:33 2006
New Revision: 7135

Modified:
   trunk/doc/ffmpeg-doc.texi

Log:
Some notes about the order of options on the command line.
patch by V?ctor Paesa, wzrlpy arsystel com


Modified: trunk/doc/ffmpeg-doc.texi
==============================================================================
--- trunk/doc/ffmpeg-doc.texi	(original)
+++ trunk/doc/ffmpeg-doc.texi	Mon Nov 20 19:44:33 2006
@@ -139,9 +139,31 @@
 If no input file is given, audio/video grabbing is done.
 
 As a general rule, options are applied to the next specified
-file. For example, if you give the @option{-b 64k} option, it sets the video
-bitrate of the next file. The format option may be needed for raw input
-files.
+file. Therefore, order is important, and you can have the same
+option on the comman line multiple times. Each occurence is
+then applied to the next input or output file.
+
+* To set the video bitrate of the output file to 64Kbit/s:
+ at example
+ffmpeg -i input.avi -b 64k output.avi
+ at end example
+
+* To force the frame rate of the input and output file to 24 fps:
+ at example
+ffmpeg -r 24 -i input.avi output.avi
+ at end example
+
+* To force the frame rate of the output file to 24 fps:
+ at example
+ffmpeg -i input.avi -r 24 output.avi
+ at end example
+
+* To force the frame rate of input file to 1 fps and the output file to 24 fps:
+ at example
+ffmpeg -r 1 -i input.avi -r 24 output.avi
+ at end example
+
+The format option may be needed for raw input files.
 
 By default, FFmpeg tries to convert as losslessly as possible: It
 uses the same audio and video parameters for the outputs as the one




More information about the ffmpeg-cvslog mailing list