Re: [FFmpeg-devel] [PATCH] lavc/vaapi_encode: add "quality" option to all encoders

2023-06-11 Thread Xiang, Haihao
> Move "quality" option from h264_vaapi to common options. User may directly use compression_level option in vaapi path, the h.264 specific quality option stays for compatibility only. (If I remember correctly, there was a proposal to deprecate the h.264 specific option). Thanks Haihao > ---

[FFmpeg-devel] [PATCH v1] fftools/ffmpeg_dec: Don't keep sending frame to filters in flushing

2023-06-11 Thread Fei Wang
Filter may has a limited frame pool size. Do not always send frame to filters without reaping. Fix the regression of commit 5fa00b38e6. Example cmd: $ ffmpeg -threads 20 -init_hw_device vaapi=hw:/dev/dri/renderD128 \ -hwaccel_output_format vaapi -hwaccel vaapi -i avc_1080P.mp4\ -vf 'sca

Re: [FFmpeg-devel] [PATCH v2] lavf/rtpenc_jpeg: Retrieve sampling factor from SOF0

2023-06-11 Thread Xiang, Haihao
On Wo, 2023-01-11 at 01:35 +, Yeoh, Hoong Tee wrote: > In ff_rtp_send_jpeg, the type is defined based on PIX_FMT and > color-range parsed in. There is limitation on current design > where need to include support newly introduced PIX_FMT such as > AV_PIX_FMT_QSV and there might be more and more

Re: [FFmpeg-devel] [PATCH 5/5] avformat/jpegxl_anim_dec: avoid overrun with jxlp boxes in container

2023-06-11 Thread Leo Izen
On 6/8/23 22:30, Anton Khirnov wrote: Quoting Leo Izen (2023-06-08 16:26:37) This should avoid overrunning buffers with jxlp boxes if the size is zero or if the size is so small the box is invalid. Signed-off-by: Leo Izen --- libavformat/jpegxl_anim_dec.c | 8 +++- 1 file changed, 7 ins

Re: [FFmpeg-devel] [PATCH] avfilter/vf_bwdif: Remove undesireable spatial preference logic

2023-06-11 Thread Lynne
Jun 11, 2023, 04:53 by phil...@overt.org: > On Sat, 25 Mar 2023 00:02:03 +0100 > Thomas Mundt wrote: > >> Hi Philip, >> >> Philip Langdale schrieb am Fr., 24. März 2023, >> 23:21: >> >> > bwdif inherited this check from yadif, which was originally >> > supposed to prefer the spatial predictor if

Re: [FFmpeg-devel] [PATCH] Optimization: support for libx264's mb_info

2023-06-11 Thread Stefano Sabatini
On date Monday 2023-06-05 15:32:35 +, Carotti, Elias wrote: > Hi, > please find attached the patch which I updated according to your > suggestions. > Best, > Elias [...] > From 8288d2bd36ffed29140d46c42b6f5515a9058836 Mon Sep 17 00:00:00 2001 > From: Elias Carotti > Date: Wed, 19 Apr 2023 11: