aboutsummaryrefslogtreecommitdiffstats
path: root/doc/examples
Commit message (Collapse)AuthorAgeFilesLines
* doc/examples/muxing: mark correct frame as writeableMichael Niedermayer2014-07-271-9/+9
| | | | | 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-271-6/+0
| | | | | 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-271-29/+35
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* doc/examples/muxing: Move samples_count to OutputStreamMichael Niedermayer2014-07-271-4/+3
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* doc/examples/muxing: free swr context at the endMichael Niedermayer2014-07-271-0/+1
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* doc/examples/muxing: Support setting flags, for example for setting bitexactMichael Niedermayer2014-07-261-8/+19
| | | | | | 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-261-0/+8
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* doc/examples/muxing: pick a supported channel layout if stereo isnt ↵Michael Niedermayer2014-07-261-1/+9
| | | | | | supported by the encoder Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* doc/examples/muxing: move swr context to OutputStreamMichael Niedermayer2014-07-261-14/+13
| | | | | Idea from: 56f98e340fca894a76d1ddbe33118b8d8c4db34a Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* Merge commit '884f7c975f0af25febe86660e87bf3b2165a0309'Michael Niedermayer2014-07-261-2/+4
|\ | | | | | | | | | | | | | | | | | | * 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-261-2/+5
| | | | | | | | This is required by the new API.
| * examples/output: Remove unused variableDiego Biurrun2014-07-111-1/+0
| | | | | | | | doc/examples/output.c:460:9: warning: unused variable ‘i’
| * output example: free the muxing format context properlyAnton Khirnov2014-06-261-7/+1
| |
* | transcoding: fix Doxygen file pathTimothy Gu2014-07-071-1/+1
| | | | | | | | | | 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-291-1/+1
| | | | | | | | | | | | 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-281-1/+1
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge commit '182d3f8221c23716ea4eafa460bdb94968f71f26'Michael Niedermayer2014-06-271-80/+108
|\| | | | | | | | | | | | | | | | | | | * 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-261-77/+106
| | | | | | | | | | Properly generate pts for the frames sent to the encoder, avoid using private and deprecated AVStream.pts.
* | Merge commit 'a7fcd4122b19b0f934020f4e261d0c44c4c32e11'Michael Niedermayer2014-06-271-7/+10
|\| | | | | | | | | | | | | | | | | | | * 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-261-9/+11
| |
* | Merge commit '6a927d7aaf5625e83a674072913b9e292a303fd1'Michael Niedermayer2014-06-261-2/+2
|\| | | | | | | | | | | | | | | | | | | * 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-261-2/+2
| |
* | Merge commit '63fd0d866c8300a8f251a15b1535e9ce40a407fb'Michael Niedermayer2014-06-261-42/+45
|\| | | | | | | | | | | | | | | | | | | * 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-261-26/+23
| |
* | Merge commit 'edd5f957646dcbf1bb55718bc7bf1e5481c25bcb'Michael Niedermayer2014-06-261-46/+40
|\| | | | | | | | | | | | | | | | | | | * 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-261-42/+39
| |
* | Merge commit '5e7b125b6ae36893dfd9cb5661c99b67363cbb38'Michael Niedermayer2014-06-261-69/+47
|\| | | | | | | | | | | | | | | | | | | * 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-261-19/+24
| |
* | Merge commit 'ac85f631c9a9cc59aaca1c8dd6894fb1f701c594'Michael Niedermayer2014-06-261-0/+2
|\| | | | | | | | | | | | | | | | | | | * 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-261-0/+2
| |
* | Merge commit '294daf71a7a1303b5ddd3cbefebed3b732d610f3'Michael Niedermayer2014-06-261-45/+58
|\| | | | | | | | | | | | | | | | | | | * 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-261-43/+50
| |
* | Merge commit '38d044429dabcd28928693240e955c6d4430cca9'Michael Niedermayer2014-06-261-33/+49
|\| | | | | | | | | | | | | | | | | | | * 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-261-16/+23
| |
* | Merge commit '452860d7e056f9a894cac2fe52cdedeae4c38251'Michael Niedermayer2014-06-201-3/+1
|\| | | | | | | | | | | | | | | | | | | | | * 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-201-8/+1
| |
* | fix various typosLou Logan2014-06-031-1/+1
| | | | | | | | | | 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-232-2/+2
| | | | | | | | | | 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-081-1/+1
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | examples/avio_reading: fix null dereference on errorMichael Niedermayer2014-04-061-2/+4
| | | | | | | | | | Fixed CID1197052 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | doc/examples/avcodec: information regarding gop_size ignored if ↵Anshul Maheshwari2014-03-211-1/+7
| | | | | | | | | | | | frame->pic-type is AV_PICTURE_TYPE_I Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | doc/examples: Add example transcoding.cAndrey Utkin2014-03-172-0/+598
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | doc: fix typocompn2014-03-071-1/+1
| |
* | doc/examples/remuxing: dont use the input codec_tag, it may be invalid tor ↵Jason Hsu2014-03-051-0/+1
| | | | | | | | | | | | the output Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge commit 'e7dfaf16a403972eb6aed5ce8f84c0085bd2fb5a'Michael Niedermayer2014-02-251-0/+364
|\| | | | | | | | | | | | | | | | | | | | | | | * commit 'e7dfaf16a403972eb6aed5ce8f84c0085bd2fb5a': libavfilter: example audio filtering program Conflicts: .gitignore configure doc/Makefile Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * libavfilter: example audio filtering programAnton Khirnov2014-02-251-0/+364
| | | | | | | | | | | | Based on a patch by Andrew Kelley <superjoe30@gmail.com> Signed-off-by: Diego Biurrun <diego@biurrun.de>
* | doc/examples: remove pathes from doxy examplesMichael Niedermayer2014-02-179-9/+9
| | | | | | | | | | | | | | This makes the examples page less cluttered Reviewed-by: Clément Bœsch <u@pkh.me> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge commit 'b339182eba34f28de5f1a477cdd2c84f1ef35d90'Michael Niedermayer2014-02-173-4/+4
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * commit 'b339182eba34f28de5f1a477cdd2c84f1ef35d90': Move all example programs to doc/examples Conflicts: configure doc/Makefile doc/doxy-wrapper.sh doc/examples/avcodec.c doc/examples/decoding_encoding.c doc/examples/metadata.c doc/examples/muxing.c doc/examples/transcode_aac.c libavcodec/Makefile libavcodec/api-example.c libavformat/Makefile Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * Move all example programs to doc/examplesDiego Biurrun2014-02-164-2/+653
| | | | | | | | Also drop support for building examples in library directories.
* | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2014-02-142-3/+6
|\| | | | | | | | | | | | | | | | | | | | | * qatar/master: doc/examples: misc Doxygen markup improvements Conflicts: doc/examples/muxing.c doc/examples/transcode_aac.c Merged-by: Michael Niedermayer <michaelni@gmx.at>