[FFmpeg-devel] [PATCH]Try to improve -s size documentation

Carl Eugen Hoyos cehoyos at ag.or.at
Thu Mar 31 09:51:34 CEST 2011


Please comment, I fear the documentation should reflect actual behaviour.

Carl Eugen
-------------- next part --------------
diff --git a/doc/ffmpeg.texi b/doc/ffmpeg.texi
index af9d6ba..51dfab7 100644
--- a/doc/ffmpeg.texi
+++ b/doc/ffmpeg.texi
@@ -169,6 +169,9 @@ Set the number of video frames to record.
 Set frame rate (Hz value, fraction or abbreviation), (default = 25).
 @item -s @var{size}
 Set frame size. The format is @samp{wxh} (ffserver default = 160x128, ffmpeg default = same as source).
+There is no default for input streams,
+for output streams it is set by default to the size of the input stream.
+If the input file has streams with different resolutions, the behaviour is undefined.
 The following abbreviations are recognized:
 @table @samp
 @item sqcif

More information about the ffmpeg-devel mailing list