1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-11-26 19:01:44 +02:00
FFmpeg/doc/examples
Michael Niedermayer 59b8c2a4e6 doc/examples/encode_audio: Favor a sample rate close to 44khz instead of the maximum sample rate
This is an example, people will copy and use this. The maximum supported is quite
unreasonable as a default choice

Reviewed-by: Steven Liu <lingjiujianke@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2017-03-30 16:34:06 +02:00
..
.gitignore Merge commit '7b1f03477f1a43d2261fbd83e50a4ad90c7f806d' 2017-03-29 14:09:09 +02:00
avio_dir_cmd.c
avio_reading.c
decode_audio.c doc/examples/{de,en}code_audio: fix includes 2017-03-29 14:18:10 +02:00
decode_video.c Merge commit '8191f960a669819db4de33a2439ded1630b8a73e' 2017-03-29 14:22:32 +02:00
demuxing_decoding.c doc/examples/demuxing_decoding: Drop AVFrame->pts use 2016-10-18 15:15:12 +02:00
encode_audio.c doc/examples/encode_audio: Favor a sample rate close to 44khz instead of the maximum sample rate 2017-03-30 16:34:06 +02:00
encode_video.c Merge commit '5b4d7ac7ae5d821cfa6ab89f8eab4d31851ef32c' 2017-03-29 14:21:52 +02:00
extract_mvs.c doc/examples/extract_mvs: switch to codecpar 2017-03-28 17:46:29 +02:00
filter_audio.c
filtering_audio.c doc/examples/filtering_audio: switch to new decoding API 2017-03-30 16:20:13 +02:00
filtering_video.c doc/examples/filtering_video: switch to new decoding API 2017-03-30 16:20:07 +02:00
http_multiclient.c doc/examples/http_multiclient: Fix resource leak 2016-12-26 18:29:00 +01:00
Makefile Merge commit '7b1f03477f1a43d2261fbd83e50a4ad90c7f806d' 2017-03-29 14:09:09 +02:00
metadata.c
muxing.c doc/examples/muxing: re-indent block 2017-03-28 12:41:46 +02:00
qsvdec.c
README
remuxing.c doc/examples/remuxing: switch to codecpar 2017-03-28 17:46:23 +02:00
resampling_audio.c
scaling_video.c
transcode_aac.c doc/examples/transcode_aac: fix a typo 2016-12-01 12:53:45 +01:00
transcoding.c doc/examples/transcoding: convert to codecpar 2017-03-28 12:27:04 -03: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.