Skip to content

Commit 976da1e

Browse files
committed
Merge remote-tracking branch 'upstream/master'
2 parents a117dc2 + 54d8386 commit 976da1e

File tree

316 files changed

+4662
-2351
lines changed

Some content is hidden

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

316 files changed

+4662
-2351
lines changed

Changelog

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@ Entries are sorted chronologically from oldest to youngest within each release,
22
releases are sorted from youngest to oldest.
33

44
version <next>:
5+
6+
7+
version 4.4:
58
- AudioToolbox output device
69
- MacCaption demuxer
710
- PGX decoder

compat/atomics/win32/stdatomic.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ do { \
9696
atomic_load(object)
9797

9898
#define atomic_exchange(object, desired) \
99-
InterlockedExchangePointer(object, desired);
99+
InterlockedExchangePointer((PVOID volatile *)object, (PVOID)desired)
100100

101101
#define atomic_exchange_explicit(object, desired, order) \
102102
atomic_exchange(object, desired)

configure

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3555,6 +3555,7 @@ derain_filter_select="dnn"
35553555
deshake_filter_select="pixelutils"
35563556
deshake_opencl_filter_deps="opencl"
35573557
dilation_opencl_filter_deps="opencl"
3558+
dnn_detect_filter_select="dnn"
35583559
dnn_processing_filter_select="dnn"
35593560
drawtext_filter_deps="libfreetype"
35603561
drawtext_filter_suggest="libfontconfig libfribidi"

doc/APIchanges

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,12 @@ libavutil: 2017-10-21
1414

1515

1616
API changes, most recent first:
17+
2021-04-17 - xxxxxxxxxx - lavu 56.73.100 - frame.h detection_bbox.h
18+
Add AV_FRAME_DATA_DETECTION_BBOXES
19+
20+
2021-04-06 - xxxxxxxxxx - lavf 58.78.100 - avformat.h
21+
Add avformat_index_get_entries_count(), avformat_index_get_entry(),
22+
and avformat_index_get_entry_from_timestamp().
1723

1824
2021-03-21 - xxxxxxxxxx - lavu 56.72.100 - frame.h
1925
Deprecated av_get_colorspace_name().

doc/decoders.texi

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -293,6 +293,8 @@ Enabled by default.
293293
@table @option
294294
@item compute_clut
295295
@table @option
296+
@item -2
297+
Compute clut once if no matching CLUT is in the stream.
296298
@item -1
297299
Compute clut if no matching CLUT is in the stream.
298300
@item 0

doc/demuxers.texi

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -243,11 +243,12 @@ which streams to actually receive.
243243
Each stream mirrors the @code{id} and @code{bandwidth} properties from the
244244
@code{<Representation>} as metadata keys named "id" and "variant_bitrate" respectively.
245245

246-
@section flv, live_flv
246+
@section flv, live_flv, kux
247247

248248
Adobe Flash Video Format demuxer.
249249

250250
This demuxer is used to demux FLV files and RTMP network streams. In case of live network streams, if you force format, you may use live_flv option instead of flv to survive timestamp discontinuities.
251+
KUX is a flv variant used on the Youku platform.
251252

252253
@example
253254
ffmpeg -f flv -i myfile.flv ...

doc/encoders.texi

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1268,6 +1268,10 @@ disabled
12681268
A description of some of the currently available video encoders
12691269
follows.
12701270

1271+
@section a64_multi, a64_multi5
1272+
1273+
A64 / Commodore 64 multicolor charset encoder. @code{a64_multi5} is extended with 5th color (colram).
1274+
12711275
@section GIF
12721276

12731277
GIF image/animation encoder.

doc/ffmpeg.texi

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1243,7 +1243,9 @@ by name, or it can create a new device as if
12431243
were called immediately before.
12441244

12451245
@item -hwaccels
1246-
List all hardware acceleration methods supported in this build of ffmpeg.
1246+
List all hardware acceleration components enabled in this build of ffmpeg.
1247+
Actual runtime availability depends on the hardware and its suitable driver
1248+
being installed.
12471249

12481250
@end table
12491251

doc/ffprobe.xsd

Lines changed: 14 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -29,22 +29,18 @@
2929
</xsd:complexType>
3030

3131
<xsd:complexType name="framesType">
32-
<xsd:sequence>
33-
<xsd:choice minOccurs="0" maxOccurs="unbounded">
34-
<xsd:element name="frame" type="ffprobe:frameType" minOccurs="0" maxOccurs="unbounded"/>
35-
<xsd:element name="subtitle" type="ffprobe:subtitleType" minOccurs="0" maxOccurs="unbounded"/>
36-
</xsd:choice>
37-
</xsd:sequence>
32+
<xsd:choice minOccurs="0" maxOccurs="unbounded">
33+
<xsd:element name="frame" type="ffprobe:frameType"/>
34+
<xsd:element name="subtitle" type="ffprobe:subtitleType"/>
35+
</xsd:choice>
3836
</xsd:complexType>
3937

4038
<xsd:complexType name="packetsAndFramesType">
41-
<xsd:sequence>
42-
<xsd:choice minOccurs="0" maxOccurs="unbounded">
43-
<xsd:element name="packet" type="ffprobe:packetType" minOccurs="0" maxOccurs="unbounded"/>
44-
<xsd:element name="frame" type="ffprobe:frameType" minOccurs="0" maxOccurs="unbounded"/>
45-
<xsd:element name="subtitle" type="ffprobe:subtitleType" minOccurs="0" maxOccurs="unbounded"/>
46-
</xsd:choice>
47-
</xsd:sequence>
39+
<xsd:choice minOccurs="0" maxOccurs="unbounded">
40+
<xsd:element name="packet" type="ffprobe:packetType"/>
41+
<xsd:element name="frame" type="ffprobe:frameType"/>
42+
<xsd:element name="subtitle" type="ffprobe:subtitleType"/>
43+
</xsd:choice>
4844
</xsd:complexType>
4945

5046
<xsd:complexType name="packetType">
@@ -199,6 +195,11 @@
199195
<xsd:attribute name="clean_effects" type="xsd:int" use="required" />
200196
<xsd:attribute name="attached_pic" type="xsd:int" use="required" />
201197
<xsd:attribute name="timed_thumbnails" type="xsd:int" use="required" />
198+
<xsd:attribute name="captions" type="xsd:int" use="required" />
199+
<xsd:attribute name="descriptions" type="xsd:int" use="required" />
200+
<xsd:attribute name="metadata" type="xsd:int" use="required" />
201+
<xsd:attribute name="dependent" type="xsd:int" use="required" />
202+
<xsd:attribute name="still_image" type="xsd:int" use="required" />
202203
</xsd:complexType>
203204

204205
<xsd:complexType name="streamType">

doc/filters.texi

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10127,6 +10127,46 @@ ffmpeg -i INPUT -f lavfi -i nullsrc=hd720,geq='r=128+80*(sin(sqrt((X-W/2)*(X-W/2
1012710127
@end example
1012810128
@end itemize
1012910129

10130+
@section dnn_detect
10131+
10132+
Do object detection with deep neural networks.
10133+
10134+
The filter accepts the following options:
10135+
10136+
@table @option
10137+
@item dnn_backend
10138+
Specify which DNN backend to use for model loading and execution. This option accepts
10139+
only openvino now, tensorflow backends will be added.
10140+
10141+
@item model
10142+
Set path to model file specifying network architecture and its parameters.
10143+
Note that different backends use different file formats.
10144+
10145+
@item input
10146+
Set the input name of the dnn network.
10147+
10148+
@item output
10149+
Set the output name of the dnn network.
10150+
10151+
@item confidence
10152+
Set the confidence threshold (default: 0.5).
10153+
10154+
@item labels
10155+
Set path to label file specifying the mapping between label id and name.
10156+
Each label name is written in one line, tailing spaces and empty lines are skipped.
10157+
The first line is the name of label id 0 (usually it is 'background'),
10158+
and the second line is the name of label id 1, etc.
10159+
The label id is considered as name if the label file is not provided.
10160+
10161+
@item backend_configs
10162+
Set the configs to be passed into backend
10163+
10164+
@item async
10165+
use DNN async execution if set (default: set),
10166+
roll back to sync execution if the backend does not support async.
10167+
10168+
@end table
10169+
1013010170
@anchor{dnn_processing}
1013110171
@section dnn_processing
1013210172

@@ -12139,6 +12179,9 @@ Number of mipmaps, default is 3.
1213912179

1214012180
@item xmin, ymin, xmax, ymax
1214112181
Specifies the rectangle in which to search.
12182+
12183+
@item discard
12184+
Discard frames where object is not detected. Default is disabled.
1214212185
@end table
1214312186

1214412187
@subsection Examples
@@ -21760,6 +21803,9 @@ Default is @code{3}.
2176021803
Apply cross fade from one input video stream to another input video stream.
2176121804
The cross fade is applied for specified duration.
2176221805

21806+
Both inputs must be constant frame-rate and have the same resolution, pixel format,
21807+
frame rate and timebase.
21808+
2176321809
The filter accepts the following options:
2176421810

2176521811
@table @option

0 commit comments

Comments
 (0)