Re: [FFmpeg-devel] [PATCH 24/35] fftools/ffmpeg: use the sync queues to handle -frames

2022-06-22 Thread Andreas Rheinhardt
Anton Khirnov: > Quoting Andreas Rheinhardt (2022-06-16 22:33:46) >> Anton Khirnov: >>> Same issues apply to it as to -shortest. >>> >>> Changes the results of the following tests: >>> - matroska-flac-extradata-update >>> The test reencodes two input FLAC streams into three output FLAC >>> stre

Re: [FFmpeg-devel] [PATCH 1/2] checkasm: updated tests for sw_scale

2022-06-22 Thread Martin Storsjö
On Tue, 21 Jun 2022, Martin Storsjö wrote: On Mon, 13 Jun 2022, Swinney, Jonathan wrote: - added a test for yuv2plane1 (currently disabled for x86_64) What's the reason for having it disabled for x86 - is it another case where the current implementations there aren't bitexact? Could we avoi

[FFmpeg-devel] [PATCH] avcodec/h2645_parse: Only trim RBSP trailing padding if it exists

2022-06-22 Thread Andreas Rheinhardt
It does not exist for NALUs for which the SODB is empty; it also does not exist for NALUs for which not even the complete header is present. The former category contains end of sequence and end of bitstream units. The latter category consists of one-byte HEVC units (the ordinary H.264 header is onl

Re: [FFmpeg-devel] [PATCH 2/2] avcodec/h2645_parse: Check HEVC NAL size

2022-06-22 Thread Andreas Rheinhardt
Andreas Rheinhardt: > Michael Niedermayer: >> Fixes: Assertion failure >> Fixes: >> 46662/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_HEVC_fuzzer-4947860854013952 >> >> This also results in more frames to be decoded from fate samples >> >> Found-by: continuous fuzzing process >> https://git

[FFmpeg-devel] [PATCH] avcodec/hevc_sei: Fix check for SEI end

2022-06-22 Thread Andreas Rheinhardt
The intention behind the current check seems to be to check for the rbsp_trailing_bits() syntax structure which is always 0x80 for valid SEI messages. Yet this is wrong: These trailing bits are not part of the GetBitContext -- they have already been stripped in ff_h2645_packet_split(). And it is ha

[FFmpeg-devel] [PATCH] ffmpeg: add option -isync

2022-06-22 Thread Gyan Doshi
This is a per-file input option that adjusts an input's timestamps with reference to another input, so that emitted packet timestamps account for the difference between the start times of the two inputs. Typical use case is to sync two or more live inputs such as capture devices. Both the target a

Re: [FFmpeg-devel] [PATCH v8 0/2] libjxl Colorspace Fixes

2022-06-22 Thread Leo Izen
On 6/15/22 10:31, Leo Izen wrote: On 6/9/22 07:31, Leo Izen wrote: On 6/1/22 22:14, Leo Izen wrote: Changes in v8: - Use avutil/csp for both encoding and decoding - Handle the non-XYB case with an attached ICC Profile on decoding - clean up some code and segment it out to static functions Leo

Re: [FFmpeg-devel] [PATCH 24/35] fftools/ffmpeg: use the sync queues to handle -frames

2022-06-22 Thread Anton Khirnov
Quoting Andreas Rheinhardt (2022-06-22 10:27:30) > Anton Khirnov: > > Quoting Andreas Rheinhardt (2022-06-16 22:33:46) > >> Anton Khirnov: > >>> Same issues apply to it as to -shortest. > >>> > >>> Changes the results of the following tests: > >>> - matroska-flac-extradata-update > >>> The test r

[FFmpeg-devel] [PATCH v3] libavcodec/qsvenc: Enable fixed QP configure in qsv CQP runtime

2022-06-22 Thread Wenbin Chen
From: Yue Heng Enable dynamic QP configuration in runtime on qsv encoder. Through AVFrame->metadata, we can set key "qsv_config_qp" to change QP configuration when we encode video in CQP mode. Signed-off-by: Yue Heng Signed-off-by: Wenbin Chen --- doc/encoders.texi | 10 + libavcodec/qs