aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefano Sabatini <stefasab@gmail.com>2013-01-13 15:23:15 +0100
committerStefano Sabatini <stefasab@gmail.com>2013-01-13 16:03:13 +0100
commite8bab4c6fca02c758e253b235ead49fce2b956df (patch)
tree7ddcfbb9d4f3101261d43bb554535e490cb224b2
parentdb4e0ecaf0e945a8a4688eee8307953d53e9e030 (diff)
downloadffmpeg-e8bab4c6fca02c758e253b235ead49fce2b956df.tar.gz
ffplay: extend documentation for the -vf option
In particular, make it consistent with the ffmpeg docs.
-rw-r--r--doc/ffplay.texi11
-rw-r--r--ffplay.c2
2 files changed, 9 insertions, 4 deletions
diff --git a/doc/ffplay.texi b/doc/ffplay.texi
index 0703a549e9..21b4683ae8 100644
--- a/doc/ffplay.texi
+++ b/doc/ffplay.texi
@@ -74,10 +74,15 @@ You can interactively cycle through the available show modes by
pressing the key @key{w}.
@item -vf @var{filter_graph}
+Create the filter graph specified by @var{filter_graph} and use it to
+filter the video stream.
+
@var{filter_graph} is a description of the filter graph to apply to
-the input video.
-Use the option "-filters" to show all the available filters (including
-also sources and sinks).
+the stream, and must have a single video input and a single video
+output. In the filter graph, the input is associated to the label
+@code{in}, and the output to the label @code{out}. See the
+ffmpeg-filters manual for more information about the filtergraph
+syntax.
@item -i @var{input_file}
Read @var{input_file}.
diff --git a/ffplay.c b/ffplay.c
index f300f7e567..b23cec24ee 100644
--- a/ffplay.c
+++ b/ffplay.c
@@ -3241,7 +3241,7 @@ static const OptionDef options[] = {
{ "infbuf", OPT_BOOL | OPT_EXPERT, { &infinite_buffer }, "don't limit the input buffer size (useful with realtime streams)", "" },
{ "window_title", OPT_STRING | HAS_ARG, { &window_title }, "set window title", "window title" },
#if CONFIG_AVFILTER
- { "vf", OPT_STRING | HAS_ARG, { &vfilters }, "video filters", "filter list" },
+ { "vf", OPT_STRING | HAS_ARG, { &vfilters }, "set video filters", "filter_graph" },
#endif
{ "rdftspeed", OPT_INT | HAS_ARG| OPT_AUDIO | OPT_EXPERT, { &rdftspeed }, "rdft speed", "msecs" },
{ "showmode", HAS_ARG, { .func_arg = opt_show_mode}, "select show mode (0 = video, 1 = waves, 2 = RDFT)", "mode" },