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

Stefano Sabatini stefano.sabatini-lala at poste.it
Thu Mar 31 16:55:59 CEST 2011

On date Thursday 2011-03-31 09:51:34 +0200, Carl Eugen Hoyos encoded:
> Hi!
> Please comment, I fear the documentation should reflect actual behaviour.
> Carl Eugen

> 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.

maybe: "input stream" -> "source stream" (or source input stream)

> +If the input file has streams with different resolutions, the behaviour is undefined.

I believe that the size will be by default the same of the
corresponding input stream (according to the mapping mechanism), but I
need to verify this.

Otherwise looks fine to me, provided that you verified this is indeed
the behavior.

(Also I note that it looks weird to have a mention of ffserver in the
ffmpeg manual, maybe you could simply drop the "(ffserver default =
160x128, ffmpeg default = ...)" part.)
FFmpeg = Free & Fostering Multimedia Puritan Egregious Guru

More information about the ffmpeg-devel mailing list