aboutsummaryrefslogtreecommitdiffstats
path: root/doc
Commit message (Collapse)AuthorAgeFilesLines
* doc/examples/demux_decode: Simplify loopMichael Niedermayer2024-05-091-3/+1
| | | | | | | Fixes: CID1463550 Logically dead code Sponsored-by: Sovereign Tech Fund Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avfilter/f_select.c: add support for iw and ih variablesPoorvaGaikar2024-05-081-0/+6
| | | | | | Fixes ticket #10509. Signed-off-by: Marton Balint <cus@passwd.hu>
* lavc/qsvenc: add support for oneVPL string APIMandava, Mounika2024-05-071-0/+14
| | | | | | | | | | | | A new option -qsv_params <str> is added, where <str> is a :-separated list of key=value parameters. Example: $ ffmpeg -y -f lavfi -i testsrc -vf "format=nv12" -c:v h264_qsv -qsv_params "TargetUsage=1:GopPicSize=30:GopRefDist=2:TargetKbps=5000" -f null - Signed-off-by: Mounika Mandava <mounika.mandava@intel.com> Signed-off-by: Haihao Xiang <haihao.xiang@intel.com>
* avutil/opt: add an unsigned option typeJames Almer2024-05-041-0/+3
| | | | Signed-off-by: James Almer <jamrial@gmail.com>
* doc/filters: mention scale2ref in replacement exampleNiklas Haas2024-05-041-1/+1
| | | | So ctrl+f "scale2ref" finds it.
* doc/filters: move scale=ref_* to correct secttonNiklas Haas2024-05-041-26/+24
| | | | | This was accidentally filed under scale_npp, instead of scale. (Why is this entire section basically duplicated anyway?)
* avfilter/scale2ref: deprecate in favor of scale=rw:rhNiklas Haas2024-05-031-73/+0
| | | | And remove it from the documentation.
* avfilter/vf_scale: add optional "ref" inputNiklas Haas2024-05-031-0/+26
| | | | | | | | This is automatically enabled if the width/height expressions reference any ref_* variable. This will ultimately serve as a more principled replacement for the fundamentally broken scale2ref. See-Also: https://trac.ffmpeg.org/ticket/10795
* avfilter/vf_scale: switch to FFFrameSyncNiklas Haas2024-05-031-2/+2
| | | | | Preliminary commit, in anticipation of adding support for multiple inputs (with proper synchronization and activate() callback).
* avformat/http: Add support for Retry-After headerDerek Buitenhuis2024-04-251-0/+5
| | | | | | | | | | | | | | | | | 429 and 503 codes can, and often do (e.g. all Google Cloud Storage URLs can), return a Retry-After header with the error, indicating how long to wait, asd either a date, or in seconds, before retrying again. If it is not respected by, for example, using our default backoff stratetgy instead, chances of success are very unlikely. Some references: * https://datatracker.ietf.org/doc/html/rfc6585 * https://datatracker.ietf.org/doc/html/rfc7231#section-7.1.3 This adds an AVOption to respect that header. Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
* doc/protocols: Fill in missing HTTP optionsDerek Buitenhuis2024-04-251-1/+29
| | | | Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
* doc/protocols: Re-order HTTP options to match http.c orderDerek Buitenhuis2024-04-251-56/+56
| | | | | | This makes the list easier to maintain. Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
* doc/examples/qsv_transcode: Initialize pointer before freeMichael Niedermayer2024-04-251-1/+1
| | | | | | | | Fixees: CID1517023 Uninitialized pointer read Sponsored-by: Sovereign Tech Fund Reviewed-by: "Xiang, Haihao" <haihao.xiang@intel.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* doc/examples/qsv_transcode: Simplify str_to_dict() loopMichael Niedermayer2024-04-251-2/+1
| | | | | | | | Fixes: CID1517022 Logically dead code Sponsored-by: Sovereign Tech Fund Reviewed-by: "Xiang, Haihao" <haihao.xiang@intel.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* doc/examples/vaapi_transcode: Simplify loopMichael Niedermayer2024-04-251-3/+1
| | | | | | | | Fixes: CID1428858(1/2) Logically dead code Sponsored-by: Sovereign Tech Fund Reviewed-by: "mypopy@gmail.com" <mypopy@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* doc/examples/qsv_transcode: Simplify loopMichael Niedermayer2024-04-251-3/+1
| | | | | | | | Fixes: CID1428858(2/2) Logically dead code Sponsored-by: Sovereign Tech Fund Reviewed-by: "Xiang, Haihao" <haihao.xiang@intel.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* doc/APIchanges: fix date for the latest entryJames Almer2024-04-241-1/+1
| | | | | | And add the commit hash while at it. Signed-off-by: James Almer <jamrial@gmail.com>
* fftools/ffmpeg_mux_init: allow mapping a stream group from one of the inputsJames Almer2024-04-231-3/+25
| | | | Signed-off-by: James Almer <jamrial@gmail.com>
* avutil/opt: add support for children objects in av_opt_serializeJames Almer2024-04-231-0/+3
| | | | Signed-off-by: James Almer <jamrial@gmail.com>
* 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.