Michael Niedermayer 4a495766d1 doc/examples/transcoding: check encoder before using it 10 years ago
..
Makefile bf411fffd4 examples: rename avcodec.c to decoding_encoding.c 10 years ago
README a12bf9f50f doc/examples/README: fix typo 11 years ago
avio_reading.c 419800acc4 examples/avio_reading: fix null dereference on error 10 years ago
decoding_encoding.c 88f2586adb fix various typos 10 years ago
demuxing_decoding.c 84bccae8e9 doc: fix typo 10 years ago
filter_audio.c 1f2bacc897 Merge commit 'e7dfaf16a403972eb6aed5ce8f84c0085bd2fb5a' 10 years ago
filtering_audio.c 341639fe80 doc/examples: remove pathes from doxy examples 10 years ago
filtering_video.c 341639fe80 doc/examples: remove pathes from doxy examples 10 years ago
metadata.c 341639fe80 doc/examples: remove pathes from doxy examples 10 years ago
muxing.c 4d3072ada3 doc/examples/muxing: remove unused variable 10 years ago
remuxing.c 8fb4dba89d doc/examples/remuxing: dont use the input codec_tag, it may be invalid tor the output 10 years ago
resampling_audio.c cddbf95c5f doc/examples/resampling_audio: use av_freep() for saftey 10 years ago
scaling_video.c 341639fe80 doc/examples: remove pathes from doxy examples 10 years ago
transcode_aac.c 1fc74926a5 Merge commit 'b339182eba34f28de5f1a477cdd2c84f1ef35d90' 10 years ago
transcoding.c 4a495766d1 doc/examples/transcoding: check encoder before using it 9 years ago

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.