Re: [FFmpeg-devel] [PATCH v5 00/25] Subtitle Filtering 2022

2022-08-21 Thread Paul B Mahol
On Fri, Aug 12, 2022 at 12:51 AM Soft Works wrote: > > > > -Original Message- > > From: ffmpegagent > > Sent: Saturday, June 25, 2022 11:58 AM > > To: ffmpeg-devel@ffmpeg.org > > Cc: Michael Niedermayer ; Andreas Rheinhardt > > ; Soft Works ; > > Andriy Gelman ; softworkz > > > > Subjec

Re: [FFmpeg-devel] [PATCH v5 00/25] Subtitle Filtering 2022

2022-08-21 Thread Nicolas George
Paul B Mahol (12022-08-21): > We should more forward and merge this considerable subtitle work instead of > waiting for broken promises from other inactive developers. > Then push to your fork. -- Nicolas George signature.asc Description: PGP signature __

Re: [FFmpeg-devel] [PATCH v5 00/25] Subtitle Filtering 2022

2022-08-21 Thread Jean-Baptiste Kempf
On Sun, 21 Aug 2022, at 11:41, Paul B Mahol wrote: > We should more forward and merge this considerable subtitle work Are there parts of this work that have reach majority consensus? -- Jean-Baptiste Kempf - President +33 672 704 734 ___ ffmpeg-dev

Re: [FFmpeg-devel] [PATCH 4/4] avcodec/speedhq: Check width

2022-08-21 Thread Paul B Mahol
On Fri, Aug 19, 2022 at 12:36 AM Michael Niedermayer wrote: > Fixes: out of array access > Fixes: > 50014/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_SPEEDHQ_fuzzer-4748914632294400 > > Alternatively the buffer size can be increased > > Found-by: continuous fuzzing process > https://github.

Re: [FFmpeg-devel] [PATCH 1/1] lavf/dashdec: Multithreaded DASH initialization

2022-08-21 Thread Lukas Fellechner
>> + struct representation* common_pls; >> + pthread_mutex_t* common_mutex; >> + pthread_cond_t* common_condition; > Should add #if HAVE_THREADS to check if the pthread supported. You are right, I will add HAVE_THREADS checks. ___ ffmpeg-devel mailing li

Re: [FFmpeg-devel] [PATCH 4/4] avcodec/speedhq: Check width

2022-08-21 Thread Michael Niedermayer
On Sun, Aug 21, 2022 at 12:54:57PM +0200, Paul B Mahol wrote: > On Fri, Aug 19, 2022 at 12:36 AM Michael Niedermayer > wrote: > > > Fixes: out of array access > > Fixes: > > 50014/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_SPEEDHQ_fuzzer-4748914632294400 > > > > Alternatively the buffer si

[FFmpeg-devel] [PATCH] avcodec/libvpx: fix assembling vp9 packets with alpha channel

2022-08-21 Thread James Almer
There's no warranty that vpx_codec_encode() will generate a list with the same amount of packets for both the yuv planes encoder and the alpha plane encoder, so queueing packets based on what the main encoder returns will fail when the amount of packets in both lists differ. Queue all data packets

[FFmpeg-devel] [PATCH] swscale/x86/rgb2_rgb: Empty MMX state in ff_shuffle_bytes_2103_mmxext

2022-08-21 Thread Andreas Rheinhardt
Fixes FATE-failures with the the filter-2xbr filter-3xbr filter-4xbr filter-ep2x filter-ep3x filter-hq2x filter-hq3x filter-hq4x filter-paletteuse-bayer filter-paletteuse-bayer0 filter-paletteuse-nodither and filter-paletteuse-sierra2_4a tests when using 32bit x86 with CPUFLAGS ranging from "mmx+mm

[FFmpeg-devel] [PATCH v2] lavf/dashdec: Multithreaded DASH initialization

2022-08-21 Thread Lukas Fellechner
Initializing DASH streams is currently slow, because each individual stream is opened and probed sequentially. With DASH streams often having somewhere between 10-20 streams, this can easily take up to half a minute. This patch adds an "init-threads" option, specifying the max number of threads

[FFmpeg-devel] [PATCH] fftools/ffmpeg_opt: try to propagate the requested output channel layout

2022-08-21 Thread James Almer
Don't silently replace it with the default layout for the amount of channels from the requested layout. Should fix ticket #9869 Signed-off-by: James Almer --- fftools/ffmpeg_opt.c | 38 +- 1 file changed, 37 insertions(+), 1 deletion(-) diff --git a/fftools/

[FFmpeg-devel] [PATCH 1/2] lavu/pix_fmt: add rgbx64 and bgrx64 pixel formats

2022-08-21 Thread ffmpeg
From: Manuel Stoeckl These new formats are equivalent to rgba64 and bgra64, except that the contents of the alpha channel are ignored. These formats are equivalent to the Linux DRM formats XBGR16161616 and XRGB16161616; these are used by Wayland compositors to either provide high bit depth image

[FFmpeg-devel] [PATCH 2/2] swscale: add conversions for rgb/bgrx64 formats

2022-08-21 Thread ffmpeg
From: Manuel Stoeckl These reuse existing code from conversions to/from formats like RGBA64 in the case where the alpha channel was unneeded. Signed-off-by: Manuel Stoeckl --- libswscale/input.c | 12 +++ libswscale/output.c | 41 +

Re: [FFmpeg-devel] [PATCH v2] avcodec/audiotoolboxenc: return external error if encode failed

2022-08-21 Thread zhilizhao(赵志立)
> On Aug 19, 2022, at 11:14 PM, James Almer wrote: > > On 6/24/2022 4:05 AM, Steven Liu wrote: >> "zhilizhao(赵志立)" 于2022年6月24日周五 14:59写道: >>> >>> >>> On Jun 24, 2022, at 1:59 PM, Steven Liu wrote: because the AudioConverterFillComplexBuffer can return 0 or 1 if success

Re: [FFmpeg-devel] [PATCH v2] avcodec/audiotoolboxenc: return external error if encode failed

2022-08-21 Thread Steven Liu
"zhilizhao(赵志立)" 于2022年8月22日周一 10:49写道: > > > > > On Aug 19, 2022, at 11:14 PM, James Almer wrote: > > > > On 6/24/2022 4:05 AM, Steven Liu wrote: > >> "zhilizhao(赵志立)" 于2022年6月24日周五 14:59写道: > >>> > >>> > >>> > On Jun 24, 2022, at 1:59 PM, Steven Liu wrote: > > because the Audio

[FFmpeg-devel] [PATCH] avcodec/libsvtav1: properly initialize the flush EbBufferHeaderType struct

2022-08-21 Thread James Almer
Should fix ticket #9834 Signed-off-by: James Almer --- libavcodec/libsvtav1.c | 7 ++- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/libavcodec/libsvtav1.c b/libavcodec/libsvtav1.c index 234c24ca7a..4c403a98d4 100644 --- a/libavcodec/libsvtav1.c +++ b/libavcodec/libsvtav1.c @

[FFmpeg-devel] [PATCH v2] qsvenc_{hevc,h264}: add scenario option

2022-08-21 Thread Xiang, Haihao
From: Haihao Xiang User may get better experience after providing corresponding senario hint to encoder for the encoding session. See [1] for scenario support in the SDK [1]https://github.com/Intel-Media-SDK/MediaSDK/blob/master/doc/mediasdk-man.md#scenarioinfo --- doc/encoders.texi| 30