aboutsummaryrefslogtreecommitdiffstats
path: root/doc
Commit message (Collapse)AuthorAgeFilesLines
* examples/decode_filter_video: Add loop for draining the filtergraphTobias Rapp2024-03-281-0/+19
| | | | | | | | | Depending on the filters used, the filtergraph may produce trailing data after feeding it the last input frame. Update the example to include the necessary loop for draining the filtergraph. Reviewed-by: Stefano Sabatini <stefasab@gmail.com> Signed-off-by: Tobias Rapp <t.rapp@noa-archive.com>
* examples/decode_filter_audio: Add loop for draining the filtergraphTobias Rapp2024-03-281-0/+19
| | | | | | | | | Depending on the filters used, the filtergraph may produce trailing data after feeding it the last input frame. Update the example to include the necessary loop for draining the filtergraph. Reviewed-by: Stefano Sabatini <stefasab@gmail.com> Signed-off-by: Tobias Rapp <t.rapp@noa-archive.com>
* doc/ffmpeg: mention how to pass options to loopback decodersAnton Khirnov2024-03-281-4/+10
|
* doc/examples: Always use <> includesAndreas Rheinhardt2024-03-273-27/+27
| | | | | Reviewed-by: Stefano Sabatini <stefasab@gmail.com> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
* lavu/frame: add side data descriptorsAnton Khirnov2024-03-271-0/+4
| | | | They allow exporting extended information about side data types.
* doc/APIchanges: Add 7.0 cut pointMichael Niedermayer2024-03-271-0/+2
| | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* doc/APIchange: Fill in some missing thingssMichael Niedermayer2024-03-261-28/+28
| | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* doc: Add libtoch backend option to dnn_processingWenbin Chen2024-03-261-1/+11
| | | | | Signed-off-by: Wenbin Chen <wenbin.chen@intel.com> Reviewed-by: Guo Yejun <yejun.guo@intel.com>
* avutil/timestamp: introduce av_ts_make_time_string2 for better precisionMarton Balint2024-03-251-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | av_ts_make_time_string() used "%.6g" format, but this format was losing precision even when the timestamp to be printed was not that large. For example for 3 hours (10800) seconds, only 1 decimal digit was printed, which made this format inaccurate when it was used in e.g. the silencedetect filter. Other detection filters printing timestamps had similar issues. Also time base parameter of the function was *AVRational instead of AVRational. Resolve these problems by introducing a new function, av_ts_make_time_string2(). We change the used format to "%.*f", use a precision of 6, except when printing values near 0, in which case we calculate the precision dynamically to aim for a similar precision in normal form as with %.6g. No longer using scientific representation can make parsing the timestamp easier for the users, we can safely do this because the theoretical maximum of INT64_MAX*INT32_MAX still fits into the string buffer in normal form. We somewhat imitate %g by trimming ending zeroes and the potential decimal point characters. In order not to trim "inf" as well, we assume that the decimal point string does not contain the letter "f". Note that depending on printf %f implementation, we might trim "infinity" to "inf". Thanks for Allan Cady for bringing up this issue. Signed-off-by: Marton Balint <cus@passwd.hu>
* doc/filters: extend af_channelmap documentationMarton Balint2024-03-241-6/+10
| | | | Signed-off-by: Marton Balint <cus@passwd.hu>
* avutil/film_grain_params: add av_film_grain_params_select()Niklas Haas2024-03-231-0/+3
| | | | | | | | Common utility function that can be used by all codecs to select the right (any valid) film grain parameter set. In particular, this is useful for AFGS1, which has support for multiple parameters. However, it also performs parameter validation for H274.
* avutil/film_grain_params: add metadata to common structNiklas Haas2024-03-231-0/+6
| | | | | | | | | | | | This is needed for AV1 film grain as well, when using AFGS1 streams. Also add extra width/height and subsampling information, which AFGS1 cares about, as part of the same API bump. (And in principle, H274 should also expose this information, since it is needed downstream to correctly adjust the chroma grain frequency to the subsampling ratio) Deprecate the equivalent H274-exclusive fields. To avoid breaking ABI, add the new fields after the union; but with enough of a paper trail to hopefully re-order them on the next bump.
* doc/muxers: add hdsStefano Sabatini2024-03-231-0/+39
|
* doc/muxers: add gxfStefano Sabatini2024-03-231-0/+12
|
* avcodec: add av_jni_{get,set}_android_app_ctx() helpersMatthieu Bouron2024-03-231-0/+3
| | | | | This will allow users to pass the Android ApplicationContext which is mandatory to retrieve the ContentResolver responsible to resolve/open Android content URIS.
* avutil/frame: Rename av_frame_side_data_get and add wrapper for itAndreas Rheinhardt2024-03-221-1/+4
| | | | | | | | | | | | | | | | | | | av_frame_side_data_get() has a const AVFrameSideData * const *sd parameter; so calling it with an AVFramesSideData **sd like AVCodecContext.decoded_side_data (or with a AVFramesSideData * const *sd) is safe, but the conversion is not performed automatically in C. All users of this function therefore resort to a cast. This commit changes this: av_frame_side_data_get() is renamed to av_frame_side_data_get_c(); furthermore, a static inline wrapper for it name av_frame_side_data_get() is added that accepts an AVFramesSideData * const * and converts this to const AVFramesSideData * const * in a Wcast-qual safe way. This also allows to remove the casts from the current users. Reviewed-by: Jan Ekström <jeebjp@gmail.com> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
* avutil/frame: Constify av_frame_side_data_get()Andreas Rheinhardt2024-03-221-0/+3
| | | | | Reviewed-by: Jan Ekström <jeebjp@gmail.com> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
* avcodec: add frame side data array to AVCodecContextJan Ekström2024-03-201-0/+3
| | | | This allows configuring an encoder by using AVFrameSideData.
* {avutil/version,APIchanges}: bump, document new AVFrameSideData functionsJan Ekström2024-03-201-0/+5
|
* doc/muxers/gif: apply consistency fixesStefano Sabatini2024-03-191-8/+7
|
* doc/muxers/flv: apply misc consistency fixesStefano Sabatini2024-03-191-5/+1
|
* doc/muxers: add flacStefano Sabatini2024-03-191-0/+20
|
* doc/fate: advise on --assert-level=2Nicolas Gaullier2024-03-191-0/+8
| | | | | Signed-off-by: Nicolas Gaullier <nicolas.gaullier@cji.paris> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* doc/muxers: add fitsStefano Sabatini2024-03-181-0/+8
|
* doc/muxers: add filmstripStefano Sabatini2024-03-181-0/+6
|
* doc/muxers: add film_cpkStefano Sabatini2024-03-181-0/+11
|
* doc/muxers: add ffmetadataStefano Sabatini2024-03-182-0/+18
|
* lavc/vaapi_encode: Enable block level bitrate controlFei Wang2024-03-181-0/+4
| | | | Signed-off-by: Fei Wang <fei.w.wang@intel.com>
* doc/filters: Change rdiv (vf_convolution) documentation to reflect actual ↵Stone Chen2024-03-161-1/+1
| | | | | | | | | | | | behavior The documentation correctly states that the rdiv is a multiplier but incorrectly states the default behavior is to multiply by the sum of all matrix elements - it multiplies by 1/sum. This changes the documentation to match the code. Address trac #10889 Signed-off-by: Marton Balint <cus@passwd.hu>
* avutil/channel_layout: add AV_CHANNEL_LAYOUT_RETYPE_FLAG_CANONICALMarton Balint2024-03-161-0/+3
| | | | Signed-off-by: Marton Balint <cus@passwd.hu>
* avformat/daudenc: force 2000 sample packet size with a bsfMarton Balint2024-03-141-11/+5
| | | | | | | | The samples I found all have 2000 sample packets, and by forcing the packet size with a bsf we could automagically make muxing work for packets containing more than 3640 samples. Signed-off-by: Marton Balint <cus@passwd.hu>
* fftools/ffprobe: export IAMF Stream Group parametersJames Almer2024-03-131-0/+39
| | | | Signed-off-by: James Almer <jamrial@gmail.com>
* fftools/ffprobe: export Tile Grid Stream Group parametersJames Almer2024-03-131-0/+50
| | | | Signed-off-by: James Almer <jamrial@gmail.com>
* fftools/ffmpeg: add loopback decodingAnton Khirnov2024-03-131-5/+44
| | | | | This allows to send an encoder's output back to decoding and feed the result into a complex filtergraph.
* avformat/aea: add aea muxerasivery2024-03-121-0/+10
| | | | Signed-off-by: asivery <asivery@protonmail.com>
* doc/examples/qsv_decode: remove unused config.h header filehung kuishing2024-03-121-2/+0
| | | | Signed-off-by: clarkh <hungkuishing@outlook.com>
* avformat/dvdvideodec: add menu demuxing supportMarth642024-03-121-7/+36
| | | | Signed-off-by: Marth64 <marth64@proxyid.net>
* doc/muxers/fifo: review documentationStefano Sabatini2024-03-121-65/+76
| | | | Apply consistency fixes, sort options, clarify example.
* doc/bitstream_filters.texi: Document types used by filter_unitsAndreas Rheinhardt2024-03-101-0/+7
| | | | | | Reviewed-by: Stefano Sabatini <stefasab@gmail.com> Reviewed-by: Marth64 <marth64@proxyid.net> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
* doc/bitstream_filters: add filter_units practical examples for removing ↵Marth642024-03-101-0/+15
| | | | | | closed captions Signed-off-by: Marth64 <marth64@proxyid.net>
* lavc: add a decoder option for configuring side data preferenceAnton Khirnov2024-03-081-0/+3
| | | | This and the following commits fix #10857
* lavu/opt: add array optionsAnton Khirnov2024-03-081-0/+3
|
* avcodec/vdpau: Deprecate redundant allocators and getter/setterAndreas Rheinhardt2024-03-081-0/+6
| | | | | | | | | | | The allocators have been superseded by av_vdpau_bind_context(). The latter have only been added "to allow multiple forks to add fields to the structure without breaking ABI" [1], but libav is no more, so this is not needed any longer. [1]: https://ffmpeg.org/pipermail/ffmpeg-devel/2013-August/146954.html Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
* libs: bump major version for all librariesJames Almer2024-03-071-1/+1
| | | | Signed-off-by: James Almer <jamrial@gmail.com>
* avutil: remove deprecated FF_API_FRAME_PICTURE_NUMBERJames Almer2024-03-071-2/+0
| | | | Signed-off-by: James Almer <jamrial@gmail.com>
* avutil: remove deprecated FF_API_PKT_DURATIONJames Almer2024-03-071-2/+0
| | | | Signed-off-by: James Almer <jamrial@gmail.com>
* avformat/options: Deprecate av_fmt_ctx_get_duration_estimation_method()Andreas Rheinhardt2024-03-061-0/+4
| | | | | | Forgotten in b7785d10b00c88029d8af7dbddac09ab0d6f2b7f. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
* fftools/ffprobe: add support for Stream GroupsJames Almer2024-03-052-4/+13
| | | | | Reviewed-by: Stefano Sabatini <stefasab@gmail.com> Signed-off-by: James Almer <jamrial@gmail.com>
* avformat/avformat: add a function to return the name of stream groupsJames Almer2024-03-051-0/+3
| | | | | Reviewed-by: Stefano Sabatini <stefasab@gmail.com> Signed-off-by: James Almer <jamrial@gmail.com>
* doc/ffprobe.xsd: add <components> and <pieces>Niklas Haas2024-03-041-0/+26
| | | | | Originally introduced for dovi side data printing, but not properly reflected in the xsd.