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.
 
 
 
 
Stefano Sabatini cd8211527e examples: rename resampling audio to resample_audio 2 years ago
..
.gitignore doc/examples: Add qsv_transcode example 2 years ago
Makefile examples: rename resampling audio to resample_audio 2 years ago
Makefile.example examples: rename resampling audio to resample_audio 2 years ago
README doc/examples/README: fix typo 11 years ago
avio_http_serve_files.c examples: rename http_multiclient to avio_http_serve_files 2 years ago
avio_list_dir.c examples/avio_dir_cmd: drop support for move/delete operations 5 years ago
avio_read_callback.c examples: rename avio_reading to avio_read_callback 2 years ago
decode_audio.c doc/examples: convert to new channel layout-API 3 years ago
decode_filter_audio.c examples: rename filtering_audio to decode_filter_audio 2 years ago
decode_filter_video.c examples: rename filtering_video to decode_filter_video 2 years ago
decode_video.c examples/decode_video: flush parser to fix missing frame 3 years ago
demux_decode.c examples: rename demuxing_decoding to demux_decode 2 years ago
encode_audio.c doc/examples: convert to new channel layout-API 3 years ago
encode_video.c examples: rename muxing to mux 2 years ago
extract_mvs.c doc/examples/extract_mvs: add motion information 2 years ago
filter_audio.c doc/examples: convert to new channel layout-API 3 years ago
hw_decode.c examples/hw_decode: Don't use stack packet 3 years ago
mux.c examples: rename muxing to mux 2 years ago
qsv_decode.c examples: rename qsvdec to qsv_decode 2 years ago
qsv_transcode.c doc/examples: Add qsv_transcode example 2 years ago
remux.c examples: rename remuxing to remux 2 years ago
resample_audio.c examples: rename resampling audio to resample_audio 2 years ago
scaling_video.c doc/examples: remove unneeded NULL checks 10 years ago
show_metadata.c examples: rename metadata to show_metadata 2 years ago
transcode_aac.c doc/examples/transcode_aac: Bump date 3 years ago
transcoding.c doc/examples: convert to new channel layout-API 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.