Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

examples/demuxing_decoding: use properties from frame instead of vide…

…o_dec_ctx

This is more robust.

And only check if there is actually a frame returned.

Reviewed-by: Michael Niedermayer <michaelni@gmx.at>
Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
latest commit dd6c8575db
Andreas Cadhalpun authored
..
Failed to load latest commit information.
Makefile doc/examples: add directory listing example
README doc/examples/README: fix typo
avio_list_dir.c examples/avio_list_dir: init/deinit network
avio_reading.c examples/avio_reading: fix null dereference on error
decoding_encoding.c examples/decoding_encoding: Use the AVFrame width/height for processi…
demuxing_decoding.c examples/demuxing_decoding: use properties from frame instead of vide…
extract_mvs.c avcodec: export motion vectors in frame side data on demand
filter_audio.c Merge commit '6a928293dd29c7f0dcf09107980a1d651c9957df'
filtering_audio.c examples/filtering: extend comments about setting the filter graph en…
filtering_video.c examples/filtering: extend comments about setting the filter graph en…
metadata.c doc/examples: remove pathes from doxy examples
muxing.c doc/examples/muxing: Use avio_closep() in examples as it avoids leavi…
qsvdec.c Add a QSV decoding example.
remuxing.c idoc/examples/remuxing: Use avio_closep() in examples as it avoids le…
resampling_audio.c doc/examples: remove unneeded NULL checks
scaling_video.c doc/examples: remove unneeded NULL checks
transcode_aac.c Merge commit '3a70c0c95feacb3844d05eebd579fc8189a77eee'
transcoding.c doc: fix spelling errors

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