ffmpeg/doc/examples
Clément Bœsch 126e96533f Merge commit '9833a406d3d743d238e4cbee08ffcaa12e067dd2'
* commit '9833a406d3d743d238e4cbee08ffcaa12e067dd2':
  examples: Properly free AVCodecContext

Merged-by: Clément Bœsch <cboesch@gopro.com>
2017-01-31 17:35:41 +01:00
..
.gitignore doc/examples: build http_multiclient example 2016-09-30 19:35:52 +02:00
Makefile
README
avio_dir_cmd.c
avio_reading.c
decoding_encoding.c Merge commit '9833a406d3d743d238e4cbee08ffcaa12e067dd2' 2017-01-31 17:35:41 +01:00
demuxing_decoding.c doc/examples/demuxing_decoding: Drop AVFrame->pts use 2016-10-18 15:15:12 +02:00
extract_mvs.c
filter_audio.c
filtering_audio.c
filtering_video.c
http_multiclient.c doc/examples/http_multiclient: Fix resource leak 2016-12-26 18:29:00 +01:00
metadata.c
muxing.c doc/examples/muxing: Fix av_frame_make_writable usage 2016-11-23 03:28:04 +01:00
qsvdec.c
remuxing.c
resampling_audio.c
scaling_video.c
transcode_aac.c doc/examples/transcode_aac: fix a typo 2016-12-01 12:53:45 +01:00
transcoding.c doc/examples/transcoding: Use the decoders pixel format if the encoder does not list which are supported 2016-06-05 17:10:15 +02: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.