Skip to content

Commit 1752943

Browse files
committed
Merge remote-tracking branch 'upstream/master'
2 parents 37034cc + 95af3b6 commit 1752943

File tree

410 files changed

+14808
-7837
lines changed

Some content is hidden

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

410 files changed

+14808
-7837
lines changed

Changelog

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,22 @@ version <next>:
6161
- shear filter
6262
- kirsch filter
6363
- colortemperature filter
64+
- colorcontrast filter
65+
- PFM encoder
66+
- colorcorrect filter
67+
- binka demuxer
68+
- XBM parser
69+
- xbm_pipe demuxer
70+
- colorize filter
71+
- CRI parser
72+
- aexciter audio filter
73+
- exposure video filter
74+
- monochrome video filter
75+
- setts bitstream filter
76+
- vif video filter
77+
- OpenEXR image encoder
78+
- Simbiosis IMX decoder
79+
- Simbiosis IMX demuxer
6480

6581

6682
version 4.3:

compat/cuda/cuda_runtime.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ typedef struct __device_builtin__ __align__(4) uchar4
7373

7474
typedef struct __device_builtin__ __align__(8) ushort4
7575
{
76-
unsigned char x, y, z, w;
76+
unsigned short x, y, z, w;
7777
} ushort4;
7878

7979
typedef struct __device_builtin__ __align__(16) int4

configure

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2652,7 +2652,7 @@ rdft_select="fft"
26522652

26532653
# decoders / encoders
26542654
aac_decoder_select="adts_header mdct15 mdct sinewin"
2655-
aac_fixed_decoder_select="adts_header mdct sinewin"
2655+
aac_fixed_decoder_select="adts_header mdct"
26562656
aac_encoder_select="audio_frame_queue iirfilter lpc mdct sinewin"
26572657
aac_latm_decoder_select="aac_decoder aac_latm_parser"
26582658
ac3_decoder_select="ac3_parser ac3dsp bswapdsp fmtconvert mdct"
@@ -2688,7 +2688,6 @@ atrac3p_decoder_select="mdct sinewin"
26882688
atrac3pal_decoder_select="mdct sinewin"
26892689
atrac9_decoder_select="mdct"
26902690
av1_decoder_select="cbs_av1"
2691-
avrn_decoder_select="exif jpegtables"
26922691
bink_decoder_select="blockdsp hpeldsp"
26932692
binkaudio_dct_decoder_select="mdct rdft dct sinewin wma_freqs"
26942693
binkaudio_rdft_decoder_select="mdct rdft sinewin wma_freqs"
@@ -2716,6 +2715,7 @@ eamad_decoder_select="aandcttables blockdsp bswapdsp idctdsp mpegvideo"
27162715
eatgq_decoder_select="aandcttables"
27172716
eatqi_decoder_select="aandcttables blockdsp bswapdsp idctdsp"
27182717
exr_decoder_deps="zlib"
2718+
exr_encoder_deps="zlib"
27192719
ffv1_decoder_select="rangecoder"
27202720
ffv1_encoder_select="rangecoder"
27212721
ffvhuff_decoder_select="huffyuv_decoder"
@@ -2761,7 +2761,7 @@ interplay_video_decoder_select="hpeldsp"
27612761
jpegls_decoder_select="mjpeg_decoder"
27622762
jv_decoder_select="blockdsp"
27632763
lagarith_decoder_select="llviddsp"
2764-
ljpeg_encoder_select="idctdsp jpegtables mpegvideoenc"
2764+
ljpeg_encoder_select="idctdsp jpegtables"
27652765
lscr_decoder_deps="zlib"
27662766
magicyuv_decoder_select="llviddsp"
27672767
magicyuv_encoder_select="llvidencdsp"
@@ -3306,9 +3306,9 @@ asf_o_demuxer_select="riffdec"
33063306
asf_muxer_select="riffenc"
33073307
asf_stream_muxer_select="asf_muxer"
33083308
av1_demuxer_select="av1_frame_merge_bsf av1_parser"
3309-
avi_demuxer_select="iso_media riffdec exif"
3309+
avi_demuxer_select="riffdec exif"
33103310
avi_muxer_select="riffenc"
3311-
caf_demuxer_select="iso_media riffdec"
3311+
caf_demuxer_select="iso_media"
33123312
caf_muxer_select="iso_media"
33133313
dash_muxer_select="mp4_muxer"
33143314
dash_demuxer_deps="libxml2"
@@ -3334,9 +3334,9 @@ ismv_muxer_select="mov_muxer"
33343334
ivf_muxer_select="av1_metadata_bsf vp9_superframe_bsf"
33353335
latm_muxer_select="aac_adtstoasc_bsf"
33363336
matroska_audio_muxer_select="matroska_muxer"
3337-
matroska_demuxer_select="iso_media riffdec"
3337+
matroska_demuxer_select="riffdec"
33383338
matroska_demuxer_suggest="bzlib lzo zlib"
3339-
matroska_muxer_select="iso_media riffenc vp9_superframe_bsf aac_adtstoasc_bsf"
3339+
matroska_muxer_select="riffenc vp9_superframe_bsf aac_adtstoasc_bsf"
33403340
mlp_demuxer_select="mlp_parser"
33413341
mmf_muxer_select="riffenc"
33423342
mov_demuxer_select="iso_media riffdec"
@@ -3382,7 +3382,7 @@ w64_muxer_select="wav_muxer"
33823382
wav_demuxer_select="riffdec"
33833383
wav_muxer_select="riffenc"
33843384
webm_chunk_muxer_select="webm_muxer"
3385-
webm_muxer_select="iso_media riffenc"
3385+
webm_muxer_select="riffenc"
33863386
webm_dash_manifest_demuxer_select="matroska_demuxer"
33873387
wtv_demuxer_select="mpegts_demuxer riffdec"
33883388
wtv_muxer_select="mpegts_muxer riffenc"
@@ -6242,7 +6242,7 @@ fi
62426242
if enabled cuda_nvcc; then
62436243
nvccflags="$nvccflags -ptx"
62446244
else
6245-
nvccflags="$nvccflags -S -nocudalib -nocudainc --cuda-device-only -include ${source_link}/compat/cuda/cuda_runtime.h"
6245+
nvccflags="$nvccflags -S -nocudalib -nocudainc --cuda-device-only -Wno-c++11-narrowing -include ${source_link}/compat/cuda/cuda_runtime.h"
62466246
check_nvcc cuda_llvm
62476247
fi
62486248

