1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-11-26 19:01:44 +02:00
FFmpeg/doc/examples
Stefano Sabatini b933c72b5e examples/muxing: change error checks, from "ret != 0" to "ret < 0"
More consistent and more future-proof.
2014-01-20 13:10:10 +01:00
..
decoding_encoding.c examples/decoding_encoding: fix style nits 2014-01-07 13:08:11 +01:00
demuxing_decoding.c examples/demuxing_decoding: print the decoding error when it happens. 2013-12-13 10:37:20 +01:00
filtering_audio.c doc/examples/filtering_audio: init packet0.data 2013-12-03 00:01:07 +01:00
filtering_video.c doc/examples/filtering_video: do not make use of AVBufferSinkParams 2013-12-02 14:35:40 +01:00
Makefile examples: add remuxing example 2014-01-20 13:10:10 +01:00
metadata.c
muxing.c examples/muxing: change error checks, from "ret != 0" to "ret < 0" 2014-01-20 13:10:10 +01:00
README doc/examples/README: fix typo 2013-12-02 14:35:39 +01:00
remuxing.c examples: add remuxing example 2014-01-20 13:10:10 +01:00
resampling_audio.c examples/resample_audio: check av_samples_get_buffer_size() return code 2013-12-14 14:02:33 +01:00
scaling_video.c
transcode_aac.c doc/examples/transcode_aac: remove non converted codepath 2013-11-27 11:22:19 +01: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.