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.
 
 
 
 
Michael Niedermayer 59b8c2a4e6 doc/examples/encode_audio: Favor a sample rate close to 44khz instead of the maximum sample rate 8 years ago
..
.gitignore Merge commit '7b1f03477f1a43d2261fbd83e50a4ad90c7f806d' 8 years ago
Makefile Merge commit '7b1f03477f1a43d2261fbd83e50a4ad90c7f806d' 8 years ago
README
avio_dir_cmd.c doc/examples: rename avio_list_dir -> avio_dir_cmd 9 years ago
avio_reading.c
decode_audio.c doc/examples/{de,en}code_audio: fix includes 8 years ago
decode_video.c Merge commit '8191f960a669819db4de33a2439ded1630b8a73e' 8 years ago
demuxing_decoding.c doc/examples/demuxing_decoding: Drop AVFrame->pts use 8 years ago
encode_audio.c doc/examples/encode_audio: Favor a sample rate close to 44khz instead of the maximum sample rate 8 years ago
encode_video.c Merge commit '5b4d7ac7ae5d821cfa6ab89f8eab4d31851ef32c' 8 years ago
extract_mvs.c doc/examples/extract_mvs: switch to codecpar 8 years ago
filter_audio.c Merge commit '6a928293dd29c7f0dcf09107980a1d651c9957df' 10 years ago
filtering_audio.c doc/examples/filtering_audio: switch to new decoding API 8 years ago
filtering_video.c doc/examples/filtering_video: switch to new decoding API 8 years ago
http_multiclient.c doc/examples/http_multiclient: Fix resource leak 8 years ago
metadata.c
muxing.c doc/examples/muxing: re-indent block 8 years ago
qsvdec.c examples/qsvdec: convert to codecpar 9 years ago
remuxing.c doc/examples/remuxing: switch to codecpar 8 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: fix a typo 8 years ago
transcoding.c doc/examples/transcoding: convert to codecpar 8 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.