summaryrefslogtreecommitdiff
path: root/doc/examples
Commit message (Collapse)AuthorAge
* doc/examples/transcoding: use av_packet_rescale_ts()Stefano Sabatini2014-09-16
| | | | Simplify.
* doc/examples: remove unneeded NULL checksMichael Niedermayer2014-09-14
| | | | | | dst_file cannot be NULL Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* avcodec: export motion vectors in frame side data on demandClément Bœsch2014-08-18
| | | | | | | | | | | | | | | The reasoning behind this addition is that various third party applications are interested in getting some motion information out of a video "for free" when it is available. It was considered to export other information as well (such as the intra information about the block, or the quantization) but the structure might have ended up into a half full-generic, half full of codec specific cruft. If more information is necessary, it should either be added in the "flags" field of the AVMotionVector structure, or in another side-data. This commit also includes an example exporting them in a CSV stream.
* transcode_aac: fix const return valueTimothy Gu2014-08-06
| | | | | | | Fixes Trac #3613. Signed-off-by: Timothy Gu <timothygu99@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* Merge commit '6a928293dd29c7f0dcf09107980a1d651c9957df'Michael Niedermayer2014-08-03
|\ | | | | | | | | | | | | * commit '6a928293dd29c7f0dcf09107980a1d651c9957df': examples: filter_audio: Add missing mem.h header for av_freep() Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * examples: filter_audio: Add missing mem.h header for av_freep()Diego Biurrun2014-08-03
| |
| * output example: convert audio to the format supported by the encoderAnton Khirnov2014-07-26
| |
* | doc/examples/muxing: fix "-flags" optionMichael Niedermayer2014-07-27
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | doc/examples/muxing: Exchange tmp_frame and frameMichael Niedermayer2014-07-27
| | | | | | | | | | | | Reduces difference to 56f98e340fca894a76d1ddbe33118b8d8c4db34a Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | doc/examples/muxing: mark correct frame as writeableMichael Niedermayer2014-07-27
| | | | | | | | | | Bug found from comparing 56f98e340fca894a76d1ddbe33118b8d8c4db34a to HEAD Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | doc/examples/muxing: Always use swr, simplifies code slightlyMichael Niedermayer2014-07-27
| | | | | | | | | | Idea-from: 56f98e340fca894a76d1ddbe33118b8d8c4db34a Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | doc/examples/muxing: add alloc_audio_frame() and use it to simplify code.Anton Khirnov2014-07-27
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | doc/examples/muxing: Move samples_count to OutputStreamMichael Niedermayer2014-07-27
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | doc/examples/muxing: free swr context at the endMichael Niedermayer2014-07-27
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | doc/examples/muxing: Support setting flags, for example for setting bitexactMichael Niedermayer2014-07-26
| | | | | | | | | | | | This would allow the example to be used in regression tests Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | doc/examples/muxing: select a supported sample rate for the encoder, favor 44100Michael Niedermayer2014-07-26
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | doc/examples/muxing: pick a supported channel layout if stereo isnt ↵Michael Niedermayer2014-07-26
| | | | | | | | | | | | supported by the encoder Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | doc/examples/muxing: move swr context to OutputStreamMichael Niedermayer2014-07-26
| | | | | | | | | | Idea from: 56f98e340fca894a76d1ddbe33118b8d8c4db34a Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge commit '884f7c975f0af25febe86660e87bf3b2165a0309'Michael Niedermayer2014-07-26
|\| | | | | | | | | | | | | | | | | | | * commit '884f7c975f0af25febe86660e87bf3b2165a0309': output example: set the stream timebase Conflicts: doc/examples/muxing.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * output example: set the stream timebaseAnton Khirnov2014-07-26
| | | | | | | | This is required by the new API.
| * examples/output: Remove unused variableDiego Biurrun2014-07-11
| | | | | | | | doc/examples/output.c:460:9: warning: unused variable ‘i’
| * output example: free the muxing format context properlyAnton Khirnov2014-06-26
| |
* | transcoding: fix Doxygen file pathTimothy Gu2014-07-07
| | | | | | | | | | Signed-off-by: Timothy Gu <timothygu99@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | doc/examples/resampling_audio: use av_freep() for safteyMichael Niedermayer2014-06-29
| | | | | | | | | | | | also its better in examples to use the safer functions. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | doc/examples/muxing: remove unused variableMichael Niedermayer2014-06-28
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge commit '182d3f8221c23716ea4eafa460bdb94968f71f26'Michael Niedermayer2014-06-27
|\| | | | | | | | | | | | | | | | | | | * commit '182d3f8221c23716ea4eafa460bdb94968f71f26': output example: rewrite encoding logic Conflicts: doc/examples/muxing.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * output example: rewrite encoding logicAnton Khirnov2014-06-26
| | | | | | | | | | Properly generate pts for the frames sent to the encoder, avoid using private and deprecated AVStream.pts.
* | Merge commit 'a7fcd4122b19b0f934020f4e261d0c44c4c32e11'Michael Niedermayer2014-06-27
|\| | | | | | | | | | | | | | | | | | | * commit 'a7fcd4122b19b0f934020f4e261d0c44c4c32e11': output example: store the scaling context in the stream context Conflicts: doc/examples/muxing.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * output example: store the scaling context in the stream contextAnton Khirnov2014-06-26
| |
* | Merge commit '6a927d7aaf5625e83a674072913b9e292a303fd1'Michael Niedermayer2014-06-26
|\| | | | | | | | | | | | | | | | | | | * commit '6a927d7aaf5625e83a674072913b9e292a303fd1': output example: use a macro instead of a static variable Conflicts: doc/examples/muxing.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * output example: use a macro instead of a static variableAnton Khirnov2014-06-26
| |
* | Merge commit '63fd0d866c8300a8f251a15b1535e9ce40a407fb'Michael Niedermayer2014-06-26
|\| | | | | | | | | | | | | | | | | | | * commit '63fd0d866c8300a8f251a15b1535e9ce40a407fb': output example: allocate the audio frame only once Conflicts: doc/examples/muxing.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * output example: allocate the audio frame only onceAnton Khirnov2014-06-26
| |
* | Merge commit 'edd5f957646dcbf1bb55718bc7bf1e5481c25bcb'Michael Niedermayer2014-06-26
|\| | | | | | | | | | | | | | | | | | | * commit 'edd5f957646dcbf1bb55718bc7bf1e5481c25bcb': output example: use OutputStream for audio streams as well Conflicts: doc/examples/muxing.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * output example: use OutputStream for audio streams as wellAnton Khirnov2014-06-26
| |
* | Merge commit '5e7b125b6ae36893dfd9cb5661c99b67363cbb38'Michael Niedermayer2014-06-26
|\| | | | | | | | | | | | | | | | | | | * commit '5e7b125b6ae36893dfd9cb5661c99b67363cbb38': output example: use the new AVFrame API to allocate audio frames Conflicts: doc/examples/muxing.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * output example: use the new AVFrame API to allocate audio framesAnton Khirnov2014-06-26
| |
* | Merge commit 'ac85f631c9a9cc59aaca1c8dd6894fb1f701c594'Michael Niedermayer2014-06-26
|\| | | | | | | | | | | | | | | | | | | * commit 'ac85f631c9a9cc59aaca1c8dd6894fb1f701c594': output example: set output channel layout Conflicts: doc/examples/muxing.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * output example: set output channel layoutAnton Khirnov2014-06-26
| |
* | Merge commit '294daf71a7a1303b5ddd3cbefebed3b732d610f3'Michael Niedermayer2014-06-26
|\| | | | | | | | | | | | | | | | | | | * commit '294daf71a7a1303b5ddd3cbefebed3b732d610f3': output example: use a struct to bundle the video stream variables together Conflicts: doc/examples/muxing.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * output example: use a struct to bundle the video stream variables togetherAnton Khirnov2014-06-26
| |
* | Merge commit '38d044429dabcd28928693240e955c6d4430cca9'Michael Niedermayer2014-06-26
|\| | | | | | | | | | | | | | | | | | | * commit '38d044429dabcd28928693240e955c6d4430cca9': output example: use the new AVFrame API for allocating the video frame Conflicts: doc/examples/muxing.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * output example: use the new AVFrame API for allocating the video frameAnton Khirnov2014-06-26
| |
* | Merge commit '452860d7e056f9a894cac2fe52cdedeae4c38251'Michael Niedermayer2014-06-20
|\| | | | | | | | | | | | | | | | | | | | | * commit '452860d7e056f9a894cac2fe52cdedeae4c38251': Use av_packet_rescale_ts() to simplify code. Conflicts: doc/examples/muxing.c ffmpeg.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * Use av_packet_rescale_ts() to simplify code.Anton Khirnov2014-06-20
| |
* | fix various typosLou Logan2014-06-03
| | | | | | | | | | Signed-off-by: Lou Logan <lou@lrcd.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | examples: rename avcodec.c to decoding_encoding.cStefano Sabatini2014-04-23
| | | | | | | | | | Restore the old name, which was more meaningful and consistent with the names of the other examples.
* | examples/transcoding: use av_malloc_array()Michael Niedermayer2014-04-08
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | examples/avio_reading: fix null dereference on errorMichael Niedermayer2014-04-06
| | | | | | | | | | Fixed CID1197052 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | doc/examples/avcodec: information regarding gop_size ignored if ↵Anshul Maheshwari2014-03-21
| | | | | | | | | | | | frame->pic-type is AV_PICTURE_TYPE_I Signed-off-by: Michael Niedermayer <michaelni@gmx.at>