summaryrefslogtreecommitdiff
path: root/doc/examples
Commit message (Collapse)AuthorAge
* add missing ignore filesJesse Liu2017-09-10
| | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* examples/hw_decode: Add a HWAccel decoding example.Jun Zhao2017-07-30
| | | | | | | | | Works with VAAPI, VDPAU, DXVA2 and D3D11VA. Signed-off-by: Liu, Kaixuan <kaixuan.liu@intel.com> Signed-off-by: Jun Zhao <jun.zhao@intel.com> Reviewed-by: Steven Liu <lingjiujianke@gmail.com> Signed-off-by: Mark Thompson <sw@jkqxz.net>
* examples/encode_video: slightly improve error reportingStefano Sabatini2017-05-31
|
* examples/encode_video: add logStefano Sabatini2017-05-31
| | | | This helps to visualize how the send/receive API works.
* examples: do not use AVFrame accessorMuhammad Faiz2017-04-23
| | | | | Reviewed-by: wm4 <nfxjfg@googlemail.com> Signed-off-by: Muhammad Faiz <mfcc64@gmail.com>
* doc/examples/decode_video: Fix format string vulnerabilityMichael Niedermayer2017-04-09
| | | | | | Fixes: CID1404843 Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* Merge commit 'c7ab0eb3050acdd3b8cab2c55fc9c1b2e8610a65'James Almer2017-04-04
|\ | | | | | | | | | | | | * commit 'c7ab0eb3050acdd3b8cab2c55fc9c1b2e8610a65': examples/decode_video: allocate the packet dynamically Merged-by: James Almer <jamrial@gmail.com>
| * examples/decode_video: allocate the packet dynamicallyAnton Khirnov2016-11-23
| | | | | | | | AVPackets on stack are discouraged.
* | Merge commit '728ea23cce07467b732f538c87c13da13dd6dcf3'James Almer2017-04-04
|\| | | | | | | | | | | | | * commit '728ea23cce07467b732f538c87c13da13dd6dcf3': examples/decode_video: switch to the new decoding API Merged-by: James Almer <jamrial@gmail.com>
| * examples/decode_video: switch to the new decoding APIAnton Khirnov2016-11-23
| |
* | Merge commit 'f78d360bba6dcfb585847a49a84e89c25950fbdb'James Almer2017-04-04
|\| | | | | | | | | | | | | * commit 'f78d360bba6dcfb585847a49a84e89c25950fbdb': examples/decode_video: use a parser for splitting the input Merged-by: James Almer <jamrial@gmail.com>
| * examples/decode_video: use a parser for splitting the inputAnton Khirnov2016-11-23
| | | | | | | | | | Do not rely on the decoder handling this, as it's not guaranteed to work.
* | doc/examples/extract_mvs: re-indent after previous commitMatthieu Bouron2017-04-04
| |
* | doc/examples/extract_mvs: make pkt local to the main functionMatthieu Bouron2017-04-04
| |
* | doc/examples/extract_mvs: switch to new decoding APIMatthieu Bouron2017-04-04
| |
* | Merge commit '59ab9e8ba1df7e3347a4cd2bd56c32e74aede802'Clément Bœsch2017-04-04
|\| | | | | | | | | | | | | * commit '59ab9e8ba1df7e3347a4cd2bd56c32e74aede802': examples/encode_video: allocate the packet dynamically Merged-by: Clément Bœsch <cboesch@gopro.com>
| * examples/encode_video: allocate the packet dynamicallyAnton Khirnov2016-11-23
| | | | | | | | AVPackets on stack are discouraged.
* | Merge commit '5f102a9559099429826e84758b8b5182244c52db'Clément Bœsch2017-04-04
|\| | | | | | | | | | | | | * commit '5f102a9559099429826e84758b8b5182244c52db': examples/encode_video: switch to the new encoding API Merged-by: Clément Bœsch <cboesch@gopro.com>
| * examples/encode_video: switch to the new encoding APIAnton Khirnov2016-11-23
| |
* | Merge commit 'fee0f1de2c6a9924acb74013436dbea8f2bd1ecb'Clément Bœsch2017-04-04
|\| | | | | | | | | | | | | * commit 'fee0f1de2c6a9924acb74013436dbea8f2bd1ecb': examples/decode_audio: flush the decoder Merged-by: Clément Bœsch <cboesch@gopro.com>
| * examples/decode_audio: flush the decoderAnton Khirnov2016-11-23
| |
* | Merge commit '9a38184a143a1560814b084aebe628f8df46e666'Clément Bœsch2017-04-04
|\| | | | | | | | | | | | | * commit '9a38184a143a1560814b084aebe628f8df46e666': examples/decode_audio: allocate the packet dynamically Merged-by: Clément Bœsch <cboesch@gopro.com>
| * examples/decode_audio: allocate the packet dynamicallyAnton Khirnov2016-11-23
| | | | | | | | AVPackets on stack are discouraged now.
| * examples/decode_audio: handle planar audio now produced by the MP2 decoderAnton Khirnov2016-11-23
| |
* | Merge commit '3d66717f7cb5555257244be8f5bce172ed3af7ac'Clément Bœsch2017-04-04
|\| | | | | | | | | | | | | * commit '3d66717f7cb5555257244be8f5bce172ed3af7ac': examples/decode_audio: use the new audio decoding API Merged-by: Clément Bœsch <cboesch@gopro.com>
| * examples/decode_audio: use the new audio decoding APIAnton Khirnov2016-11-23
| |
* | Merge commit '0946c754d99c05413e813ee515039adcf0f9232a'Clément Bœsch2017-04-04
|\| | | | | | | | | | | | | * commit '0946c754d99c05413e813ee515039adcf0f9232a': examples/decode_audio: use a parser for splitting the input Merged-by: Clément Bœsch <cboesch@gopro.com>
| * examples/decode_audio: use a parser for splitting the inputAnton Khirnov2016-11-23
| | | | | | | | | | Do not rely on the decoder handling this, as it's not guaranteed to work.
* | examples/decode_audio: reduce the scope of 2 variablesClément Bœsch2017-04-04
| |
* | Merge commit 'f27e262dbdea1991b22e08b639ac03e642a3482c'Clément Bœsch2017-04-03
|\| | | | | | | | | | | | | * commit 'f27e262dbdea1991b22e08b639ac03e642a3482c': examples/encode_audio: switch to the new audio encoding API Merged-by: Clément Bœsch <u@pkh.me>
| * examples/encode_audio: switch to the new audio encoding APIAnton Khirnov2016-11-23
| |
* | Merge commit '44c9f374f188f92927b7a4aad2101289d446b814'Clément Bœsch2017-04-03
|\| | | | | | | | | | | | | * commit '44c9f374f188f92927b7a4aad2101289d446b814': examples/qsvdec: convert to the new decoding API Merged-by: Clément Bœsch <u@pkh.me>
| * examples/qsvdec: convert to the new decoding APIAnton Khirnov2016-11-23
| |
* | Merge commit '1dd2b6c91ca5f26207805720d4f5564de60b241b'Clément Bœsch2017-04-03
|\| | | | | | | | | | | | | * commit '1dd2b6c91ca5f26207805720d4f5564de60b241b': examples/qsvdec: switch to the hwcontext API Merged-by: Clément Bœsch <u@pkh.me>
| * examples/qsvdec: switch to the hwcontext APIAnton Khirnov2016-11-23
| | | | | | | | The code now does not depend on VA and will work on windows as well.
| * examples/transcode_aac: Drop pointless return value const qualifierDiego Biurrun2016-11-17
| | | | | | | | doc/examples/transcode_aac.c:52:20: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
| * Ignore all generated example binariesDiego Biurrun2016-11-17
| |
* | doc/examples/transcode_aac: replace local get_error_text with av_err2strClément Bœsch2017-04-01
| |
* | doc/decode_audio: use <> to include libav* headersJames Almer2017-03-31
| | | | | | | | Found-by: ubitux
* | Merge commit '905cdcaa9d081d3d945ce555b27b43a75c3af57b'James Almer2017-03-31
|\| | | | | | | | | | | | | * 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-10
| |
| * examples/decode_video: remove a stray unrelated commentAnton Khirnov2016-11-02
| |
* | doc/examples/encode_audio: Favor a sample rate close to 44khz instead of the ↵Michael Niedermayer2017-03-30
| | | | | | | | | | | | | | | | | | | | 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-30
| |
* | doc/examples/filtering_video: switch to new decoding APIMatthieu Bouron2017-03-30
| |
* | Merge commit '8191f960a669819db4de33a2439ded1630b8a73e'Clément Bœsch2017-03-29
|\| | | | | | | | | | | | | * 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-02
| |
* | Merge commit '5b4d7ac7ae5d821cfa6ab89f8eab4d31851ef32c'Clément Bœsch2017-03-29
|\| | | | | | | | | | | | | * 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-02
| | | | | | | | | | It is more efficient and so preferred over allocating the buffers manually.
* | doc/examples/{de,en}code_audio: fix includesClément Bœsch2017-03-29
| | | | | | | | Consistent with other examples.