aboutsummaryrefslogtreecommitdiffstats
path: root/doc/examples
Commit message (Collapse)AuthorAgeFilesLines
...
* | doc/decode_audio: use <> to include libav* headersJames Almer2017-03-311-3/+3
| | | | | | | | Found-by: ubitux
* | Merge commit '905cdcaa9d081d3d945ce555b27b43a75c3af57b'James Almer2017-03-311-2/+3
|\| | | | | | | | | | | | | * commit '905cdcaa9d081d3d945ce555b27b43a75c3af57b': examples/decode_audio: Add missing header for av_free() Merged-by: James Almer <jamrial@gmail.com>
| * examples/decode_audio: Add missing header for av_free()Diego Biurrun2016-11-101-2/+3
| |
| * examples/decode_video: remove a stray unrelated commentAnton Khirnov2016-11-021-2/+0
| |
* | doc/examples/encode_audio: Favor a sample rate close to 44khz instead of the ↵Michael Niedermayer2017-03-301-1/+2
| | | | | | | | | | | | | | | | | | | | 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>
* | doc/examples/filtering_audio: switch to new decoding APIMatthieu Bouron2017-03-301-33/+30
| |
* | doc/examples/filtering_video: switch to new decoding APIMatthieu Bouron2017-03-301-19/+27
| |
* | Merge commit '8191f960a669819db4de33a2439ded1630b8a73e'Clément Bœsch2017-03-291-1/+1
|\| | | | | | | | | | | | | * commit '8191f960a669819db4de33a2439ded1630b8a73e': examples/decode_video: constify the AVCodec instance Merged-by: Clément Bœsch <u@pkh.me>
| * examples/decode_video: constify the AVCodec instanceAnton Khirnov2016-11-021-1/+1
| |
* | Merge commit '5b4d7ac7ae5d821cfa6ab89f8eab4d31851ef32c'Clément Bœsch2017-03-291-6/+8
|\| | | | | | | | | | | | | * commit '5b4d7ac7ae5d821cfa6ab89f8eab4d31851ef32c': examples/encode_video: use the AVFrame API for allocating the frame Merged-by: Clément Bœsch <u@pkh.me>
| * examples/encode_video: use the AVFrame API for allocating the frameAnton Khirnov2016-11-021-7/+12
| | | | | | | | | | It is more efficient and so preferred over allocating the buffers manually.
* | doc/examples/{de,en}code_audio: fix includesClément Bœsch2017-03-292-7/+7
| | | | | | | | Consistent with other examples.
* | Merge commit 'd0a603a534a0ee4b255e5e72742428a7f7f42b83'Clément Bœsch2017-03-291-1/+3
|\| | | | | | | | | | | | | * commit 'd0a603a534a0ee4b255e5e72742428a7f7f42b83': examples/encode_video: set the framerate Merged-by: Clément Bœsch <u@pkh.me>
| * examples/encode_video: set the framerateAnton Khirnov2016-11-021-1/+3
| |
* | Merge commit 'e02524025bce2c8bf8b5bffd96479785c75a70d4'Clément Bœsch2017-03-291-1/+1
|\| | | | | | | | | | | | | * commit 'e02524025bce2c8bf8b5bffd96479785c75a70d4': examples/encode_video: constify the AVCodec instance Merged-by: Clément Bœsch <u@pkh.me>
| * examples/encode_video: constify the AVCodec instanceAnton Khirnov2016-11-021-1/+1
| |
* | Merge commit '7b1f03477f1a43d2261fbd83e50a4ad90c7f806d'Clément Bœsch2017-03-295-363/+373
|\| | | | | | | | | | | | | * commit '7b1f03477f1a43d2261fbd83e50a4ad90c7f806d': examples/avcodec: split the remaining two examples into separate files Merged-by: Clément Bœsch <u@pkh.me>
| * examples/avcodec: split the remaining two examples into separate filesAnton Khirnov2016-11-022-161/+179
| |
* | Merge commit '90265814f993098d79b0a0f40745ecdb403fbf56'Clément Bœsch2017-03-291-1/+1
|\| | | | | | | | | | | | | * commit '90265814f993098d79b0a0f40745ecdb403fbf56': examples/decode_audio: constify the AVCodec instance Merged-by: Clément Bœsch <u@pkh.me>
| * examples/decode_audio: constify the AVCodec instanceAnton Khirnov2016-11-021-1/+1
| |
* | doc/examples/encode_audio: add missing returnClément Bœsch2017-03-291-0/+2
| |
* | Merge commit 'f5df897c4b61985e3afc89ba1290649712ff438e'Clément Bœsch2017-03-294-108/+153
|\| | | | | | | | | | | | | * commit 'f5df897c4b61985e3afc89ba1290649712ff438e': examples/avcodec: split audio decoding into a separate example Merged-by: Clément Bœsch <u@pkh.me>
| * examples/avcodec: split audio decoding into a separate exampleAnton Khirnov2016-11-022-97/+137
| | | | | | | | | | The four examples (audio/video encoding/decoding) are completely independent so it makes little sense to have them all in one file.
* | Merge commit 'f76698e759a08e8d3b629c06edb0439f474e7fee'Clément Bœsch2017-03-291-20/+10
|\| | | | | | | | | | | | | * commit 'f76698e759a08e8d3b629c06edb0439f474e7fee': examples/encode_audio: use the AVFrame API for allocating the data Merged-by: Clément Bœsch <u@pkh.me>
| * examples/encode_audio: use the AVFrame API for allocating the dataAnton Khirnov2016-11-021-16/+10
| | | | | | | | It is simpler and more efficient.
* | Merge commit 'c00a11ab383ff276a2ab2fdba577945e48d465be'Clément Bœsch2017-03-291-4/+4
|\| | | | | | | | | | | | | * commit 'c00a11ab383ff276a2ab2fdba577945e48d465be': examples/encode_audio: constify AVCodec instances Merged-by: Clément Bœsch <u@pkh.me>
| * examples/encode_audio: constify AVCodec instancesAnton Khirnov2016-11-021-4/+4
| |
* | Merge commit '40aaa8dadfd1c69ff4460d04750e1403b5535a6d'Clément Bœsch2017-03-294-193/+238
|\| | | | | | | | | | | | | * commit '40aaa8dadfd1c69ff4460d04750e1403b5535a6d': examples/avcodec: split audio encoding into a separate example Merged-by: Clément Bœsch <u@pkh.me>
| * examples/avcodec: split audio encoding into a separate exampleAnton Khirnov2016-11-022-170/+211
| | | | | | | | | | The four examples (audio/video encoding/decoding) are completely independent so it makes little sense to have them all in one file.
| * examples/output: switch to the new encoding APIAnton Khirnov2016-09-281-27/+44
| |
* | doc/examples/transcoding: convert to codecparJames Almer2017-03-281-29/+67
| | | | | | | | | | Reviewed-by: Matthieu Bouron <matthieu.bouron@gmail.com> Signed-off-by: James Almer <jamrial@gmail.com>
* | doc/examples/extract_mvs: switch to codecparMatthieu Bouron2017-03-281-17/+20
| |
* | doc/examples/remuxing: switch to codecparMatthieu Bouron2017-03-281-7/+35
| | | | | | | | Also limits remuxing to audio, video and subtitle streams.
* | doc/examples/muxing: re-indent blockMatthieu Bouron2017-03-281-9/+9
| |
* | doc/examples/filtering_*: switch to codecparClément Bœsch2017-03-282-4/+14
| |
* | Merge commit '9833a406d3d743d238e4cbee08ffcaa12e067dd2'Clément Bœsch2017-01-311-8/+4
|\| | | | | | | | | | | | | * commit '9833a406d3d743d238e4cbee08ffcaa12e067dd2': examples: Properly free AVCodecContext Merged-by: Clément Bœsch <cboesch@gopro.com>
| * examples: Properly free AVCodecContextVittorio Giovara2016-07-201-8/+4
| |
* | doc/examples/decoder_targeted: move to tools/target_dec_fuzzer.cRostislav Pehlivanov2017-01-291-208/+0
| | | | | | | | | | | | | | | | Name and purpose are more appropriate there since the code isn't an ideal example. Reviewed-by: wm4 <nfxjfg@googlemail.com> Signed-off-by: Rostislav Pehlivanov <atomnuker@gmail.com>
* | doc/examples/decoder_targeted: Disable error concealment after 20 framesMichael Niedermayer2017-01-291-0/+4
| | | | | | | | | | | | | | | | | | | | | | This allows testing EC and non EC. Avoids spending most time in EC on high res samples and reduces the likelyhood of hitting timeouts Fixes: Timeout in 467/fuzz-2-ffmpeg_VIDEO_AV_CODEC_ID_H263_fuzzer Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/targets/ffmpeg Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | doc/examples/http_multiclient: Fix resource leakMichael Niedermayer2016-12-261-0/+2
| | | | | | | | | | | | Fixes CID1396269 Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | doc/examples/decoder_targeted: Limit max pixels for fuzzingMichael Niedermayer2016-12-191-0/+3
| | | | | | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | doc/examples/transcode_aac: fix a typoАлександр Слободенюк2016-12-011-1/+1
| | | | | | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | doc/examples/muxing: Fix av_frame_make_writable usageSam Hocevar2016-11-231-9/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | This patch moves the av_frame_make_writable() call from fill_yuv_image to get_video_frame so that its argument can be the actual frame that will be sent to the encoder. This fixes data corruption issues in codecs that keep references on one or several previous frames. Signed-off-by: Sam Hocevar <sam@hocevar.net> Reviewed-by: wm4 Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | doc/examples: add fuzz target for individual ffmpeg APIs for in-process ↵Thomas Garnier2016-11-041-0/+201
| | | | | | | | | | | | fuzzing with libFuzzer, AFL, and similar fuzzing engines. Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | doc/examples/demuxing_decoding: Drop AVFrame->pts useMichael Niedermayer2016-10-181-3/+2
| | | | | | | | | | | | | | This code is not correct for git master Reviewed-by: Stefano Sabatini <stefasab@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | doc/examples/http_multiclient: Fix "doc/examples/http_multiclient.c:43:9: ↵Michael Niedermayer2016-10-091-1/+1
| | | | | | | | | | | | warning: passing argument 4 of av_opt_get from incompatible pointer type" Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | doc/examples: build http_multiclient exampleClément Bœsch2016-09-301-0/+1
| |
* | doc/examples/gitignore: add forgotten qsvdec entryClément Bœsch2016-09-301-0/+1
| |
* | doc/examples/http_multiclient: fix mixed declarations and codeClément Bœsch2016-09-301-1/+1
| |
* | doc/examples/http_multiclient: fix compilationClément Bœsch2016-09-301-1/+1
| | | | | | | | Fixes error: no previous prototype for ‘process_client’ [-Werror=missing-prototypes]