aboutsummaryrefslogtreecommitdiffstats
path: root/doc/filters.texi
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2014-08-24 14:53:31 +0200
committerMichael Niedermayer <michaelni@gmx.at>2014-08-24 14:53:36 +0200
commitf155e01ab06661cbe56b7ca197785124c1f6471f (patch)
tree612e293481539cab0b90dac4ed5baed76baa066c /doc/filters.texi
parent6dfa70f272d7ede75d45991c907dd93c50be1690 (diff)
parentf888331769d666fd7b9cebf7d1b6d824300978cb (diff)
downloadffmpeg-f155e01ab06661cbe56b7ca197785124c1f6471f.tar.gz
Merge remote-tracking branch 'ubitux/codecview'
* ubitux/codecview: avfilter: add codecview filter Merged-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'doc/filters.texi')
-rw-r--r--doc/filters.texi36
1 files changed, 36 insertions, 0 deletions
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.