ffmpeg/doc/examples
Andre Anjos 23ffc4c70d doc/examples/muxing: Fixes frame initialization.
Fixes use of the example with encoders which use tha AVFrame w/h/pix_fmt fields
FFV1 is one of these codecs

We cannot easily workaround the not set fields in common code because the API
has AVFrame constant for the encoders.
Alternatives would be to fix the API or to duplicate the struct and fill in
missing fields. Or as is to require all user apps to set this correctly and
maybe simplify for that case

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2014-01-09 18:12:24 +01:00
..
Makefile doc/examples: add transcode_aac to local Makefile. 2013-11-28 13:19:50 +01:00
README doc/examples/README: fix typo 2013-12-02 14:35:39 +01:00
decoding_encoding.c examples/decoding_encoding: fix style nits 2014-01-07 13:08:11 +01:00
demuxing_decoding.c examples/demuxing_decoding: print the decoding error when it happens. 2013-12-13 10:37:20 +01:00
filtering_audio.c doc/examples/filtering_audio: init packet0.data 2013-12-03 00:01:07 +01:00
filtering_video.c doc/examples/filtering_video: do not make use of AVBufferSinkParams 2013-12-02 14:35:40 +01:00
metadata.c examples: fix doxy so they appear on the example page 2012-10-26 16:32:32 +02:00
muxing.c doc/examples/muxing: Fixes frame initialization. 2014-01-09 18:12:24 +01:00
resampling_audio.c examples/resample_audio: check av_samples_get_buffer_size() return code 2013-12-14 14:02:33 +01:00
scaling_video.c examples/scaling_video: fix typo 2013-02-15 00:28:53 +01:00
transcode_aac.c doc/examples/transcode_aac: remove non converted codepath 2013-11-27 11:22:19 +01:00

README

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.