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
Michael Niedermayer
3323b515ab
doc/developer: Require new modules to include tests
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2023-06-24 01:50:24 +02:00
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
Tomas Härdin
8e53233f68
lavc/msrleenc: Add msrle encoder
...
Keyframes are marked automagically
2023-06-20 14:37:52 +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
Anton Khirnov
52d7ea6635
doc/ffmpeg: improve -stats_*_fmt documentation
2023-06-19 09:48:10 +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
Dawid Kozinski
3069a8fe3c
avformat/evc_muxer: Added muxer to handle writing EVC encoded data into file or output bytestream
...
- Provided AVOutputFormat structure describing EVC output format (ff_evc_muxer)
- Added documentation for EVC muxer
Signed-off-by: Dawid Kozinski <d.kozinski@samsung.com>
2023-06-15 09:51:13 -03:00
Gyan Doshi
41229ef705
doc/muxers: harmonize option presentation in hls
...
No surrounding option has the '-' prefix.
2023-06-15 15:07:05 +05:30
Anton Khirnov
ba32f28498
doc/examples/transcode: convert timestamps between filtering and encoding
...
The timebases do not have to match.
2023-06-03 11:27:42 +02:00
Anton Khirnov
811b0e02be
doc/examples/transcode: stop using decoder's AVCodecContext.time_base
...
The contents of this field are not defined for decoding. Use
pkt_timebase, which is the timebase of demuxed packets.
Drop a tautological av_packet_rescale_ts() call, as the stream and
decoder timebases are the same.
2023-06-03 11:27:23 +02:00
Anton Khirnov
828d3b4432
doc/examples/transcode: set packet timebase for decoding
...
It is recommended for callers to set it, though not required.
2023-06-03 11:27:11 +02: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
Dawid Kozinski
637afea88e
avcodec: MPEG-5 EVC codec registration
...
Added prerequisites that must be met before providing support for the MPEG-5 EVC codec
- Added new entry to codec IDs list
- Added new entry to the codec descriptor list
- Bumped libavcodec minor version
- Added profiles for EVC codec
Signed-off-by: Dawid Kozinski <d.kozinski@samsung.com>
Signed-off-by: James Almer <jamrial@gmail.com>
2023-05-29 11:38:21 -03: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
Michael Niedermayer
75918016ab
Move bessel_i0() from swresample/resample to avutil/mathematics
...
0th order modified bessel function of the first kind are used in multiple
places, lets avoid having 3+ different implementations
I picked this one as its accurate and quite fast, it can be replaced if
a better one is found
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2023-05-29 00:45:28 +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
Lynne
f3795e1857
APIchanges: add AVHWAccel changes and bump lavc minor
2023-05-29 00:42:03 +02:00
Lynne
db1d022781
APIchanges: add hwcontext_vulkan changes and bump lavu minor
2023-05-29 00:42:02 +02:00
Lynne
bef86ba86c
APIchanges: add new pixel formats supported and bump lavu minor
2023-05-29 00:42:02 +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
Paul B Mahol
65fe18040a
avfilter/f_graphmonitor: add flags option shortcuts
2023-05-21 13:02:02 +02:00
Paul B Mahol
b528e098a9
avfilter/f_graphmonitor: show also current timeline status of filter
2023-05-21 13:01:59 +02:00
Paul B Mahol
4c695bfa65
avfilter/f_graphmonitor: make mode option of type flags
2023-05-18 18:12:42 +02:00
James Almer
01d444c077
avutil/frame: add av_frame_replace
...
Signed-off-by: James Almer <jamrial@gmail.com>
2023-05-18 10:15:59 -03:00
James Almer
63767b79a5
avutil/frame: deprecate palette_has_changed
...
Not only this is information that relies on the concept of a sequence of
frames, which is completely out of place as a field in AVFrame, but there are
no known or intended uses of this field.
Signed-off-by: James Almer <jamrial@gmail.com>
2023-05-18 08:45:23 -03:00
Tobias Rapp
aa6eeb29cb
doc/ffmpeg: Extend documentation for sws_flags option
...
Clarify that -sws_flags are only applied to simple filtergraphs as a
default, not complex filtergraphs. Add a reference to the scaler
options.
2023-05-17 17:14:54 +02:00