aboutsummaryrefslogtreecommitdiffstats
path: root/doc/filters.texi
Commit message (Collapse)AuthorAgeFilesLines
* doc/filters: correct psnr option name (#20199)Gyan Doshi25 hours1-1/+1
| | | | Correct doc entry from stats_add_max to output_max
* libavfilter: Whisper audio filterVittorio Palmisano2 days1-0/+107
| | | | | It adds a new audio filter for running audio transcriptions with the whisper model. Documentation and examples are included into the patch.
* vf_libplacebo: add support for specifying a LUT for the inputLynne6 days1-0/+30
| | | | This makes it possible to apply Adobe .cube files to inputs.
* all: fix typos found by codespellTimo Rothenpieler8 days1-13/+13
|
* avfilter/vf_colordetect: add new color range detection filterNiklas Haas2025-07-211-0/+27
| | | | | | | | | | This filter can detect various properties about the image, including whether or not there are out-of-range values, or whether the input appears to use straight or premultiplied alpha. Of course, these can only be heuristics, with "undetermined" as the base case. While we can definitely prove the existence of full range or straight alpha colors, we can never infer the opposite.
* avfilter: add pad_cuda filterJorge Estrada2025-07-041-0/+24
| | | | | | | | | | | This patch adds the pad_cuda video filter. A filter similar to the existing pad filter but accelerated by CUDA. The filter shares the same options as the software pad filter. Example usage: ffmpeg -hwaccel cuda -hwaccel_output_format cuda -i input.mp4 -vf "pad_cuda=w=iw+100:h=ih+100:x=-1:y=-1:color=red" out.mp4 Signed-off-by: Timo Rothenpieler <timo@rothenpieler.org>
* avfilter/vf_libplacebo: add `reset_sar` optionNiklas Haas2025-06-201-4/+8
| | | | | | | | | | This was requested by users of `vf_libplacebo`, to mirror the existing option on the other `vf_scale_*` family of filters. While we have `vf_normalize`, it was not as useful in the event that the content stretching was actually desired. Bridges an important usability gap between `vf_scale` and `vf_libplacebo` that made mixing and matching the filters needlessly difficult.
* various: fix typosClément Péron2025-06-151-1/+1
| | | | | | | | usefull -> useful seperately -> separately reciever -> receiver Signed-off-by: Clément Péron <peron.clem@gmail.com>
* avfilter/blackdetect_vulkan: add hw accelerated blackdetect filterNiklas Haas2025-05-281-1/+1
| | | | | | | Like vf_blackdetect but better, faster, stronger, harder. Signed-off-by: Niklas Haas <git@haasn.dev> Sponsored-by: nxtedition
* avfilter/vf_blackdetect: add alpha optionNiklas Haas2025-05-281-0/+6
| | | | | | | | Check the alpha plane for (almost) transparent frames, instead of checking the luma channel for almost black frames. Signed-off-by: Niklas Haas <git@haasn.dev> Sponsored-by: nxtedition
* avfilter/vf_libplacebo: add shader_cache optionNiklas Haas2025-05-231-0/+12
| | | | | | | Useful to speed up shader compilation. May significantly lower startup times, in particular with large or complex shaders. Sponsored-by: nxtedition
* avfilter/vf_libplacebo: implement rotation optionNiklas Haas2025-05-231-0/+10
| | | | | | Flipping can already be accomplished by setting the crop_w/h expressions to their negative values, so together these options can implement any of the common frame orientations.
* Remove libpostprocMichael Niedermayer2025-05-071-175/+0
| | | | | | | | | | | | | | | Libpostproc will be available as source plugin at https://github.com/michaelni/FFmpeg/tree/sourceplugin-libpostproc OR https://github.com/michaelni/libpostproc whatever turns out more convenient to maintain For the upcoming 8.0 release, libpostproc will be included, so as not to cause delays or inconveniences Sponsored-by: Sovereign Tech Fund Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* doc/filters: fix "ewa_lanczos" filter descriptionNiklas Haas2025-04-201-1/+1
|
* doc/filters: Fix video size of mptestsrcZhao Zhili2025-04-161-1/+1
| | | | | Signed-off-by: Zhao Zhili <zhilizhao@tencent.com> Reviewed-by: Michael Niedermayer <michael@niedermayer.cc>
* doc/filters: add thumbnail_cuda entryDanil Iashchenko2025-03-311-0/+28
| | | | Also update thumbnail_cuda filter description.
* doc/filters: Shift CUDA-based filters to own section.Danil Iashchenko2025-03-171-640/+713
|
* avfilter/vf_libplacebo: remove deprecated optionsNiklas Haas2025-02-271-13/+0
| | | | | | | These were removed upstream and no longer have had any effect for a while now. Signed-off-by: Niklas Haas <git@haasn.dev>
* avfilter/libplacebo: add option for outputting separate fieldsNiklas Haas2025-02-271-0/+5
| | | | cf. the other deinterlacing-aware filters.
* avfilter/libplacebo: add deinterlacing optionsNiklas Haas2025-02-271-0/+19
| | | | | | These were introduced in libplacebo API version 220. We actually already map the field by default, but deinterlacing was never enabled unless the user explicitly forced it using extra_ops.
* avfilter/libplacebo: use a transparent default fillcolorNiklas Haas2025-02-191-1/+1
| | | | | | This will leave the background transparent when the target format contains an alpha channel, without affecting the behavior on formats without one.
* avfilter/interlace_vulkan: add interlace_vulkan filterNiklas Haas2025-02-171-1/+1
| | | | This is a Vulkan-accelerated version of the existing interlace filter.
* avfilter/vpp_amf: add option reset_sarGyan Doshi2025-02-101-0/+3
| | | | | | | | 4b77a0a681 added a new consumer of ff_scale_adjust_dimensions which was recently modified to allow for square pixel output. This commit extends the new option to vpp_amf, and unbreaks the building of vf_amf_common.c
* avfilter/scale*: add option reset_sarGyan Doshi2025-02-101-2/+34
| | | | | | | | | | | | | | | | For anamorphic videos, enabling this option leads to adjustment of output dimensions to obtain square pixels when the user requests proportional scaling through either of the w/h expressions or force_original_aspect_ratio. Output SAR is always reset to 1. Option added to scale, scale_cuda, scale_npp & scale_vaapi. libplacebo already has a similar option with different semantics, scale_vt and scale_vulkan don't implement force_oar, so for these three filters, I've made minimal changes needed to not break building or change output.
* doc/filters: Add documentation for AMF filtersEvgeny Pavlov2025-02-041-0/+236
| | | | Signed-off-by: Evgeny Pavlov <lucenticus@gmail.com>
* doc/filters: fix typo in format filterGyan Doshi2025-01-311-1/+1
| | | | | | The inline example for option color_ranges used 'color_spaces' Fixes #11441
* avfilter/setpts: add option strip_fps to decide framerate handlingGyan Doshi2025-01-271-0/+6
| | | | | | | | | | | | In f121d95, the outlink framerate was unconditionally unset. This breaks/bloats outputs from CFR muxers unless the user explicitly sets a sane framerate. And the most common invocation for setpts seen in workflows, our docs and across the web is `PTS-STARTPTS` or others of the general form `PTS+constant` which preserves the input framerate. Default value is false, which restores old behaviour. Fixes #11428
* avfilter/vf_scale: add colorspace and transfer property optionsNiklas Haas2024-12-231-0/+56
| | | | | In the long run, it would be ideal if we could add these to the avfilter negotiation as well, but for now, this is a good start.
* swscale: add ICC intent enum and optionNiklas Haas2024-12-231-0/+31
| | | | | | | | This setting can be used to infuence the type of tone and gamut mapping used internally when color space conversions are required. As discussed at VDD'24, the default was set to relative colorimetric clipping, which is approximately associative, surjective and idempotent. As such, it roundtrips well, although it is strictly speaking not associative on out-of-gamut colors.
* doc/filters: add an entry for vf_lcevcJames Almer2024-12-021-0/+5
| | | | Signed-off-by: James Almer <jamrial@gmail.com>
* lavfi/f_select: allow selection based on view IDAnton Khirnov2024-09-231-0/+3
| | | | | Can be used together with the split filter to decompose multiview video into individual views.
* avfilter: add XPSNR filterChristian Helmrich2024-09-081-0/+68
| | | | | | | Add XPSNR video filter Register new filter xpsnr. Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* doc/filters: update uspp availability statusGyan Doshi2024-09-051-1/+1
| | | | The filter was disabled in 95054bfa48 and re-enabled in 771c27119d
* avfilter/vf_scale: add in/out_chroma_locNiklas Haas2024-08-161-0/+15
| | | | | | | | | | | Currently, this just functions as a more principled and user-friendly replacement for the (undocumented and hard to use) *_chr_pos fields. However, the goal is to automatically infer these values from the input frames' chroma location, and deprecate the manual use of *_chr_pos altogether. (Indeed, my plans for an swscale replacement will most likely also end up limiting the set of legal chroma locations to those permissible by AVFrame properties)
* avfilter/vf_setparams: allow setting chroma locationNiklas Haas2024-08-161-0/+17
| | | | Shockingly, there isn't currently _any_ filter for overriding this.
* doc/filters: fix outpad labels in libvmaf_cuda exampleha7sh172024-07-221-2/+2
|
* doc/filters/perlin: specify default valuesStefano Sabatini2024-07-061-6/+10
|
* doc/filter: fix grammar in tiltandshift filterGyan Doshi2024-07-041-4/+4
|
* lavfi: add Perlin noise generatorStefano Sabatini2024-07-011-0/+100
|
* doc/filters/curves: fix typosStefano Sabatini2024-06-031-2/+2
|
* doc/filters/tiltandshift: apply typo fixes, add introductory descriptionStefano Sabatini2024-06-031-4/+5
|
* avfilter/smartblur: Added alpha layer supportAndrea Mastroberti2024-05-191-1/+19
| | | | 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>
* 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).
* 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>