1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-23 12:43:46 +02:00
FFmpeg/doc/examples
Stefano Sabatini eadc421259 examples/muxing: set sample formats from list of codec supported sample formats
Avoid the need of tweaking, also show how to get list of supported sample
formats.
2014-01-09 10:51:41 +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 doc/examples: add transcode_aac to local Makefile. 2013-11-28 13:19:50 +01:00
metadata.c
muxing.c examples/muxing: set sample formats from list of codec supported sample formats 2014-01-09 10:51:41 +01:00
README doc/examples/README: fix typo 2013-12-02 14:35:39 +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.