Skip to content

Commit dcbbbe3

Browse files
committed
Merge remote-tracking branch 'upstream/master'
2 parents f919964 + 44e27d9 commit dcbbbe3

File tree

329 files changed

+10380
-8040
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

329 files changed

+10380
-8040
lines changed

Changelog

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,12 @@ version <next>:
5555
- asuperpass and asuperstop filter
5656
- shufflepixels filter
5757
- tmidequalizer filter
58+
- estdif filter
59+
- epx filter
60+
- Dolby E parser
61+
- shear filter
62+
- kirsch filter
63+
- colortemperature filter
5864

5965

6066
version 4.3:

MAINTAINERS

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ Patchwork Andriy Gelman
5757
mailing lists Baptiste Coudurier
5858
Twitter Reynaldo H. Verdejo Pinochet
5959
Launchpad Timothy Gu
60-
ffmpeg-security Andreas Cadhalpun, Carl Eugen Hoyos, Clément Bœsch, Michael Niedermayer, Reimar Doeffinger, Rodger Combs, wm4
60+
ffmpeg-security Andreas Cadhalpun, Carl Eugen Hoyos, Clément Bœsch, Michael Niedermayer, Reimar Doeffinger, rcombs, wm4
6161

6262

6363
libavutil
@@ -144,7 +144,7 @@ Codecs:
144144
ass* Aurelien Jacobs
145145
asv* Michael Niedermayer
146146
atrac3plus* Maxim Poliakovski
147-
audiotoolbox* Rodger Combs
147+
audiotoolbox* rcombs
148148
avs2* Huiwen Ren
149149
bgmc.c, bgmc.h Thilo Borgmann
150150
binkaudio.c Peter Ross

