summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorClément Bœsch <clement@stupeflix.com>2014-08-18 16:32:26 +0200
committerClément Bœsch <u@pkh.me>2014-08-24 14:35:11 +0200
commitf888331769d666fd7b9cebf7d1b6d824300978cb (patch)
tree612e293481539cab0b90dac4ed5baed76baa066c /doc
parent6dfa70f272d7ede75d45991c907dd93c50be1690 (diff)
avfilter: add codecview filter
Diffstat (limited to 'doc')
-rw-r--r--doc/codecs.texi2
-rw-r--r--doc/filters.texi36
2 files changed, 38 insertions, 0 deletions
diff --git a/doc/codecs.texi b/doc/codecs.texi
index 820dce51e6..5a1abb86cd 100644
--- a/doc/codecs.texi
+++ b/doc/codecs.texi
@@ -498,6 +498,8 @@ threading operations
@item vismv @var{integer} (@emph{decoding,video})
Visualize motion vectors (MVs).
+This option is deprecated, see the codecview filter instead.
+
Possible values:
@table @samp
@item pf
diff --git a/doc/filters.texi b/doc/filters.texi
index c16703704d..cca15fc03f 100644
--- a/doc/filters.texi
+++ b/doc/filters.texi
@@ -2805,6 +2805,42 @@ boxblur=luma_radius=min(h\,w)/10:luma_power=1:chroma_radius=min(cw\,ch)/10:chrom
@end example
@end itemize
+@section codecview
+
+Visualize information exported by some codecs.
+
+Some codecs can export information through frames using side-data or other
+means. For example, some MPEG based codecs export motion vectors through the
+@var{export_mvs} flag in the codec @option{flags2} option.
+
+The filter accepts the following option:
+
+@table @option
+@item mv
+Set motion vectors to visualize.
+
+Available flags for @var{mv} are:
+
+@table @samp
+@item pf
+forward predicted MVs of P-frames
+@item bf
+forward predicted MVs of B-frames
+@item bb
+backward predicted MVs of B-frames
+@end table
+@end table
+
+@subsection Examples
+
+@itemize
+@item
+Visualizes multi-directionals MVs from P and B-Frames using @command{ffplay}:
+@example
+ffplay -flags2 +export_mvs input.mpg -vf codecview=mv=pf+bf+bb
+@end example
+@end itemize
+
@section colorbalance
Modify intensity of primary colors (red, green and blue) of input frames.