Anton Khirnov
1b45405d44
tests/fate-run: add testing with a random number of threads
...
Useful for discovering bugs that depend on a specific thread count.
Use like THREADS=randomX for a random thread count from 1 to X, with
X=16 when not specified. Note that the thread count is different for
every test.
2023-07-11 19:19:32 +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
James Almer
d694c25b44
avutil/random_seed: add av_random_bytes()
...
Uses the existing code for av_get_random_seed() to return a buffer with
cryptographically secure random data, or an error if none could be generated.
Signed-off-by: James Almer <jamrial@gmail.com>
2023-07-05 10:06:05 -03:00
Devin Heitmueller
ac4247270c
avdevice/decklink_enc: add support for SMPTE 2038 VANC packet output
...
Support decoding and embedding VANC packets delivered via SMPTE 2038
into the SDI output. We leverage an intermediate queue because
data packets are announced separately from video but we need to embed
the data into the video frame when it is output.
Note that this patch has some additional abstraction for data
streams in general as opposed to just SMPTE 2038 packets. This is
because subsequent patches will introduce support for other
data codecs.
Thanks to Marton Balint for review/feedback.
Signed-off-by: Devin Heitmueller <dheitmueller@ltnglobal.com>
Signed-off-by: Marton Balint <cus@passwd.hu>
2023-07-02 19:57:45 +02:00
Paul B Mahol
b40324d417
doc/general_contents: update for recent additions
2023-06-30 21:39: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
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