aboutsummaryrefslogtreecommitdiffstats
path: root/doc
Commit message (Collapse)AuthorAgeFilesLines
...
* doc: use HOSTEXESUF when calling print_optionsTimo Rothenpieler2024-04-241-1/+1
| | | | | This is neccesary on WSL, and has no averse effects in normal environments.
* avcodec/codec_internal: Remove FF_CODEC_CAP_ALLOCATE_PROGRESSAndreas Rheinhardt2024-04-191-8/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Before commit f025b8e110b36c1cdb4fb56c4cd57aeca1767b5b, every frame-threaded decoder used ThreadFrames, even when they did not have any inter-frame dependencies at all. In order to distinguish those decoders that need the AVBuffer for progress communication from those that do not (to avoid the allocation for the latter), the former decoders were marked with the FF_CODEC_CAP_ALLOCATE_PROGRESS internal codec cap. Yet distinguishing these two can be done in a more natural way: Don't use ThreadFrames when not needed and split ff_thread_get_buffer() into a core function that calls the user's get_buffer2 callback and a wrapper around it that also allocates the progress AVBuffer. This has been done in 02220b88fc38ef9dd4f2d519f5d3e4151258b60c and since that commit the ALLOCATE_PROGRESS cap was nearly redundant. The only exception was WebP and VP8. WebP can contain VP8 and uses the VP8 decoder directly (i.e. they share the same AVCodecContext). Both decoders are frame-threaded and VP8 has inter-frame dependencies (in general, not in valid WebP) and therefore the ALLOCATE_PROGRESS cap. In order to avoid allocating progress in case of a frame-threaded WebP decoder the cap and the check for the cap has been kept in place. Yet now the VP8 decoder has been switched to use ProgressFrames and therefore there is just no reason any more for this check and the cap. This commit therefore removes both. Also change the value of FF_CODEC_CAP_USES_PROGRESSFRAMES to leave no gaps. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
* doc/muxers: add mmfStefano Sabatini2024-04-191-0/+9
|
* doc/muxers: add microdvdStefano Sabatini2024-04-191-0/+5
|
* doc/muxers/md5: apply misc consistency fixesStefano Sabatini2024-04-191-5/+7
|
* doc/muxers/matroska: add missing options, apply misc style fixesStefano Sabatini2024-04-191-7/+37
|
* lavfi/tonemap_vaapi: Add support for HDR to HDR tone mappingXinpeng Sun2024-04-181-12/+30
| | | | | | | | | | Usage example: ffmpeg -y -hwaccel vaapi -hwaccel_output_format vaapi -i hdr.mp4 \ -vf "tonemap_vaapi=display=7500 3000|34000 16000|13250 34500|15635 16450|500 10000000:extra_hw_frames=64" \ -c:v hevc_vaapi output.mp4 Signed-off-by: Xinpeng Sun <xinpeng.sun@intel.com> Signed-off-by: Haihao Xiang <haihao.xiang@intel.com>
* lavfi/tonemap_vaapi: By default use bt709 for output frameHaihao Xiang2024-04-181-2/+2
| | | | | | | By default don't use the color properties from input frame as output frame properties when performing HDR to SDR conversion Signed-off-by: Haihao Xiang <haihao.xiang@intel.com>
* lavfi: Add drawbox_vaapi filterHaihao Xiang2024-04-181-0/+85
| | | | Signed-off-by: Haihao Xiang <haihao.xiang@intel.com>
* lavfi: Add pad_vaapi filterHaihao Xiang2024-04-181-0/+77
| | | | Signed-off-by: Haihao Xiang <haihao.xiang@intel.com>
* avformat/lc3: add file format for LC3/LC3plus transportAntoine SOULIER2024-04-151-0/+6
| | | | | A file format is described in Bluetooth SIG LC3 and ETSI TS 103 634, for test purpose.
* doc/utils/eval: review and extend, clarify ld/st index meaningStefano Sabatini2024-04-151-27/+33
| | | | | Prefer idx in place of id for functions accessing the internal variables, and add a short introduction to mention them.
* doc/utils/eval: clarify meaning of random* seed valueStefano Sabatini2024-04-151-0/+12
| | | | | Possible address trac issue: http://trac.ffmpeg.org/ticket/10763
* doc/muxers.texi: Don't use confusing variable nameAndreas Rheinhardt2024-04-141-2/+2
| | | | | | | reserve_index_space is a size, not an index. Also refer to the variable in the description. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
* avcodec/hevcdec: export global side data in AVCodecContextJames Almer2024-04-111-0/+4
| | | | Signed-off-by: James Almer <jamrial@gmail.com>
* avutil/mastering_display_metadata: add a new allocator function that returns ↵James Almer2024-04-111-0/+3
| | | | | | | | | a size av_mastering_display_metadata_alloc() is not useful in scenarios where you need to know the runtime size of AVMasteringDisplayMetadata. Signed-off-by: James Almer <jamrial@gmail.com>
* avutil/version: bump minor after recent AVFrame API additionsJames Almer2024-04-111-0/+4
| | | | Signed-off-by: James Almer <jamrial@gmail.com>
* avcodec/ac3enc: Remove disabled code for RealAudio variant of AC-3Andreas Rheinhardt2024-04-111-2/+1
| | | | | | | | Implicitly disabled by 4679a474f06c229b10976d7f0b4eee0613c2715a. Given that no one has ever complained about this, this commit removes the now dead code. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
* doc/muxers/matroska: apply misc consistency fixupsStefano Sabatini2024-04-101-10/+4
|
* doc/muxers: add lrcStefano Sabatini2024-04-101-0/+25
|
* doc/muxers: add kvagStefano Sabatini2024-04-101-0/+8
|
* doc/muxers: add jacosubStefano Sabatini2024-04-101-0/+8
|
* doc/muxers: add ivfStefano Sabatini2024-04-101-0/+9
|
* configure, etc: switch to shebang without spaceJ. Dekker2024-04-091-1/+1
| | | | | | | | | Note that the config.sh file is left without a shebang, this file is supposed to be sourced into the current environment. This commit is purely cosmetic. Signed-off-by: J. Dekker <jdek@itanimul.li>
* doc/ffmpeg: document that there can be multiple complex filtergraphsAnton Khirnov2024-04-091-1/+2
|
* fftools/ffmpeg_filter: implement filtergraph chainingAnton Khirnov2024-04-091-5/+53
| | | | | | | | | | This allows one complex filtergraph's output to be sent as input to another one, which is useful in certain situations (one is described in the docs). Chaining filtergraphs was already effectively possible by using a wrapped_avframe encoder connected to a loopback decoder, but it is ugly, non-obvious and inefficient.
* doc/encoders: add missing libxvid optionJames Almer2024-04-051-1/+6
| | | | Signed-off-by: James Almer <jamrial@gmail.com>
* doc/encoders: remove non-existent flagJames Almer2024-04-051-3/+0
| | | | Signed-off-by: James Almer <jamrial@gmail.com>
* avcodec/liblc3: add encoding/decoding support of LC3 audio codecAntoine Soulier via ffmpeg-devel2024-04-042-1/+67
| | | | | | | The LC3 audio codec is the default codec of Bluetooth LE audio. This is a wrapper over the liblc3 library (https://github.com/google/liblc3). Signed-off-by: Antoine Soulier <asoulier@google.com>
* doc/developer: (security) researchers should be creditedMichael Niedermayer2024-04-031-0/+4
| | | | | Reviewed-by: Tomas Härdin <git@haerdin.se> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avutil/pix{desc,fmt}: add new matrix coefficients from H.273 v3Jan Ekström2024-04-031-0/+4
| | | | | | | | | | | | * SMPTE ST 2128 IPT-C2 defines the coefficients utilized in DoVi Profile 5. Profile 5 can thus now be represented in VUI as {AVCOL_RANGE_JPEG, AVCOL_PRI_BT2020, AVCOL_TRC_SMPTE2084, AVCOL_SPC_IPT_C2, AVCHROMA_LOC_LEFT} (although other chroma sample locations are allowed). AVCOL_TRC_SMPTE2084 should in this case be interpreted as 'PQ with reshaping'. * YCgCo-Re and YCgCo-Ro define the bitexact YCgCo-R, where the number of bits added to a source RGB bit depth is 2 (i.e., even) and 1 (i.e., odd), respectively.
* avutil/dovi_meta: add dolby vision extension blocksNiklas Haas2024-04-031-0/+5
| | | | | | | | | As well as accessors plus a function for allocating this struct with extension blocks, Definitions generously taken from quietvoid/dovi_tool, which is assembled as a collection of various patent fragments, as well as output by the official Dolby Vision bitstream verifier tool.
* avutil/dovi_meta: add AVDOVIDataMapping.nlq_pivotsquietvoid2024-04-031-0/+3
| | | | | | | | | The NLQ pivots are not documented but should be present in the header for profile 7 RPU format. It has been verified using Dolby's verification toolkit. Signed-off-by: quietvoid <tcChlisop0@gmail.com> Signed-off-by: Niklas Haas <git@haasn.dev>
* doc/indevs: update CC extraction example to use RCWT muxerMarth642024-04-021-2/+2
| | | | Signed-off-by: Marth64 <marth64@proxyid.net>
* doc/muxers: refresh the RCWT muxer's doc to be consistent with the demuxerMarth642024-04-021-10/+19
| | | | Signed-off-by: Marth64 <marth64@proxyid.net>
* avformat/rcwtdec: add RCWT Closed Captions demuxerMarth642024-04-021-0/+30
| | | | | | | | | | | | | | | RCWT (Raw Captions With Time) is a format native to ccextractor, a commonly used OSS tool for processing 608/708 Closed Captions (CC). RCWT can be used to archive the original extracted CC bitstream. The muxer was added in January 2024. In this commit, add the demuxer. One can now demux RCWT files for rendering in ccaption_dec or interop with ccextractor (which produces RCWT). Using the muxer/demuxer combo, the CC bits can be kept for processing or rendering with either tool. This can be an effective way to backup an original CC stream, including format extensions like EIA-708 and overall original presentation. Signed-off-by: Marth64 <marth64@proxyid.net>
* avformat/demux: add duration_probesize AVOptionNicolas Gaullier2024-04-022-1/+21
| | | | | | | | | | | | | | | | | | | | | | | | Yet another probesize used to get the durations when estimate_timings_from_pts is required. It is aimed at users interested in better durations probing for itself, or because using avformat_find_stream_info indirectly and requiring exact values: for concatdec for example, especially if streamcopying above it. The current code is a performance trade-off that can fail to get video stream durations in a scenario with high bitrates and buffering for files ending cleanly (as opposed to live captures): the physical gap between the last video packet and the last audio packet is very high in such a case. Default behaviour is unchanged: 250k up to 250k << 6 (step by step). Setting this new option has two effects: - override the maximum probesize (currently 250k << 6) - reduce the number of steps to 1 instead of 6, this is to avoid detecting the audio "too early" and failing to reach a video packet. Even if a single audio stream duration is found but not the other audio/video stream durations, there will be a retry, so at the end the full user-overriden probesize will be used as expected by the user. Signed-off-by: Nicolas Gaullier <nicolas.gaullier@cji.paris>
* doc/muxers: add ircamStefano Sabatini2024-04-021-0/+18
| | | | | Most of the content copy&pasted from: http://fileformats.archiveteam.org/wiki/Berkeley/IRCAM/Carl_Sound_Format
* doc/muxers/image2: add mention to image2pipeStefano Sabatini2024-04-021-2/+6
| | | | Clarify the difference with regards to the image2 muxer.
* doc/muxers/image2: apply misc consistency fixesStefano Sabatini2024-04-021-18/+18
|
* doc/muxers: add ilbcStefano Sabatini2024-04-021-0/+5
|
* doc/muxers: add stub for iamfStefano Sabatini2024-04-021-0/+15
|
* doc/muxers/hls: review, apply consistency fixesStefano Sabatini2024-04-021-179/+225
| | | | | Apply misc typo fixes, consistency fixes, and reformat the layout to provide more overall internal and global consistency.
* doc/community: update conflict of interest rule according to GA voteAnton Khirnov2024-04-011-2/+7
|
* avutil/common: Don't auto-include mem.hAndreas Rheinhardt2024-03-318-0/+8
| | | | | | | | | | | 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>
* 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.