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.
 
 
 
 
Jun Zhao 1e0c75ea16 examples/hw_decode: Add a HWAccel decoding example. 8 years ago
..
.gitignore Merge commit '7b1f03477f1a43d2261fbd83e50a4ad90c7f806d' 8 years ago
Makefile examples/hw_decode: Add a HWAccel decoding example. 8 years ago
README doc/examples/README: fix typo 11 years ago
avio_dir_cmd.c doc/examples: rename avio_list_dir -> avio_dir_cmd 10 years ago
avio_reading.c examples/avio_reading: fix null dereference on error 11 years ago
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 Merge commit '6a928293dd29c7f0dcf09107980a1d651c9957df' 11 years ago
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. 8 years ago
metadata.c doc/examples: remove pathes from doxy examples 11 years ago
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 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: 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.