aboutsummaryrefslogtreecommitdiffstats
path: root/doc/examples/transcode_aac.c
Commit message (Collapse)AuthorAgeFilesLines
* avutil/common: Don't auto-include mem.hAndreas Rheinhardt2024-03-311-0/+1
| | | | | | | | | | | There are lots of files that don't need it: The number of object files that actually need it went down from 2011 to 884 here. Keep it for external users in order to not cause breakages. Also improve the other headers a bit while just at it. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
* doc/examples: Always use <> includesAndreas Rheinhardt2024-03-271-10/+10
| | | | | Reviewed-by: Stefano Sabatini <stefasab@gmail.com> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
* doc/examples/transcode_aac: use av_samples_alloc_array_and_samples to ↵James Almer2023-05-051-15/+5
| | | | | | | | allocate the input samples buffer and pointers Fixes -Wuse-after-free warnings and simplifies code. Signed-off-by: James Almer <jamrial@gmail.com>
* examples: apply doxy entries consistency fixesStefano Sabatini2023-02-111-5/+4
| | | | Use consistent format for the @file field and file description.
* doc/examples/transcode_aac: Bump dateAndreas Unterweger2022-05-021-1/+1
| | | | Signed-off-by: Andreas Unterweger <dustsigns@gmail.com>
* doc/examples/transcode_aac: AAC encoder is no longer experimentalAndreas Unterweger2022-05-021-3/+0
| | | | Signed-off-by: Andreas Unterweger <dustsigns@gmail.com>
* doc/examples/transcode_aac: Set decoder packet timebaseAndreas Unterweger2022-05-021-2/+8
| | | | | | Previously, the default timebase caused two warnings during decoding about not being able to update timestamps for skipped and discarded samples, respectively. Signed-off-by: Andreas Unterweger <dustsigns@gmail.com>
* doc/examples/transcode_aac: Don't ignore last encoded frameAndreas Unterweger2022-05-021-10/+10
| | | | | | The last encoded frame is now fetched on EOF. It was previously left in the encoder and caused a "1 frame left in queue" warning. Signed-off-by: Andreas Unterweger <dustsigns@gmail.com>
* doc/examples: convert to new channel layout-APIJames Almer2022-03-151-14/+10
| | | | Signed-off-by: James Almer <jamrial@gmail.com>
* avcodec/avcodec: Stop including channel_layout.h in avcodec.hAndreas Rheinhardt2021-07-221-0/+1
| | | | | | Also include channel_layout.h directly wherever used. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
* avcodec/codec, allcodecs: Constify the AVCodec APIAndreas Rheinhardt2021-04-271-2/+2
| | | | | Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com> Signed-off-by: James Almer <jamrial@gmail.com>
* doc/examples/transcode_aac: use av_packet_alloc() to allocate packetsJames Almer2021-03-171-19/+27
| | | | Signed-off-by: James Almer <jamrial@gmail.com>
* Merge commit '0711d142997b2662ba9198e607015b06c6eed0d8'James Almer2018-03-151-32/+69
|\ | | | | | | | | | | | | * commit '0711d142997b2662ba9198e607015b06c6eed0d8': examples: Use new API for transcoding example Merged-by: James Almer <jamrial@gmail.com>
| * examples: Use new API for transcoding exampleAndreas Unterweger2018-03-071-32/+69
| | | | | | | | Signed-off-by: Diego Biurrun <diego@biurrun.de>
* | examples: Don't call deprecated functions which don't do anythingMark Thompson2018-02-091-2/+0
| |
* | fftools, tools, examples: migrate to AVFormatContext->urlMarton Balint2018-01-281-2/+5
| | | | | | | | Signed-off-by: Marton Balint <cus@passwd.hu>
* | Merge commit 'b200a2c8da403b5a5c8b50f8cb4a75fd4f0131b1'James Almer2017-10-261-152/+209
|\| | | | | | | | | | | | | * commit 'b200a2c8da403b5a5c8b50f8cb4a75fd4f0131b1': examples: Fixed and extended Doxygen documentation Merged-by: James Almer <jamrial@gmail.com>
| * examples: Fixed and extended Doxygen documentationAndreas Unterweger2017-04-101-163/+215
| | | | | | | | | | | | | | | | Added parameter descriptions for all functions and converted in-function comments into regular (non-Doxygen) comments. Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
| * examples: fix a typo in an error messageAleksandr Slobodeniuk2016-12-021-1/+1
| | | | | | | | Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
| * examples/transcode_aac: Drop pointless return value const qualifierDiego Biurrun2016-11-171-1/+1
| | | | | | | | doc/examples/transcode_aac.c:52:20: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
* | doc/examples/transcode_aac: replace local get_error_text with av_err2strClément Bœsch2017-04-011-26/+14
| |
* | doc/examples/transcode_aac: fix a typoАлександр Слободенюк2016-12-011-1/+1
| | | | | | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | Merge commit 'ac6d53589f3631ae08467c784fb371a15c957f01'Derek Buitenhuis2016-04-111-17/+49
|\| | | | | | | | | | | | | * commit 'ac6d53589f3631ae08467c784fb371a15c957f01': examples/transcode_aac: convert to codecpar Merged-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
| * examples/transcode_aac: convert to codecparAnton Khirnov2016-02-241-17/+49
| |
* | Merge commit 'ce70f28a1732c74a9cd7fec2d56178750bd6e457'Hendrik Leppkes2015-10-271-5/+5
|\| | | | | | | | | | | | | * commit 'ce70f28a1732c74a9cd7fec2d56178750bd6e457': avpacket: Replace av_free_packet with av_packet_unref Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
| * avpacket: Replace av_free_packet with av_packet_unrefLuca Barbato2015-10-261-5/+5
| | | | | | | | | | | | | | `av_packet_unref` matches the AVFrame ref-counted API and can be used as a drop in replacement. Deprecate `av_free_packet`.
* | Merge commit '7c6eb0a1b7bf1aac7f033a7ec6d8cacc3b5c2615'Michael Niedermayer2015-07-271-1/+1
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * commit '7c6eb0a1b7bf1aac7f033a7ec6d8cacc3b5c2615': lavc: AV-prefix all codec flags Conflicts: doc/examples/muxing.c ffmpeg.c ffmpeg_opt.c ffplay.c libavcodec/aacdec.c libavcodec/aacenc.c libavcodec/ac3dec.c libavcodec/ac3enc_float.c libavcodec/atrac1.c libavcodec/atrac3.c libavcodec/atrac3plusdec.c libavcodec/dcadec.c libavcodec/ffv1enc.c libavcodec/h264.c libavcodec/h264_loopfilter.c libavcodec/h264_mb.c libavcodec/imc.c libavcodec/libmp3lame.c libavcodec/libtheoraenc.c libavcodec/libtwolame.c libavcodec/libvpxenc.c libavcodec/libxavs.c libavcodec/libxvid.c libavcodec/mpeg12dec.c libavcodec/mpeg12enc.c libavcodec/mpegaudiodec_template.c libavcodec/mpegvideo.c libavcodec/mpegvideo_enc.c libavcodec/mpegvideo_motion.c libavcodec/nellymoserdec.c libavcodec/nellymoserenc.c libavcodec/nvenc.c libavcodec/on2avc.c libavcodec/options_table.h libavcodec/opus_celt.c libavcodec/pngenc.c libavcodec/ra288.c libavcodec/ratecontrol.c libavcodec/twinvq.c libavcodec/vc1_block.c libavcodec/vc1_loopfilter.c libavcodec/vc1_mc.c libavcodec/vc1dec.c libavcodec/vorbisdec.c libavcodec/vp3.c libavcodec/wma.c libavcodec/wmaprodec.c libavcodec/x86/hpeldsp_init.c libavcodec/x86/me_cmp_init.c Merged-by: Michael Niedermayer <michael@niedermayer.cc>
| * lavc: AV-prefix all codec flagsVittorio Giovara2015-07-271-1/+1
| | | | | | | | | | | | Convert doxygen to multiline and express bitfields more simply. Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* | Merge commit '3a70c0c95feacb3844d05eebd579fc8189a77eee'Michael Niedermayer2015-01-271-0/+13
|\| | | | | | | | | | | | | * commit '3a70c0c95feacb3844d05eebd579fc8189a77eee': examples/transcode_aac: generate proper PTS and set the muxer timebase Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * examples/transcode_aac: generate proper PTS and set the muxer timebaseAndreas Unterweger2015-01-271-0/+13
| | | | | | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* | Merge commit 'c9b19ac8928c6c9b7f25c3988177204f110d5e0e'Michael Niedermayer2015-01-271-1/+1
|\| | | | | | | | | | | | | * commit 'c9b19ac8928c6c9b7f25c3988177204f110d5e0e': examples/transcode_aac: fix a typo Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * examples/transcode_aac: fix a typoAndreas Unterweger2015-01-271-1/+1
| | | | | | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* | Merge commit '749a89d1b8bb73b4d4f14c48f33259a1300c1761'Michael Niedermayer2015-01-271-7/+9
|\| | | | | | | | | | | | | * commit '749a89d1b8bb73b4d4f14c48f33259a1300c1761': examples/transcode_aac: properly select the output sample format Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * examples/transcode_aac: properly select the output sample formatAndreas Unterweger2015-01-271-7/+9
| | | | | | | | | | | | Makes the example work with all the supported AAC encoders. Signed-off-by: Anton Khirnov <anton@khirnov.net>
* | doc/examples/transcode_aac: Use avio_closep() in examples as it avoids ↵Michael Niedermayer2015-01-081-2/+2
| | | | | | | | | | | | leaving stale pointers Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | doc: fix the the typosMichael Niedermayer2014-11-221-1/+1
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | transcode_aac: fix const return valueTimothy Gu2014-08-061-1/+1
| | | | | | | | | | | | | | Fixes Trac #3613. Signed-off-by: Timothy Gu <timothygu99@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge commit 'b339182eba34f28de5f1a477cdd2c84f1ef35d90'Michael Niedermayer2014-02-171-1/+1
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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-161-1/+1
| | | | | | | | Also drop support for building examples in library directories.
* | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2014-02-141-1/+4
|\| | | | | | | | | | | | | | | | | | | | | * 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>
| * doc/examples: misc Doxygen markup improvementsDiego Biurrun2014-02-141-1/+4
| | | | | | | | Add properly formatted @example tag and fix Doxygen syntax.
* | doc/examples/transcode_aac: remove non converted codepathMichael Niedermayer2013-11-271-7/+0
| | | | | | | | | | | | | | This codepath is not implemented and just crashes, also its simpler without special cases, which makes sense for an example Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | doc/examples/transcode_aac: switch to swresampleMichael Niedermayer2013-11-271-44/+34
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | doc/examples/transcode_aac: fix project nameMichael Niedermayer2013-11-271-1/+1
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2013-11-271-4/+4
|/ | | | | | | | | | | * qatar/master: Add an audio transcoding example. Conflicts: configure doc/Makefile Merged-by: Michael Niedermayer <michaelni@gmx.at>
* Add an audio transcoding example.Andreas Unterweger2013-11-271-0/+769
Signed-off-by: Anton Khirnov <anton@khirnov.net>