You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
Andreas Cadhalpun f97f2a3527 doc/examples: fix lib math dep for decoding_encoding 10 years ago
..
Makefile doc/examples: fix lib math dep for decoding_encoding 10 years ago
README doc/examples/README: fix typo 11 years ago
avio_reading.c examples/avio_reading: fix null dereference on error 11 years ago
decoding_encoding.c doc/examples/decoding_encoding: fix storing all channels 10 years ago
demuxing_decoding.c doc: fix typo 11 years ago
extract_mvs.c avcodec: export motion vectors in frame side data on demand 11 years ago
filter_audio.c Merge commit '6a928293dd29c7f0dcf09107980a1d651c9957df' 11 years ago
filtering_audio.c doc/examples: remove pathes from doxy examples 11 years ago
filtering_video.c doc/examples/filtering_video: fix frame rate 10 years ago
metadata.c doc/examples: remove pathes from doxy examples 11 years ago
muxing.c doc/examples/muxing: Use avio_closep() in examples as it avoids leaving stale pointers 10 years ago
remuxing.c idoc/examples/remuxing: Use avio_closep() in examples as it avoids leaving stale pointers 10 years ago
resampling_audio.c doc/examples: remove unneeded NULL checks 10 years ago
scaling_video.c doc/examples: remove unneeded NULL checks 10 years ago
transcode_aac.c doc/examples/transcode_aac: Use avio_closep() in examples as it avoids leaving stale pointers 10 years ago
transcoding.c doc/examples/transcoding: Use avio_closep() in examples as it avoids leaving stale pointers 10 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.