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 a087764847 examples/avio_reading: Use avio_context_free() to free AVIOContext 6 years ago
..
.gitignore doc/examples: add missing ignore files 7 years ago
Makefile Merge commit '7e5bde93a1e7641e1622814dafac0be3f413d79b' 6 years ago
Makefile.example Merge commit 'acb0dea27efff4b35796015b96570b59fd517078' 7 years ago
README doc/examples/README: fix typo 11 years ago
avio_dir_cmd.c examples: Don't call deprecated functions which don't do anything 7 years ago
avio_reading.c examples/avio_reading: Use avio_context_free() to free AVIOContext 6 years ago
decode_audio.c examples: Don't call deprecated functions which don't do anything 7 years ago
decode_video.c examples: Don't call deprecated functions which don't do anything 7 years ago
demuxing_decoding.c examples: Don't call deprecated functions which don't do anything 7 years ago
encode_audio.c examples: Don't call deprecated functions which don't do anything 7 years ago
encode_video.c examples: Don't call deprecated functions which don't do anything 7 years ago
extract_mvs.c examples: Don't call deprecated functions which don't do anything 7 years ago
filter_audio.c lav*,tests: remove several register_all calls 7 years ago
filtering_audio.c doc/examples/filtering_audio: Remove setting deprecated refcounted_frames 7 years ago
filtering_video.c examples/filtering_video: fix memory leak 7 years ago
http_multiclient.c examples: Don't call deprecated functions which don't do anything 7 years ago
hw_decode.c doc/examples/hw_decode: re-licensed to MIT-license. 6 years ago
metadata.c doc/examples/metadata: fix the example can't dump FLV metadata 6 years ago
muxing.c examples: Don't call deprecated functions which don't do anything 7 years ago
qsvdec.c examples: Don't call deprecated functions which don't do anything 7 years ago
remuxing.c examples: Don't call deprecated functions which don't do anything 7 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 Merge commit '0711d142997b2662ba9198e607015b06c6eed0d8' 7 years ago
transcoding.c examples: Fix use of AV_CODEC_FLAG_GLOBAL_HEADER 6 years ago
vaapi_encode.c doc/examples/vaapi_encode: re-licensed to MIT-license. 6 years ago
vaapi_transcode.c doc/examples/vaapi_transcode: Fix the typo 6 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.