ffmpeg/doc/examples
Michael Niedermayer fd72ff6f31 doc/examples/transcoding: check encoder before using it
Fixes null pointer exception

Found-by: stoupeace
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
(cherry picked from commit bde27e1e61)

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2014-12-20 02:25:54 +01:00
..
Makefile avcodec: export motion vectors in frame side data on demand 2014-08-18 14:13:57 +02:00
README
avio_reading.c
decoding_encoding.c
demuxing_decoding.c
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
filtering_video.c
metadata.c
muxing.c doc/examples/muxing: fix "-flags" option 2014-07-27 19:58:47 +02:00
remuxing.c
resampling_audio.c doc/examples: remove unneeded NULL checks 2014-09-14 16:53:19 +02:00
scaling_video.c doc/examples: remove unneeded NULL checks 2014-09-14 16:53:19 +02:00
transcode_aac.c transcode_aac: fix const return value 2014-08-06 04:01:19 +02:00
transcoding.c doc/examples/transcoding: check encoder before using it 2014-12-20 02:25:54 +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.