Michael Niedermayer 62ffa50af2 doc/examples/demux_decode: Simplify loop 2 months ago
..
.gitignore 15546f772c examples/avio_dir_cmd: drop support for move/delete operations 4 years ago
Makefile 15546f772c examples/avio_dir_cmd: drop support for move/delete operations 4 years ago
Makefile.example 15546f772c examples/avio_dir_cmd: drop support for move/delete operations 4 years ago
README a12bf9f50f doc/examples/README: fix typo 10 years ago
avio_list_dir.c 15546f772c examples/avio_dir_cmd: drop support for move/delete operations 4 years ago
avio_reading.c a087764847 examples/avio_reading: Use avio_context_free() to free AVIOContext 5 years ago
decode_audio.c c80715f153 doc/examples/decode_audio: Fix "warning: ISO C90 forbids mixed declarations and code" 4 years ago
decode_video.c 6d1009cb9d doc/examples/decode_video: add input file format information for usage 4 years ago
demuxing_decoding.c 62ffa50af2 doc/examples/demux_decode: Simplify loop 3 weeks ago
encode_audio.c 10bcc41bb4 examples: Don't call deprecated functions which don't do anything 6 years ago
encode_video.c f30a41a608 Stop hardcoding align=32 in av_frame_get_buffer() calls. 4 years ago
extract_mvs.c 10bcc41bb4 examples: Don't call deprecated functions which don't do anything 6 years ago
filter_audio.c 89029bd2c7 lav*,tests: remove several register_all calls 6 years ago
filtering_audio.c f97fa89925 doc/examples/filtering_audio: Remove setting deprecated refcounted_frames 6 years ago
filtering_video.c f24b2e64b0 examples/filtering_video: fix memory leak 6 years ago
http_multiclient.c 10bcc41bb4 examples: Don't call deprecated functions which don't do anything 6 years ago
hw_decode.c 00286673d9 doc/examples/hw_decode: re-licensed to MIT-license. 5 years ago
metadata.c 7c1875143d doc/examples/metadata: fix the example can't dump FLV metadata 5 years ago
muxing.c f30a41a608 Stop hardcoding align=32 in av_frame_get_buffer() calls. 4 years ago
qsvdec.c 10bcc41bb4 examples: Don't call deprecated functions which don't do anything 6 years ago
remuxing.c 10bcc41bb4 examples: Don't call deprecated functions which don't do anything 6 years ago
resampling_audio.c 68bca03951 doc/examples: remove unneeded NULL checks 9 years ago
scaling_video.c 68bca03951 doc/examples: remove unneeded NULL checks 9 years ago
transcode_aac.c 75aa14b870 Merge commit '0711d142997b2662ba9198e607015b06c6eed0d8' 6 years ago
transcoding.c a82e4fb8c6 examples: Fix use of AV_CODEC_FLAG_GLOBAL_HEADER 5 years ago
vaapi_encode.c f30a41a608 Stop hardcoding align=32 in av_frame_get_buffer() calls. 4 years ago
vaapi_transcode.c c8a5242a54 doc/examples/vaapi_transcode: Simplify loop 3 weeks 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.