Re: [FFmpeg-devel] [PATCH 1/2] avfilter/vf_lut3d: expose 3D LUT file parse function.

2023-10-16 Thread Xiang, Haihao
On Sa, 2023-09-23 at 23:36 +0800, Chen Yufei wrote: > Signed-off-by: Chen Yufei > --- >  libavfilter/Makefile   |   8 +- >  libavfilter/lut3d.c    | 669 + >  libavfilter/lut3d.h    |  13 + >  libavfilter/vf_lut3d.c | 590 +---

Re: [FFmpeg-devel] [PATCH 2/2] avfilter/vf_vpp_qsv: apply 3D LUT from file.

2023-10-16 Thread Xiang, Haihao
On Sa, 2023-09-23 at 23:36 +0800, Chen Yufei wrote: > Usage: "vpp_qsv=lut3d_file=" > > Only enabled with VAAPI because using VASurface to store 3D LUT. > > Signed-off-by: Chen Yufei > --- >  libavfilter/vf_vpp_qsv.c | 241 ++- >  1 file changed, 236 insertions(

Re: [FFmpeg-devel] [PATCH v2 1/1] lavc/qsvdec: fix dead loop of qsv decoding

2023-10-16 Thread Xiang, Haihao
On Do, 2023-09-14 at 15:08 +0800, zhilizhao(赵志立) wrote: > > > > On Sep 14, 2023, at 14:11, Xiang, Haihao > > wrote: > > > > > > > This seems like a bug in libmfx/libvpl. > > > > I agree there should be a bug in libmfx/libvpl, but we have to avoid this > > dead > > loop in FFmpeg. > > Is it p

Re: [FFmpeg-devel] [PATCH] ffprobe: fix XML rendering, review XML layout

2023-10-16 Thread Tobias Rapp
On 15/10/2023 04:59, Stefano Sabatini wrote: On date Sunday 2023-10-15 03:09:14 +0200, Timo Rothenpieler wrote: Isn't a change like that practically an ABI break, and thus would need to happen on a major bump? Yes, but in practice we are not tracking changes in the XML format, and major bumps

[FFmpeg-devel] [PATCH] avcodec/amfenc: Fix for windows imprecise sleep

2023-10-16 Thread Evgeny Pavlov
This commit reduces the sleep time on Windows to improve AMF encoding performance on low resolution input videos. This fix is for Windows only, because sleep() function isn't very accurate on Windows OS. Fix for issue #10622 Signed-off-by: Evgeny Pavlov --- libavcodec/amfenc.c | 4 1 file

Re: [FFmpeg-devel] [PATCH v2] avcodec/jpegxl_parser: fix OOB read regression

2023-10-16 Thread Leo Izen
On 10/14/23 20:49, Leo Izen wrote: In f7ac3512f5b5cb8eb149f37300b43461d8e93af3 the size of the dynamically allocated buffer was shrunk, but it was made too small for very small alphabet sizes. This patch restores the size to prevent an OOB read. Reported-by: Cole Dilorenzo Signed-off-by: Leo Iz

Re: [FFmpeg-devel] [PATCH] fate/screen: workaround test failure on mac M1

2023-10-16 Thread Zhao Zhili
> On Oct 8, 2023, at 21:22, Zhao Zhili wrote: > >> >> On Oct 8, 2023, at 21:17, Zhao Zhili wrote: >> >> From: Zhao Zhili >> >> The last frame is corrupted. It has different results on different >> platform. >> --- >> tests/fate/screen.mak| 3 ++- >> tests/ref/fate/zmbv-8bit | 1 - >> 2 f

Re: [FFmpeg-devel] [PATCH 1/2] avcodec/videotoolboxenc: add hw_configs

2023-10-16 Thread Zhao Zhili
> On Oct 12, 2023, at 23:09, Zhao Zhili wrote: > > >> From: ffmpeg-devel On Behalf Of Andreas >> Rheinhardt >> Sent: 2023年10月12日 22:56 >> To: ffmpeg-devel@ffmpeg.org >> Subject: Re: [FFmpeg-devel] [PATCH 1/2] avcodec/videotoolboxenc: add >> hw_configs >> >> Zhao Zhili: >>> From: ffmp

Re: [FFmpeg-devel] [PATCH] VMAF is now propagated to the AVFrame coming from the graph

2023-10-16 Thread Kyle Swanson
Hi, On Fri, Oct 13, 2023 at 11:01 PM wrote: > > From: ichlubna > > Related to my ticket here: https://trac.ffmpeg.org/ticket/10586 > VMAF score was not propagated to AVFormat like SSIM or PSNR in the result of > the filter graph. I have fixed this to make the usage consistent and possible > to

Re: [FFmpeg-devel] [PATCH] fate/screen: workaround test failure on mac M1

2023-10-16 Thread Andreas Rheinhardt
Zhao Zhili: > From: Zhao Zhili > > The last frame is corrupted. It has different results on different > platform. > --- > tests/fate/screen.mak| 3 ++- > tests/ref/fate/zmbv-8bit | 1 - > 2 files changed, 2 insertions(+), 2 deletions(-) > > diff --git a/tests/fate/screen.mak b/tests/fate/sc

Re: [FFmpeg-devel] [PATCH] fate/screen: workaround test failure on mac M1

2023-10-16 Thread Zhao Zhili
> From: ffmpeg-devel On Behalf Of Andreas > Rheinhardt > Sent: 2023年10月17日 1:41 > To: ffmpeg-devel@ffmpeg.org > Subject: Re: [FFmpeg-devel] [PATCH] fate/screen: workaround test failure on > mac M1 > > Zhao Zhili: > > From: Zhao Zhili > > > > The last frame is corrupted. It has different resul

Re: [FFmpeg-devel] [PATCH v1] avcodec/cbs: Keep ff_cbs_trace_syntax_element

2023-10-16 Thread Mark Thompson
On 10/10/2023 04:30, Dai, Jianhui J wrote: -Original Message- From: Dai, Jianhui J Sent: Tuesday, October 10, 2023 10:57 AM To: ffmpeg-devel@ffmpeg.org Subject: [PATCH v1] avcodec/cbs: Keep ff_cbs_trace_syntax_element Split ff_cbs_trace_syntax_element from ff_cbs_trace_read_log to decou

Re: [FFmpeg-devel] [PATCH] avcodec/amfenc: Fix for windows imprecise sleep

2023-10-16 Thread Mark Thompson
On 16/10/2023 10:13, Evgeny Pavlov wrote: This commit reduces the sleep time on Windows to improve AMF encoding performance on low resolution input videos. This fix is for Windows only, because sleep() function isn't very accurate on Windows OS. Fix for issue #10622 Signed-off-by: Evgeny Pavlov

Re: [FFmpeg-devel] [PATCH avcodec/amfenc: 10 bit support, v4, 1/3] avcodec/amfenc: Fixes the color information in the output.

2023-10-16 Thread Mark Thompson
On 09/10/2023 10:52, Evgeny Pavlov wrote: From: Michael Fabian 'Xaymar' Dirks added 10 bit support for amf hevc. before: command - ffmpeg.exe -hide_banner -y -hwaccel d3d11va -hwaccel_output_format d3d11 -i test_10bit_file.mkv -an -c:v h264_amf res.dx11_hw_h264.mkv output - Format of input

Re: [FFmpeg-devel] [PATCH] avcodec/amfenc: Fix for windows imprecise sleep

2023-10-16 Thread Zhao Zhili
> 在 2023年10月17日,上午5:24,Mark Thompson 写道: > > On 16/10/2023 10:13, Evgeny Pavlov wrote: >> This commit reduces the sleep time on Windows to improve AMF encoding >> performance on low resolution input videos. >> This fix is for Windows only, because sleep() function isn't >> very accurate on Wind