1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-07 11:13:41 +02:00
FFmpeg/doc/examples
Andreas Cadhalpun dd6c8575db examples/demuxing_decoding: use properties from frame instead of video_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>
2015-06-15 18:32:18 +02:00
..
avio_list_dir.c examples/avio_list_dir: init/deinit network 2015-04-06 15:50:26 +02:00
avio_reading.c examples/avio_reading: fix null dereference on error 2014-04-06 00:39:58 +02:00
decoding_encoding.c examples/decoding_encoding: Use the AVFrame width/height for processing images after decoding 2015-06-13 02:14:26 +02:00
demuxing_decoding.c examples/demuxing_decoding: use properties from frame instead of video_dec_ctx 2015-06-15 18:32:18 +02:00
extract_mvs.c avcodec: export motion vectors in frame side data on demand 2014-08-18 14:13:57 +02:00
filter_audio.c Merge commit '6a928293dd29c7f0dcf09107980a1d651c9957df' 2014-08-03 19:18:25 +02:00
filtering_audio.c examples/filtering: extend comments about setting the filter graph endpoints 2015-01-29 11:12:39 +01:00
filtering_video.c examples/filtering: extend comments about setting the filter graph endpoints 2015-01-29 11:12:39 +01:00
Makefile doc/examples: add directory listing example 2015-03-28 03:13:44 +01:00
metadata.c doc/examples: remove pathes from doxy examples 2014-02-17 13:50:53 +01:00
muxing.c doc/examples/muxing: Use avio_closep() in examples as it avoids leaving stale pointers 2015-01-08 05:28:15 +01:00
qsvdec.c Add a QSV decoding example. 2015-02-28 21:51:24 +01:00
README doc/examples/README: fix typo 2013-12-02 14:35:39 +01:00
remuxing.c idoc/examples/remuxing: Use avio_closep() in examples as it avoids leaving stale pointers 2015-01-08 05:28:59 +01:00
resampling_audio.c doc/examples: remove unneeded NULL checks 2014-09-14 16:45:50 +02:00
scaling_video.c doc/examples: remove unneeded NULL checks 2014-09-14 16:45:50 +02:00
transcode_aac.c Merge commit '3a70c0c95feacb3844d05eebd579fc8189a77eee' 2015-01-27 13:35:31 +01:00
transcoding.c doc: fix spelling errors 2015-06-14 15:09:33 +02:00

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.