Paul B Mahol
e41d52216c
avfilter: add asisdr filter
2023-08-14 11:19:56 +02:00
Paul B Mahol
951def850a
avfilter: add apsnr filter
2023-08-14 11:19:55 +02:00
Paul B Mahol
5ff88bb7bc
avfilter/avf_showcwt: simplify
2023-08-07 22:24:59 +02:00
Paul B Mahol
de71928383
avfilter/avf_showcwt: add two more options
2023-08-07 22:24:58 +02:00
Paul B Mahol
bd23b1d0ac
avfilter/avf_showcwt: add iscale option
2023-07-30 18:14:16 +02:00
Zhao Zhili
89f5124d0a
avfilter: add transpose_vt for videotoolbox pix_fmt
...
Signed-off-by: Zhao Zhili <zhilizhao@tencent.com>
2023-07-23 11:52:28 +08:00
Zhao Zhili
c2c96c4c24
avfilter: add scale_vt for videotoolbox pix_fmt
...
For example,
./ffmpeg -hwaccel videotoolbox \
-hwaccel_output_format videotoolbox_vld \
-i ios-265.mov \
-c:v hevc_videotoolbox \
-profile:v main \
-b:v 3M \
-vf scale_vt=w=iw/2:h=ih/2:color_matrix=bt709:color_primaries=bt709:color_transfer=bt709 \
-c:a copy \
-tag:v hvc1 \
/tmp/test.mp4
Input: hevc (Main 10) (hvc1 / 0x31637668), yuv420p10le(tv, bt2020nc/bt2020/arib-std-b67), 3840x2160
Output: hevc (Main) (hvc1 / 0x31637668), yuv420p(tv, bt709, progressive), 1920x1080
Signed-off-by: Zhao Zhili <zhilizhao@tencent.com>
2023-07-23 11:51:57 +08:00
Paul B Mahol
3dc93acc56
avfilter/vf_pseudocolor: add four more presets
2023-07-21 00:43:46 +02:00
Tobias Rapp
0b075b4092
doc/filters: Extend description of overlay filter format option values
2023-07-20 16:49:38 +02:00
Tobias Rapp
6747cda5ca
avfilter/vf_overlay: Add support for yuv444p10 pixel format
2023-07-20 16:49:05 +02:00
Paul B Mahol
72390c7d80
avfilter/vf_pseudocolor: add heat preset
2023-07-19 23:42:03 +02:00
Paul B Mahol
5d8879208c
avfilter/vf_pseudocolor: add cool preset
2023-07-19 23:42:01 +02:00
Paul B Mahol
c183f840fa
avfilter/af_axcorrelate: add another algorithm for calculation
...
Rewrite EOF logic while here.
2023-07-15 23:41:09 +02:00
Paul B Mahol
7430ee2b8b
avfilter/avf_showcwt: add rotation option
2023-07-13 00:11:36 +02:00
Paul B Mahol
fcbee7efdf
avfilter/avf_showcwt: add qdrt frequency scale
2023-07-09 20:53:55 +02:00
Paul B Mahol
aee8689ba5
avfilter/avf_showcwt: add cbrt frequency scale
2023-07-09 20:53:54 +02:00
Paul B Mahol
7f23b72dde
avfilter/avf_showcwt: add sqrt frequency scale
2023-07-09 20:53:52 +02:00
Niklas Haas
13e9899014
lavfi/vf_libplacebo: add contrast recovery options
...
New upstream option. Enabled by default in the high-quality preset
upstream, so enable it by default here.
2023-07-08 12:54:49 +02:00
Niklas Haas
2e83ba001d
lavfi/vf_libplacebo: deprecate hybrid_mix option
...
Deprecated upstream in libplacebo v6.292.
2023-07-08 12:41:45 +02:00
Gyan Doshi
285c7f6f6b
doc/filters: correct luma terminology
...
Partially fixes #10427
See https://poynton.ca/notes/colour_and_gamma/ColorFAQ.html#RTFToC11 for
ref.
2023-06-26 16:02:42 +05:30
Niklas Haas
f998a618ba
lavfi/vf_libplacebo: add nb_inputs option
...
To control the number of inputs.
2023-06-20 17:09:58 +02:00
Niklas Haas
5989719e87
lavfi/vf_libplacebo: add in_idx variable
...
To allow placing an input dynamically, as a function of the input index.
2023-06-20 17:09:58 +02:00
Paul B Mahol
ea190b8a23
avfilter/vf_drawtext: use flags type of option for text_align
2023-06-19 22:35:53 +02:00
yethie
01420316d2
avfilter/vf_drawtext: add support for commands
2023-06-19 22:35:53 +02:00
yethie
692d37d2e9
avfilter/vf_drawtext: add y_align option
...
The new y_align option specifies if the user provided y value
is referred to the top of the text, to the font baseline or to the
top of the font
2023-06-19 22:35:53 +02:00
yethie
5f2d907de2
avfilter/vf_drawtext: implement text alignment
...
Text can now be aligned vertically (top, middle, bottom) and horizontally (left, center, right)
relative to the background box.
2023-06-19 22:35:53 +02:00
yethie
01d843f6d0
avfilter/vf_drawtext: add expression variables to control font ascent/descent
...
The following new variables can be used in the x and y expressions: font_a, font_d, top_a, bottom_d.
2023-06-19 22:35:53 +02:00
yethie
fac7bb06d8
avfilter/vf_drawtext: add options for size of the background box
2023-06-19 22:35:53 +02:00
yethie
79e39978d8
avfilter/vf_drawtext: extend boxborderw option
...
Adds support for different border size in each direction.
2023-06-19 22:35:53 +02:00
yethie
1eeb59a209
avfilter/vf_drawtext: improve glyph shaping and positioning
...
- text is now shaped using libharfbuz
- glyphs position is now accurate to 1/4 pixel in both directions
- the default line height is now the one defined in the font
Adds libharfbuzz dependency.
2023-06-19 22:35:52 +02:00
Paul B Mahol
4583a24c65
avfilter/vf_xfade: add reveal transitions
2023-06-17 19:48:10 +02:00
Paul B Mahol
8fe25b1203
avfilter/vf_xfade: add cover transitions
2023-06-17 19:48:09 +02:00
Philip Langdale
73a2252f1d
avfilter/vf_bwdif_cuda: CUDA accelerated bwdif deinterlacer
...
I've been sitting on this for 3 1/2 years now(!), and I finally got
around to fixing the loose ends and convincing myself that it was
correct. It follows the same basic structure as yadif_cuda, including
leaving out the edge handling, to avoid expensive branching.
2023-06-16 12:52:32 -07:00
Niklas Haas
c4cdd79435
lavfi/vf_libplacebo: add corner_rounding option
...
For what use it may be.
2023-05-29 19:11:18 +02:00
Paul B Mahol
f02964aee1
avfilter/af_silenceremove: add standard deviation detector
...
Useful in cases audio samples DC offset is not ~0.0, where
other detectors will fail to detect silence.
2023-05-29 11:47:10 +02:00
Lynne
6018f87599
doc/filtering: add documentation for Vulkan filters
...
This commit documents most of the Vulkan filters. Some of this was
copy-pasted from equivalent OpenCL filters.
2023-05-29 00:42:04 +02:00
Paul B Mahol
62d4110a64
avfilter/af_silenceremove: add timestamp option
2023-05-28 12:23:14 +02:00
Paul B Mahol
e53260c1f4
avfilter/af_silenceremove: add ptp detector
2023-05-28 12:23:11 +02:00
Paul B Mahol
e8e4863325
avfilter/af_silenceremove: fix the any/all confusion and change default
...
'any' stop mode is now correctly implemented for end trimming and is of limited usage.
Extend examples and other documentation of this filter.
2023-05-27 16:04:00 +02:00
Paul B Mahol
7927a96e2b
avfilter/af_silenceremove: add commands support
2023-05-27 11:17:58 +02:00
Paul B Mahol
5a13b133f8
avfilter/af_silenceremove: add median silence detector
2023-05-27 00:34:37 +02:00
Paul B Mahol
2b5166addf
avfilter/af_silenceremove: add real peak detector
...
Rename old peak detector to more correct name one.
2023-05-26 10:13:37 +02:00
Paul B Mahol
3235de4883
avfilter/af_silenceremove: switch to activate
...
Do full rewrite, new code is much faster for typical filter usages.
Also previous code was hard to follow and basically very-hard to maintain.
2023-05-26 10:13:37 +02:00
Paul B Mahol
a1838c59bb
avfilter/af_astats: add abs_peak_count stat
2023-05-25 19:51:39 +02:00
Gyan Doshi
944243477b
doc/filters: clarify requirements for subtitles wrap_unicode option
2023-05-25 12:40:08 +05:30
Zhao Zhili
43ace8f2bc
avfilter/vf_subtitles: add wrap_unicode option
...
So CJK can be wrapped automatically.
Signed-off-by: Zhao Zhili <zhilizhao@tencent.com>
2023-05-25 11:31:54 +08:00
Niklas Haas
21715ecff1
lavfi/vf_libplacebo: update peak detection options
...
Upstream peak detection lost one option and gained one option. Update
code and documentation as required.
2023-05-22 10:31:51 +02:00
Niklas Haas
643cf2ec46
lavfi/vf_libplacebo: update for new tone mapping API
...
This algorithm has once again been refactored, this time leading to a
dropping of the old `tone_mapping_mode` field, to be replaced by a
single tunable hybrid mode with configurable strength.
We can approximately map the old modes onto the new API for backwards
compatibility. Replace deprecated enums by their integer equivalents to
safely preserve this API until the next bump.
2023-05-22 10:31:50 +02:00
Niklas Haas
d637f20f05
lavfi/vf_libplacebo: switch to new gamut mapping API
...
Upstream deprecated the old ad-hoc, enum/intent-based gamut mapping API
and added a new API based on colorimetrically accurate gamut mapping
functions.
The relevant change for us is the addition of several new modes, as well
as deprecation of the old options. Update the documentation accordingly.
2023-05-22 10:31:50 +02:00
Paul B Mahol
0709680fc4
avfilter/vf_xfade: add horizontal and vertical wind transforms
2023-05-22 08:42:06 +02:00