@@ -7579,6 +7579,7 @@ cat > $TMPH <<EOF
75797579
#define FFMPEG_DATADIR "$(eval c_escape $datadir)"
75807580
#define AVCONV_DATADIR "$(eval c_escape $datadir)"
75817581
#define CC_IDENT "$(c_escape ${cc_ident:-Unknown compiler})"
7582+
#define OS_NAME $target_os
75827583
#define av_restrict $restrict_keyword
75837584
#define EXTERN_PREFIX "${extern_prefix}"
75847585
#define EXTERN_ASM ${extern_prefix}

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-02-21 - xxxxxxxxxx - lavu 56.66.100 - tx.h
19+
Add enum AVTXFlags and AVTXFlags.AV_TX_INPLACE
20+
21+
2021-02-14 - xxxxxxxxxx - lavd 58.12.100 - avdevice.h
22+
Deprecated avdevice_capabilities_create() and
23+
avdevice_capabilities_free().
24+
25+
2021-02-xx - xxxxxxxxxx - lavu 56.xx.100 - common.h
26+
Add FFABS64U()
27+
1828
2021-01-26 - xxxxxxxxxx - lavu 56.64.100 - common.h
1929
Add FFABSU()
2030

doc/bitstream_filters.texi

Lines changed: 57 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -675,6 +675,63 @@ Remove extradata from all frames.
675675
@end table
676676
@end table
677677

678+
@section setts
679+
Set PTS and DTS in packets.
680+
681+
It accepts the following parameters:
682+
@table @option
683+
@item ts
684+
@item pts
685+
@item dts
686+
Set expressions for PTS, DTS or both.
687+
@end table
688+
689+
The expressions are evaluated through the eval API and can contain the following
690+
constants:
691+
692+
@table @option
693+
@item N
694+
The count of the input packet. Starting from 0.
695+
696+
@item TS
697+
The demux timestamp in input in case of @code{ts} or @code{dts} option or presentation
698+
timestamp in case of @code{pts} option.
699+
700+
@item POS
701+
The original position in the file of the packet, or undefined if undefined
702+
for the current packet
703+
704+
@item DTS
705+
The demux timestamp in input.
706+
707+
@item PTS
708+
The presentation timestamp in input.
709+
710+
@item STARTDTS
711+
The DTS of the first packet.
712+
713+
@item STARTPTS
714+
The PTS of the first packet.
715+
716+
@item PREV_INDTS
717+
The previous input DTS.
718+
719+
@item PREV_INPTS
720+
The previous input PTS.
721+
722+
@item PREV_OUTDTS
723+
The previous output DTS.
724+
725+
@item PREV_OUTPTS
726+
The previous output PTS.
727+
728+
@item TB
729+
The timebase of stream packet belongs.
730+
731+
@item SR
732+
The sample rate of stream packet belongs.
733+
@end table
734+
678735
@anchor{text2movsub}
679736
@section text2movsub
680737

