summaryrefslogtreecommitdiff
path: root/doc/examples/filtering_audio.c
Commit message (Collapse)AuthorAge
* examples/filtering: extend comments about setting the filter graph endpointsStefano Sabatini2015-01-29
| | | | | That part is a constant source of confusions for readers, this should help clarify the apparently inverted logic.
* doc/examples: remove pathes from doxy examplesMichael Niedermayer2014-02-17
| | | | | | | This makes the examples page less cluttered Reviewed-by: Clément Bœsch <u@pkh.me> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* examples/filtering_audio,video: do not call avcodec_register_all()Stefano Sabatini2014-01-24
| | | | It is implied by av_register_all(). Simplify.
* examples/filtering_audio,video: drop call to avcodec_get_frame_defaults()Stefano Sabatini2014-01-21
| | | | | The avcodec_get_frame_defaults() function is deprecated and its use doesn't seem required.
* doc/examples/filtering_audio: init packet0.dataMichael Niedermayer2013-12-03
| | | | | | Fixes use of uinitialized data and crash Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* doc/examples/filtering_audio: fix chunked audio decodingStefano Sabatini2013-12-02
| | | | | | Support the case when multiple frames are contained in a single packet. In particular, fix fate-samples/lossless-audio/luckynight-partial.shn sample decoding.
* doc/examples/filtering_audio: fix styleStefano Sabatini2013-12-02
|
* doc/examples/filtering_audio: add more error checksStefano Sabatini2013-12-02
|
* doc/examples/filtering: make use of av_err2str()Stefano Sabatini2013-12-02
| | | | Simplify.
* doc/examples: do not check NULL values for avcodec_close()Stefano Sabatini2013-11-21
| | | | avcodec_close() does nothing in case the argument is NULL. Simplify.
* doc/examples/filtering_audio: make const arrays also staticMichael Niedermayer2013-08-03
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* lavfi: create Libav-API compatibility layer for avfilter_graph_parse() at ↵Stefano Sabatini2013-07-03
| | | | | | | | | | | | | | | | | the next bump Add function avfilter_graph_parse_ptr() and favor it in place of avfilter_graph_parse(), which will be restored with the old/Libav signature at the next bump. If HAVE_INCOMPATIBLE_LIBAV_API is enabled it will use the Libav-compatible signature for avfilter_graph_parse(). At the next major bump the current implementation of avfilter_graph_parse() should be dropped in favor of the Libav/old implementation. Should address trac ticket #2672.
* examples/filtering_audio: fix frame leak.Nicolas George2013-04-18
| | | | | The frame is not used after being added to the filter graph, there is no need to keep the reference.
* examples/filtering_audio: get rid of AVABufferSinkParamsPavel Koshevoy2013-04-17
| | | | | | | | AVABufferSinkParams are ignored by avfilter_graph_create_filter, therefore the example is misleading. Use av_opt_set_int_list to configure abuffersink directly. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* examples/filtering_audio: enable ref counted framesMichael Niedermayer2013-04-17
| | | | | | Fixes accessing freed memory Signe-off-by: Michael Niedermayer <michaelni@gmx.at>
* lavfi: deprecate aconvert.Clément Bœsch2013-04-11
| | | | This filter is not required anymore with aformat. Drop it at next bump.
* examples/filtering_*: constify AVFrame * for print_frame() and ↵Stefano Sabatini2013-03-14
| | | | display_frame() functions
* examples/filtering_audio: update to new APIStefano Sabatini2013-03-14
| | | | In particular, fix crash.
* Remove references to the "ff" variant of buffersink.Nicolas George2013-03-12
|
* doc: fix examples.Clément Bœsch2013-03-10
|
* doc/examples: do not allocate AVFrame directly.Nicolas George2013-02-17
| | | | | | | The size of the AVFrame structure is not part of the ABI; it can grow with later versions. Therefore, applications are not supposed to allocate AVFrame directly, they are supposed to use avcodec_alloc_frame() instead.
* examples: fix doxy so they appear on the example pageMichael Niedermayer2012-10-26
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* avoid ambigous buffersink namesMichael Niedermayer2012-09-01
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* examples/filtering: fix packet memleakGavin Kinsey2012-06-26
| | | | | | | Free packets unconditionally after demuxing, and not only when the packets belong to a given stream. Signed-off-by: Stefano Sabatini <stefasab@gmail.com>
* examples/filtering_audio: update for avfilter API "cleanup"Michael Niedermayer2012-06-24
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* update filtering_audio exampleAndrew Wason2012-06-05
| | | | | | | The filtering_audio.c example needs to be updated for the new "abuffer" filter args. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* doc/examples: make use of the parameter filters_descr parameter in ↵Clément Bœsch2012-05-19
| | | | init_filters().
* lavfi: drop planar/packed negotiation supportStefano Sabatini2012-05-16
| | | | | | | | | The planar/packed switch and the packing_formats list is no longer required, since the planar/packed information is now stored in the sample format enum. This is technically a major API break, possibly it should be not too painful as we marked the audio filtering API as unstable.
* doc/examples: use buffersrc.h instead of deprecated asrc_abuffer.h.Clément Bœsch2012-05-12
|
* examples/filtering_audio: use av_buffersrc_add_frame.Nicolas George2012-05-04
|
* examples/filtering_audio: do not stop on decode error.Nicolas George2012-04-28
| | | | | Decode errors can happen with concatenated MP3s with different formats.
* examples/filtering_audio: fix a memory leak.Nicolas George2012-04-28
|
* doc/examples: add audio decoding/filtering example.Clément Bœsch2012-02-21
Mostly based on doc/examples/filtering.c. lavfi API is still limited to "buffer feeding" instead of "frame feeding" at the moment, so this example code sticks with it.