Michael Niedermayer c7e8baeb75 doc/examples/mux: remove nop 3 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 f5ef91e020 doc/examples: convert to new channel layout-API 2 years ago
decode_video.c d1a44f261a examples/decode_video: flush parser to fix missing frame 2 years ago
demuxing_decoding.c c3471d55c5 doc/examples/demux_decode: Simplify loop 3 months ago
encode_audio.c f5ef91e020 doc/examples: convert to new channel layout-API 2 years ago
encode_video.c 1698cd8422 doc/examples/encode_video: add explanations in comments. 3 years ago
extract_mvs.c f495604361 examples/extract_mvs: Do not use stack packet 3 years ago
filter_audio.c f5ef91e020 doc/examples: convert to new channel layout-API 2 years ago
filtering_audio.c f5ef91e020 doc/examples: convert to new channel layout-API 2 years ago
filtering_video.c 86ec1093eb examples/filtering_video: Don't use stack packet 3 years ago
http_multiclient.c 10bcc41bb4 examples: Don't call deprecated functions which don't do anything 6 years ago
hw_decode.c e9182820ad examples/hw_decode: Don't use stack packet 3 years ago
metadata.c a90e41c590 doc/examples/metadata: Constify values from av_dict_get() 2 years ago
muxing.c c7e8baeb75 doc/examples/mux: remove nop 2 months ago
qsvdec.c 9190302b2e examples/qsvdec: Don't use stack packet 3 years ago
remuxing.c b6aeee2d8b examples/remuxing: Fix use of uninitialized value 3 years ago
resampling_audio.c f5ef91e020 doc/examples: convert to new channel layout-API 2 years ago
scaling_video.c 68bca03951 doc/examples: remove unneeded NULL checks 10 years ago
transcode_aac.c 40f2ea971f doc/examples/transcode_aac: Bump date 2 years ago
transcoding.c f5ef91e020 doc/examples: convert to new channel layout-API 2 years ago
vaapi_encode.c 16a0e979e7 doc/examples/vaapi_encode: Try to check fwrite() for failure 2 months ago
vaapi_transcode.c b9867cade3 doc/examples/vaapi_transcode: Simplify loop 3 months 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.