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.
 
 
 
 
Chad Fraleigh a90e41c590 doc/examples/metadata: Constify values from av_dict_get() 3 years ago
..
.gitignore examples/avio_dir_cmd: drop support for move/delete operations 5 years ago
Makefile examples/avio_dir_cmd: drop support for move/delete operations 5 years ago
Makefile.example examples/avio_dir_cmd: drop support for move/delete operations 5 years ago
README doc/examples/README: fix typo 11 years ago
avio_list_dir.c examples/avio_dir_cmd: drop support for move/delete operations 5 years ago
avio_reading.c examples/avio_reading: Use avio_context_free() to free AVIOContext 6 years ago
decode_audio.c doc/examples/decode_audio: Fix "warning: ISO C90 forbids mixed declarations and code" 5 years ago
decode_video.c doc/examples: Always open files as "binary", not "text". 4 years ago
demuxing_decoding.c examples/demuxing_decoding: add missing header 3 years ago
encode_audio.c examples: Don't call deprecated functions which don't do anything 7 years ago
encode_video.c doc/examples/encode_video: add explanations in comments. 3 years ago
extract_mvs.c examples/extract_mvs: Do not use stack packet 3 years ago
filter_audio.c lav*,tests: remove several register_all calls 7 years ago
filtering_audio.c examples/filtering_audio: Don't use stack packet 3 years ago
filtering_video.c examples/filtering_video: Don't use stack packet 3 years ago
http_multiclient.c examples: Don't call deprecated functions which don't do anything 7 years ago
hw_decode.c examples/hw_decode: Don't use stack packet 3 years ago
metadata.c doc/examples/metadata: Constify values from av_dict_get() 3 years ago
muxing.c examples/muxing: Don't use stack packet 3 years ago
qsvdec.c examples/qsvdec: Don't use stack packet 3 years ago
remuxing.c examples/remuxing: Fix use of uninitialized value 3 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 avcodec/avcodec: Stop including channel_layout.h in avcodec.h 3 years ago
transcoding.c Replace all occurences of av_mallocz_array() by av_calloc() 3 years ago
vaapi_encode.c avcodec/codec, allcodecs: Constify the AVCodec API 4 years ago
vaapi_transcode.c avformat/avformat, utils: Make av_find_best_stream const-correct 4 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.