summaryrefslogtreecommitdiff
path: root/doc/ffmpeg.texi
diff options
context:
space:
mode:
authorNicolas George <nicolas.george@normalesup.org>2012-04-27 10:55:12 +0200
committerNicolas George <nicolas.george@normalesup.org>2012-05-14 21:29:58 +0200
commit9cf5bcded074cf3294ee1bd4800ec54f1a09a979 (patch)
treed78d2d330dde32cafd139680fb004e36aabd6e07 /doc/ffmpeg.texi
parent440af105f2306d3c7b3b3f4d7530bab910d49cb9 (diff)
ffmpeg: accept + prefix to -pix_fmt option to disable automatic conversions.
Diffstat (limited to 'doc/ffmpeg.texi')
-rw-r--r--doc/ffmpeg.texi8
1 files changed, 8 insertions, 0 deletions
diff --git a/doc/ffmpeg.texi b/doc/ffmpeg.texi
index 00a27373a7..6765121680 100644
--- a/doc/ffmpeg.texi
+++ b/doc/ffmpeg.texi
@@ -418,6 +418,14 @@ also sources and sinks). This is an alias for @code{-filter:v}.
@item -pix_fmt[:@var{stream_specifier}] @var{format} (@emph{input/output,per-stream})
Set pixel format. Use @code{-pix_fmts} to show all the supported
pixel formats.
+If the selected pixel format can not be selected, ffmpeg will print a
+warning and select the best pixel format supported by the encoder.
+If @var{pix_fmt} is prefixed by a @code{+}, ffmpeg will exit with an error
+if the requested pixel format can not be selected, and automatic conversions
+inside filter graphs are disabled.
+If @var{pix_fmt} is a single @code{+}, ffmpeg selects the same pixel format
+as the input (or graph output) and automatic conversions are disabled.
+
@item -sws_flags @var{flags} (@emph{input/output})
Set SwScaler flags.
@item -vdt @var{n}