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.
 
 
 
 
James Almer fd5f4ac081 Merge commit 'c95169f0ec68bdeeabc5fde8aa4076f406242524' 7 years ago
..
.gitignore add missing ignore files 7 years ago
Makefile Merge commit 'c95169f0ec68bdeeabc5fde8aa4076f406242524' 7 years ago
Makefile.example Merge commit 'acb0dea27efff4b35796015b96570b59fd517078' 7 years ago
README
avio_dir_cmd.c
avio_reading.c
decode_audio.c Merge commit 'fee0f1de2c6a9924acb74013436dbea8f2bd1ecb' 8 years ago
decode_video.c doc/examples/decode_video: Fix format string vulnerability 8 years ago
demuxing_decoding.c doc/examples/demuxing_decoding: Drop AVFrame->pts use 8 years ago
encode_audio.c Merge commit 'f27e262dbdea1991b22e08b639ac03e642a3482c' 8 years ago
encode_video.c examples/encode_video: slightly improve error reporting 8 years ago
extract_mvs.c doc/examples/extract_mvs: re-indent after previous commit 8 years ago
filter_audio.c
filtering_audio.c examples: do not use AVFrame accessor 8 years ago
filtering_video.c examples: do not use AVFrame accessor 8 years ago
http_multiclient.c doc/examples/http_multiclient: Fix resource leak 8 years ago
hw_decode.c examples/hw_decode: Add a HWAccel decoding example. 7 years ago
metadata.c
muxing.c doc/examples/muxing: re-indent block 8 years ago
qsvdec.c examples/qsvdec: convert to the new decoding API 8 years ago
remuxing.c doc/examples/remuxing: switch to codecpar 8 years ago
resampling_audio.c
scaling_video.c
transcode_aac.c doc/examples/transcode_aac: replace local get_error_text with av_err2str 8 years ago
transcoding.c examples: do not use AVFrame accessor 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.