-
- Downloads
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.
Showing
- .gitignore 1 addition, 0 deletions.gitignore
- configure 2 additions, 0 deletionsconfigure
- doc/APIchanges 3 additions, 0 deletionsdoc/APIchanges
- doc/Makefile 1 addition, 0 deletionsdoc/Makefile
- doc/codecs.texi 3 additions, 0 deletionsdoc/codecs.texi
- doc/examples/Makefile 1 addition, 0 deletionsdoc/examples/Makefile
- doc/examples/extract_mvs.c 185 additions, 0 deletionsdoc/examples/extract_mvs.c
- libavcodec/avcodec.h 1 addition, 0 deletionslibavcodec/avcodec.h
- libavcodec/mpegvideo.c 102 additions, 1 deletionlibavcodec/mpegvideo.c
- libavcodec/options_table.h 1 addition, 0 deletionslibavcodec/options_table.h
- libavutil/Makefile 1 addition, 0 deletionslibavutil/Makefile
- libavutil/frame.c 1 addition, 0 deletionslibavutil/frame.c
- libavutil/frame.h 7 additions, 0 deletionslibavutil/frame.h
- libavutil/motion_vector.h 50 additions, 0 deletionslibavutil/motion_vector.h
- libavutil/version.h 1 addition, 1 deletionlibavutil/version.h
Loading
Please register or sign in to comment