diff options
author | Clément Bœsch <clement@stupeflix.com> | 2014-07-16 16:42:42 +0200 |
---|---|---|
committer | Clément Bœsch <clement@stupeflix.com> | 2014-08-18 14:13:57 +0200 |
commit | b0352b1997a83f1b6b27919b94aab539f099b25b (patch) | |
tree | 5d7f4f64a17d8f0ec623eb101755f6e9fe036ff8 /doc/codecs.texi | |
parent | c5f43c8888400f5fab6f7d2ad27e961e8d2616a5 (diff) | |
download | ffmpeg-b0352b1997a83f1b6b27919b94aab539f099b25b.tar.gz |
avcodec: export motion vectors in frame side data on demand
The reasoning behind this addition is that various third party
applications are interested in getting some motion information out of a
video "for free" when it is available.
It was considered to export other information as well (such as the intra
information about the block, or the quantization) but the structure
might have ended up into a half full-generic, half full of codec
specific cruft. If more information is necessary, it should either be
added in the "flags" field of the AVMotionVector structure, or in
another side-data.
This commit also includes an example exporting them in a CSV stream.
Diffstat (limited to 'doc/codecs.texi')
-rw-r--r-- | doc/codecs.texi | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/doc/codecs.texi b/doc/codecs.texi index 1160e5d800..820dce51e6 100644 --- a/doc/codecs.texi +++ b/doc/codecs.texi @@ -797,6 +797,9 @@ Frame data might be split into multiple chunks. Show all frames before the first keyframe. @item skiprd Deprecated, use mpegvideo private options instead. +@item export_mvs +Export motion vectors into frame side-data (see @code{AV_FRAME_DATA_MOTION_VECTORS}) +for codecs that support it. See also @file{doc/examples/export_mvs.c}. @end table @item error @var{integer} (@emph{encoding,video}) |