Skip to content


Subversion checkout URL

You can clone with
Download ZIP

Merge commit '539e5ac2ecfec2e2f441222a43fb0583643ea607'

* commit '539e5ac2ecfec2e2f441222a43fb0583643ea607':
  examples/qsvdec: free the lavc decoder before closing MFX/VAAPI

Merged-by: Hendrik Leppkes <>
latest commit b1284a4b4a
@Nevcairiel Nevcairiel authored
Failed to load latest commit information.
Makefile doc/examples: rename avio_list_dir -> avio_dir_cmd
README doc/examples/README: fix typo
avio_dir_cmd.c doc/examples: rename avio_list_dir -> avio_dir_cmd
avio_reading.c examples/avio_reading: fix null dereference on error
decoding_encoding.c Merge commit '059a934806d61f7af9ab3fd9f74994b838ea5eba'
demuxing_decoding.c doc/examples/demuxing_decoding: simplify api_mode to refcount
extract_mvs.c avcodec: export motion vectors in frame side data on demand
filter_audio.c Merge commit '6a928293dd29c7f0dcf09107980a1d651c9957df'
filtering_audio.c Remove left-over FF_API_AVFILTERBUFFER cruft
filtering_video.c Remove left-over FF_API_AVFILTERBUFFER cruft
http_multiclient.c doc/examples/http_multiclient: Fix occured typo
metadata.c doc/examples: remove pathes from doxy examples
muxing.c Merge commit 'def97856de6021965db86c25a732d78689bd6bb0'
qsvdec.c examples/qsvdec: free the lavc decoder before closing MFX/VAAPI
remuxing.c Merge commit '7c6eb0a1b7bf1aac7f033a7ec6d8cacc3b5c2615'
resampling_audio.c doc/examples: remove unneeded NULL checks
scaling_video.c doc/examples: remove unneeded NULL checks
transcode_aac.c Merge commit '7c6eb0a1b7bf1aac7f033a7ec6d8cacc3b5c2615'
transcoding.c Remove left-over FF_API_AVFILTERBUFFER cruft


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.
Something went wrong with that request. Please try again.