compat/cuda/cuda_runtime.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/*
22
* Minimum CUDA compatibility definitions header
33
*
4-
* Copyright (c) 2019 Rodger Combs
4+
* Copyright (c) 2019 rcombs
55
*
66
* This file is part of FFmpeg.
77
*

configure

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4268,7 +4268,7 @@ case "$toolchain" in
42684268
ld_default="$source_path/compat/windows/mslink"
42694269
nm_default="dumpbin.exe -symbols"
42704270
ar_default="lib.exe"
4271-
case "$arch" in
4271+
case "${arch:-$arch_default}" in
42724272
aarch64|arm64)
42734273
as_default="armasm64.exe"
42744274
;;
@@ -6408,7 +6408,7 @@ enabled libopus && {
64086408
}
64096409
enabled libpulse && require_pkg_config libpulse libpulse pulse/pulseaudio.h pa_context_new
64106410
enabled librabbitmq && require_pkg_config librabbitmq "librabbitmq >= 0.7.1" amqp.h amqp_new_connection
6411-
enabled librav1e && require_pkg_config librav1e "rav1e >= 0.1.0" rav1e.h rav1e_context_new
6411+
enabled librav1e && require_pkg_config librav1e "rav1e >= 0.4.0" rav1e.h rav1e_context_new
64126412
enabled librsvg && require_pkg_config librsvg librsvg-2.0 librsvg-2.0/librsvg/rsvg.h rsvg_handle_render_cairo
64136413
enabled librtmp && require_pkg_config librtmp librtmp librtmp/rtmp.h RTMP_Socket
64146414
enabled librubberband && require_pkg_config librubberband "rubberband >= 1.8.1" rubberband/rubberband-c.h rubberband_new -lstdc++ && append librubberband_extralibs "-lstdc++"

doc/APIchanges

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,16 @@ libavutil: 2017-10-21
1515

1616
API changes, most recent first:
1717

18+
2021-01-26 - xxxxxxxxxx - lavu 56.64.100 - common.h
19+
Add FFABSU()
20+
21+
2021-01-25 - xxxxxxxxxx - lavc 58.119.100 - avcodec.h
22+
Deprecate AVCodecContext.debug_mv, FF_DEBUG_VIS_MV_P_FOR, FF_DEBUG_VIS_MV_B_FOR,
23+
FF_DEBUG_VIS_MV_B_BACK
24+
25+
2021-01-11 - xxxxxxxxxx - lavc 58.116.100 - avcodec.h
26+
Add FF_PROFILE_VVC_MAIN_10 and FF_PROFILE_VVC_MAIN_10_444.
27+
1828
2020-xx-xx - xxxxxxxxxx - lavu 56.63.100 - video_enc_params.h
1929
Add AV_VIDEO_ENC_PARAMS_MPEG2
2030

doc/encoders.texi

Lines changed: 35 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -151,10 +151,9 @@ the undocumented RealAudio 3 (a.k.a. dnet).
151151
The @var{ac3} encoder uses floating-point math, while the @var{ac3_fixed}
152152
encoder only uses fixed-point integer math. This does not mean that one is
153153
always faster, just that one or the other may be better suited to a
154-
particular system. The floating-point encoder will generally produce better
155-
quality audio for a given bitrate. The @var{ac3_fixed} encoder is not the
156-
default codec for any of the output formats, so it must be specified explicitly
157-
using the option @code{-acodec ac3_fixed} in order to use it.
154+
particular system. The @var{ac3_fixed} encoder is not the default codec for
155+
any of the output formats, so it must be specified explicitly using the option
156+
@code{-acodec ac3_fixed} in order to use it.
158157

159158
@subsection AC-3 Metadata
160159

@@ -2129,6 +2128,38 @@ midpoint is passed in rather than calculated for a specific clip or chunk.
21292128
The valid range is [0, 10000]. 0 (default) uses standard VBR.
21302129
@item enable-tpl @var{boolean}
21312130
Enable temporal dependency model.
2131+
@item ref-frame-config
2132+
Using per-frame metadata, set members of the structure @code{vpx_svc_ref_frame_config_t} in @code{vpx/vp8cx.h} to fine-control referencing schemes and frame buffer management.
2133+
@*Use a :-separated list of key=value pairs.
2134+
For example,
2135+
@example
2136+
av_dict_set(&av_frame->metadata, "ref-frame-config", \
2137+
"rfc_update_buffer_slot=7:rfc_lst_fb_idx=0:rfc_gld_fb_idx=1:rfc_alt_fb_idx=2:rfc_reference_last=0:rfc_reference_golden=0:rfc_reference_alt_ref=0");
2138+
@end example
2139+
@table @option
2140+
@item rfc_update_buffer_slot
2141+
Indicates the buffer slot number to update
2142+
@item rfc_update_last
2143+
Indicates whether to update the LAST frame
2144+
@item rfc_update_golden
2145+
Indicates whether to update GOLDEN frame
2146+
@item rfc_update_alt_ref
2147+
Indicates whether to update ALT_REF frame
2148+
@item rfc_lst_fb_idx
2149+
LAST frame buffer index
2150+
@item rfc_gld_fb_idx
2151+
GOLDEN frame buffer index
2152+
@item rfc_alt_fb_idx
2153+
ALT_REF frame buffer index
2154+
@item rfc_reference_last
2155+
Indicates whether to reference LAST frame
2156+
@item rfc_reference_golden
2157+
Indicates whether to reference GOLDEN frame
2158+
@item rfc_reference_alt_ref
2159+
Indicates whether to reference ALT_REF frame
2160+
@item rfc_reference_duration
2161+
Indicates frame duration
2162+
@end table
21322163
@end table
21332164

21342165
@end table

doc/ffmpeg.texi

Lines changed: 27 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1505,6 +1505,12 @@ is enabled.
15051505

15061506
This option has been deprecated. Use the @code{aresample} audio filter instead.
15071507

1508+
@item -adrift_threshold @var{time}
1509+
Set the minimum difference between timestamps and audio data (in seconds) to trigger
1510+
adding/dropping samples to make it match the timestamps. This option effectively is
1511+
a threshold to select between hard (add/drop) and soft (squeeze/stretch) compensation.
1512+
@code{-async} must be set to a positive value.
1513+
15081514
@item -copyts
15091515
Do not process input timestamps, but keep their values without trying
15101516
to sanitize them. In particular, do not remove the initial start time
@@ -1659,6 +1665,22 @@ graph will be added to the output file automatically, so we can simply write
16591665
ffmpeg -i video.mkv -i image.png -filter_complex 'overlay' out.mkv
16601666
@end example
16611667

1668+
As a special exception, you can use a bitmap subtitle stream as input: it
1669+
will be converted into a video with the same size as the largest video in
1670+
the file, or 720x576 if no video is present. Note that this is an
1671+
experimental and temporary solution. It will be removed once libavfilter has
1672+
proper support for subtitles.
1673+
1674+
For example, to hardcode subtitles on top of a DVB-T recording stored in
1675+
MPEG-TS format, delaying the subtitles by 1 second:
1676+
@example
1677+
ffmpeg -i input.ts -filter_complex \
1678+
'[#0x2ef] setpts=PTS+1/TB [sub] ; [#0x2d0] [sub] overlay' \
1679+
-sn -map '#0x2dc' output.mkv
1680+
@end example
1681+
(0x2d0, 0x2dc and 0x2ef are the MPEG-TS PIDs of respectively the video,
1682+
audio and subtitles streams; 0:0, 0:3 and 0:7 would have worked too)
1683+
16621684
To generate 5 seconds of pure red video using lavfi @code{color} source:
16631685
@example
16641686
ffmpeg -filter_complex 'color=c=red' -t 5 out.mkv
@@ -1739,6 +1761,11 @@ No packets were passed to the muxer, the output is empty.
17391761
No packets were passed to the muxer in some of the output streams.
17401762
@end table
17411763

1764+
@item -max_error_rate (@emph{global})
1765+
Set fraction of decoding frame failures across all inputs which when crossed
1766+
ffmpeg will return exit code 69. Crossing this threshold does not terminate
1767+
processing. Range is a floating-point number between 0 to 1. Default is 2/3.
1768+
17421769
@item -xerror (@emph{global})
17431770
Stop and exit on error
17441771

@@ -1768,22 +1795,6 @@ On by default, to explicitly disable it you need to specify
17681795

17691796
@end table
17701797

1771-
As a special exception, you can use a bitmap subtitle stream as input: it
1772-
will be converted into a video with the same size as the largest video in
1773-
the file, or 720x576 if no video is present. Note that this is an
1774-
experimental and temporary solution. It will be removed once libavfilter has
1775-
proper support for subtitles.
1776-
1777-
For example, to hardcode subtitles on top of a DVB-T recording stored in
1778-
MPEG-TS format, delaying the subtitles by 1 second:
1779-
@example
1780-
ffmpeg -i input.ts -filter_complex \
1781-
'[#0x2ef] setpts=PTS+1/TB [sub] ; [#0x2d0] [sub] overlay' \
1782-
-sn -map '#0x2dc' output.mkv
1783-
@end example
1784-
(0x2d0, 0x2dc and 0x2ef are the MPEG-TS PIDs of respectively the video,
1785-
audio and subtitles streams; 0:0, 0:3 and 0:7 would have worked too)
1786-
17871798
@section Preset files
17881799
A preset file contains a sequence of @var{option}=@var{value} pairs,
17891800
one for each line, specifying a sequence of options which would be

doc/fftools-common-opts.texi

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,9 @@ Use the @option{-protocols} option to get a list of all protocols.
122122
@item -version
123123
Show version.
124124

125+
@item -buildconf
126+
Show the build configuration, one option per line.
127+
125128
@item -formats
126129
Show available formats (including devices).
127130

@@ -349,6 +352,12 @@ Possible flags for this option are:
349352
@item k8
350353
@end table
351354
@end table
355+
356+
@item -max_alloc @var{bytes}
357+
Set the maximum size limit for allocating a block on the heap by ffmpeg's
358+
family of malloc functions. Exercise @strong{extreme caution} when using
359+
this option. Don't use if you do not understand the full consequence of doing so.
360+
Default is INT_MAX.
352361
@end table
353362

354363
@section AVOptions

0 commit comments

Comments
 (0)