Oneric
95115fcc18
avcodec/ass: accurately preserve colours
...
Colour values used in ASS files without a "YCbCr Matrix" header set to
"None" are subject to colour mangling, due to how ASS was historically
conceived. A more in-depth description can be found in the documetation
inside libass' public ass_types.h header. The important part is, if this
header is not set to "None", the final output colours can deviate from
the literal value specified in the file. When converting from non-ASS
formats we do not want any colour shift to happen, so let's set the
appropiate header.
NB: ffmpeg's subtitle filter, does not follow libass' documentation
regarding colour mangling, thus hiding the bug. Anything based on
VSFilter, XySubFilter or e.g. mpv do and might show the issue.
(Of course native ASS subs, which _do_ rely on colour mangling won't
work properly with the subtitle filter, but this can be fixed another
time)
2 years ago
Oneric
d82e30d0d1
avcodec/ass: fix comment
...
There is no v4 ASS. There are versions 1 to 4 of SSA (with only v4
being supported by softsub renderers), ASS which declares itself as v4+
or v4.00+, and the rarely used v4++/v4.00++, which isn't fully supported
by libass.
As reflected by the [V4+ Styles] section header, FFmpeg uses ASS, not
SSA v4, so adjust the comment accordingly.
2 years ago
Paul B Mahol
754fa305fa
avfilter/af_astats: accessing outlink in uninit is not valid
2 years ago
Rick Kern
33e70dc0b8
lavc/videotoolboxenc: fix warnings
...
This handles an unhandled error, and removes an unnecessary variable.
Signed-off-by: Rick Kern <kernrj@gmail.com>
2 years ago
James Darnley
5dfb4f9690
avcodec/x86/v210enc: change '0b' binary constant prefix to 'b' suffix
...
For compatability with yasm from 0.7.0
2 years ago
Paul B Mahol
e69909342e
avfilter/avf_showcwt: fix logic mistake
2 years ago
James Almer
fe196fd29a
avcodec/libsvtav1: don't force a default value for deprecated options
...
Stick to the library's default value instead.
Should address AOMediaCodec/SVT-AV1 issue #2011 .
Signed-off-by: James Almer <jamrial@gmail.com>
2 years ago
Paul B Mahol
8d9f7fa79e
avcodec/smcenc: improve compression ratio a little
...
Actually reverts previous change.
2 years ago
Paul B Mahol
fb51eebc6c
avcodec/smcenc: fix errors with using intra after inter skip
2 years ago
Paul B Mahol
1bebcd43e1
avcodec/smcenc: fix silly typo
2 years ago
Michael Niedermayer
bfa2a49857
tools/target_dec_fuzzer: Adjust threshold for RSCC
...
Fixes: Timeout
Fixes: 53681/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_RSCC_fuzzer-6627455180079104
Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2 years ago
Michael Niedermayer
6ad7403bce
avcodec/wavpack: Check for end of input in wv_unpack_dsd_high()
...
Fixes: Timeout
Fixes: 50793/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_WAVPACK_fuzzer-4980185027444736
Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2 years ago
Paul B Mahol
6b368bcb85
avfilter/af_apsyclip: add copy_props() call
2 years ago
Paul B Mahol
0d6a6c8750
avcodec/cfhdenc: height < 4 is not supported
2 years ago
Paul B Mahol
4d38d4607c
avfilter/af_astats: print stats in case nb_samples is 0
...
Happens with special function only.
2 years ago
Paul B Mahol
f56454544f
avcodec/smcenc: fixes for width not multiple of 4
2 years ago
James Darnley
690b7890f0
avcodec/x86/v210enc: remove unneeded instruction
2 years ago
James Darnley
c67a2b14a2
avcodec/x86/v210enc: expand and correct comments
2 years ago
James Darnley
651cb867b1
avcodec/v210enc: add new 10-bit function for avx512 avx512icl
...
avx512 on Skylake-X (Xeon D-2123IT):
1.19x faster (970±91.2 vs. 817±104.4 decicycles) compared with avx2
avx512icl on Ice Lake (Xeon Silver 4316):
2.52x faster (1350±5.3 vs. 535±9.5 decicycles) compared with avx2
2 years ago
James Darnley
bda53d2dde
avcodec/x86/v210enc: replace register use with named register
2 years ago
James Darnley
cfd1c3c0a1
checkasm/v210enc: test the entire width of 10-bit planar input arrays
2 years ago
Marvin Scholz
45ab5307a6
avformat/fifo: use av_dict_iterate
...
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
2 years ago
Marvin Scholz
d75d8370bd
avformat/matroskaenc: use av_dict_iterate
...
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
2 years ago
Marvin Scholz
643c2b4722
avformat/http: use av_dict_iterate
...
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
2 years ago
Marvin Scholz
fb93d3d043
avformat/asfenc: use av_dict_iterate
...
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
2 years ago
Marvin Scholz
521d8dcf88
avformat/apetag: use av_dict_iterate
...
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
2 years ago
Marvin Scholz
4bf8c9c2d8
avformat/nutenc: use av_dict_iterate
...
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
2 years ago
Marvin Scholz
0464aa484e
avformat/id3v2enc: use av_dict_iterate
...
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
2 years ago
Marvin Scholz
995616b752
avformat/ffmetaenc: use av_dict_iterate
...
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
2 years ago
Marvin Scholz
b31c16d625
avformat/wtvenc: use av_dict_iterate
...
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
2 years ago
Marvin Scholz
2b5391b88f
avformat/dump: use av_dict_iterate
...
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
2 years ago
Marvin Scholz
8298f20c59
avformat/lrcenc: use av_dict_iterate
...
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
2 years ago
Marvin Scholz
6c4f23cc20
avformat/hls: use av_dict_iterate
...
And constify oldentry too while at it.
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
2 years ago
Marvin Scholz
b463ef0339
avformat/flvenc: use av_dict_iterate
...
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
2 years ago
Marvin Scholz
b7c577cec7
avformat/metadata: use av_dict_iterate
...
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
2 years ago
Marvin Scholz
562d19b503
avformat/movenc: use av_dict_iterate
...
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
2 years ago
Marvin Scholz
4d1c9fa871
doc/examples/metadata: use av_dict_iterate
...
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
2 years ago
Marvin Scholz
401508b24b
avformat/cafenc: use av_dict_iterate
...
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
2 years ago
Marvin Scholz
fcbdd145cd
avfilter/f_metadata: use av_dict_iterate
...
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
2 years ago
Marvin Scholz
492b45cb19
avfilter/vf_libvmaf: use av_dict_iterate
...
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
2 years ago
Marvin Scholz
734acfde4c
avformat/vorbiscomment: use av_dict_iterate
...
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
2 years ago
Marvin Scholz
aa4edbb633
avcodec/avpacket: use av_dict_iterate
...
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
2 years ago
Marvin Scholz
0b3092aed3
avcodec/libxavs2: use av_dict_iterate
...
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
2 years ago
Marvin Scholz
d5d6e5ccec
avfilter/vf_coreimage: use av_dict_iterate
...
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
2 years ago
Marvin Scholz
1cf526c37a
avfilter/vf_scale: use av_dict_iterate
...
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
2 years ago
Marvin Scholz
f8584c13f0
avformat/smjpegenc: use av_dict_iterate
...
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
2 years ago
Marvin Scholz
3000cf7a57
avcodec/libvpxenc: use av_dict_iterate
...
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
2 years ago
Marvin Scholz
5b13238ce0
avcodec/librav1e: remove unnecessary variable
...
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
2 years ago
Marvin Scholz
e048d06621
avcodec/librav1e: use av_dict_iterate
...
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
2 years ago
Marvin Scholz
ece29ad0dc
fftools: use av_dict_get_string
...
Instead of manually assembling the string, use av_dict_get_string
which handles things like proper escaping too (even though it is
not yet needed here).
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
2 years ago