doc/encoders.texi

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1684,6 +1684,17 @@ Enable interintra compound. Default is true.
16841684
@item enable-smooth-interintra (@emph{boolean}) (Requires libaom >= v2.0.0)
16851685
Enable smooth interintra mode. Default is true.
16861686

1687+
@item aom-params
1688+
Set libaom options using a list of @var{key}=@var{value} pairs separated
1689+
by ":". For a list of supported options, see @command{aomenc --help} under the
1690+
section "AV1 Specific Options".
1691+
1692+
For example to specify libaom encoding options with @option{-aom-params}:
1693+
1694+
@example
1695+
ffmpeg -i input -c:v libaom-av1 -b:v 500K -aom-params tune=psnr:enable-tpl-model=1 output.mp4
1696+
@end example
1697+
16871698
@end table
16881699

16891700
@section libsvtav1

doc/ffmpeg.texi

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -759,6 +759,13 @@ If in doubt use @option{-framerate} instead of the input option @option{-r}.
759759
As an output option, duplicate or drop input frames to achieve constant output
760760
frame rate @var{fps}.
761761

762+
@item -fpsmax[:@var{stream_specifier}] @var{fps} (@emph{output,per-stream})
763+
Set maximum frame rate (Hz value, fraction or abbreviation).
764+
765+
Clamps output frame rate when output framerate is auto-set and is higher than this value.
766+
Useful in batch processing or when input framerate is wrongly detected as very high.
767+
It cannot be set together with @code{-r}. It is ignored during streamcopy.
768+
762769
@item -s[:@var{stream_specifier}] @var{size} (@emph{input/output,per-stream})
763770
Set frame size.
764771

@@ -1511,6 +1518,11 @@ adding/dropping samples to make it match the timestamps. This option effectively
15111518
a threshold to select between hard (add/drop) and soft (squeeze/stretch) compensation.
15121519
@code{-async} must be set to a positive value.
15131520

1521+
@item -apad @var{parameters} (@emph{output,per-stream})
1522+
Pad the output audio stream(s). This is the same as applying @code{-af apad}.
1523+
Argument is a string of filter parameters composed the same as with the @code{apad} filter.
1524+
@code{-shortest} must be set for this output for the option to take effect.
1525+
15141526
@item -copyts
15151527
Do not process input timestamps, but keep their values without trying
15161528
to sanitize them. In particular, do not remove the initial start time

doc/ffprobe.xsd

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -61,8 +61,6 @@
6161
<xsd:attribute name="dts_time" type="xsd:float" />
6262
<xsd:attribute name="duration" type="xsd:long" />
6363
<xsd:attribute name="duration_time" type="xsd:float" />
64-
<xsd:attribute name="convergence_duration" type="xsd:long" />
65-
<xsd:attribute name="convergence_duration_time" type="xsd:float" />
6664
<xsd:attribute name="size" type="xsd:long" use="required" />
6765
<xsd:attribute name="pos" type="xsd:long" />
6866
<xsd:attribute name="flags" type="xsd:string" use="required" />
@@ -215,7 +213,6 @@
215213
<xsd:attribute name="codec_long_name" type="xsd:string" />
216214
<xsd:attribute name="profile" type="xsd:string" />
217215
<xsd:attribute name="codec_type" type="xsd:string" />
218-
<xsd:attribute name="codec_time_base" type="xsd:string" use="required"/>
219216
<xsd:attribute name="codec_tag" type="xsd:string" use="required"/>
220217
<xsd:attribute name="codec_tag_string" type="xsd:string" use="required"/>
221218
<xsd:attribute name="extradata" type="xsd:string" />
@@ -238,7 +235,6 @@
238235
<xsd:attribute name="color_primaries" type="xsd:string"/>
239236
<xsd:attribute name="chroma_location" type="xsd:string"/>
240237
<xsd:attribute name="field_order" type="xsd:string"/>
241-
<xsd:attribute name="timecode" type="xsd:string"/>
242238
<xsd:attribute name="refs" type="xsd:int"/>
243239

244240
<!-- audio attributes -->
@@ -358,7 +354,6 @@
358354
<xsd:attribute name="hwaccel" type="xsd:int" use="required"/>
359355
<xsd:attribute name="planar" type="xsd:int" use="required"/>
360356
<xsd:attribute name="rgb" type="xsd:int" use="required"/>
361-
<xsd:attribute name="pseudopal" type="xsd:int" use="required"/>
362357
<xsd:attribute name="alpha" type="xsd:int" use="required"/>
363358
</xsd:complexType>
364359

0 commit comments

Comments
 (0)