ffmpeg/doc/examples
Clément Bœsch b0352b1997 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.
2014-08-18 14:13:57 +02:00
..
avio_reading.c examples/avio_reading: fix null dereference on error 2014-04-06 00:39:58 +02:00
decoding_encoding.c fix various typos 2014-06-03 10:58:19 -08:00
demuxing_decoding.c doc: fix typo 2014-03-07 17:07:37 -05:00
extract_mvs.c avcodec: export motion vectors in frame side data on demand 2014-08-18 14:13:57 +02:00
filter_audio.c Merge commit '6a928293dd29c7f0dcf09107980a1d651c9957df' 2014-08-03 19:18:25 +02:00
filtering_audio.c doc/examples: remove pathes from doxy examples 2014-02-17 13:50:53 +01:00
filtering_video.c doc/examples: remove pathes from doxy examples 2014-02-17 13:50:53 +01:00
Makefile avcodec: export motion vectors in frame side data on demand 2014-08-18 14:13:57 +02:00
metadata.c doc/examples: remove pathes from doxy examples 2014-02-17 13:50:53 +01:00
muxing.c doc/examples/muxing: fix "-flags" option 2014-07-27 19:58:47 +02:00
README doc/examples/README: fix typo 2013-12-02 14:35:39 +01:00
remuxing.c doc/examples/remuxing: dont use the input codec_tag, it may be invalid tor the output 2014-03-05 16:10:06 +01:00
resampling_audio.c doc/examples/resampling_audio: use av_freep() for saftey 2014-06-29 16:26:38 +02:00
scaling_video.c doc/examples: remove pathes from doxy examples 2014-02-17 13:50:53 +01:00
transcode_aac.c transcode_aac: fix const return value 2014-08-06 04:01:19 +02:00
transcoding.c transcoding: fix Doxygen file path 2014-07-07 13:15:32 +02:00

FFmpeg examples README
----------------------

Both following use cases rely on pkg-config and make, thus make sure
that you have them installed and working on your system.


Method 1: build the installed examples in a generic read/write user directory

Copy to a read/write user directory and just use "make", it will link
to the libraries on your system, assuming the PKG_CONFIG_PATH is
correctly configured.

Method 2: build the examples in-tree

Assuming you are in the source FFmpeg checkout directory, you need to build
FFmpeg (no need to make install in any prefix). Then just run "make examples".
This will build the examples using the FFmpeg build system. You can clean those
examples using "make examplesclean"

If you want to try the dedicated Makefile examples (to emulate the first
method), go into doc/examples and run a command such as
PKG_CONFIG_PATH=pc-uninstalled make.