Re: [FFmpeg-devel] [PATCH] lavfi/overlay_vaapi: set input region for overlay video to NULL

2023-04-23 Thread Xiang, Haihao
On Ma, 2023-04-17 at 15:16 +0800, Xiang, Haihao wrote: > From: Haihao Xiang > > Otherwise main and overlay videos share the same input region. Note NULL > pointer imples the whole overlay video will be processed. > > Signed-off-by: Haihao Xiang > --- >  libavfilter/vf_overlay_vaapi.c | 1 + >  

Re: [FFmpeg-devel] [PATCH v4 1/3] lavu/hwcontext_vaapi: Add Windows/VAAPI support with vaGetDisplayWin32

2023-04-23 Thread Xiang, Haihao
On Di, 2023-04-18 at 03:38 +, Xiang, Haihao wrote: > On Vr, 2023-04-14 at 10:39 -0400, Sil Vilerino wrote: > > From: Sil Vilerino > > > > Libva 2.17+ adds a new libva-win32 node and Mesa 22.3 adds a VAAPI driver > > based on Direct3D 12 for Windows. Both of them are available at: > >

Re: [FFmpeg-devel] [PATCH] avformat/movenc: fixed fmp4 packets containing incorrect flags after transcoding

2023-04-23 Thread Steven Liu
Steven Liu 于2023年4月23日周日 09:54写道: > > <1035567...@qq.com> 于2023年4月10日周一 20:43写道: > > > > From: Wang Yaqiang > > > > When write multi-trun box, the MOV_TRUN_FIRST_SAMPLE_FLAGS flag > > need judge by first param, not 0. > > If the original video contains consecutive I frames, > > this will cause

[FFmpeg-devel] [PATCH 6/6] avcodec/bonk: decode multiple passes in intlist_read() at once

2023-04-23 Thread Michael Niedermayer
This makes the worst case much faster Fixes: Timeout Fixes: 51363/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_BONK_fuzzer-5660734784143360 Fixes: 57957/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_BONK_fuzzer-5874095467397120 Found-by: continuous fuzzing process

[FFmpeg-devel] [PATCH 5/6] avcodec/cavsdec: Check bits left before picture allocation

2023-04-23 Thread Michael Niedermayer
Fixes: Timeout Fixes: 57893/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_CAVS_fuzzer-5091726540013568 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer --- libavcodec/cavsdec.c | 3 +++ 1 file changed, 3

[FFmpeg-devel] [PATCH 4/6] tools/target_dec_fuzzer: Adjust threshold for APE

2023-04-23 Thread Michael Niedermayer
Fixes: Timeout Fixes: 57889/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_APE_fuzzer-5262308950802432 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer --- tools/target_dec_fuzzer.c | 1 + 1 file changed,

[FFmpeg-devel] [PATCH 3/6] avcodec/apedec: Factor constant sign out of loop in long_filter_high_3800()

2023-04-23 Thread Michael Niedermayer
930 -> 850 cycles Signed-off-by: Michael Niedermayer --- libavcodec/apedec.c | 17 ++--- 1 file changed, 14 insertions(+), 3 deletions(-) diff --git a/libavcodec/apedec.c b/libavcodec/apedec.c index 40cd78a991..772636afde 100644 --- a/libavcodec/apedec.c +++ b/libavcodec/apedec.c

[FFmpeg-devel] [PATCH 2/6] avcodec/apedec: Move pointer instead of copying each element in delay in long_filter_high_3800()

2023-04-23 Thread Michael Niedermayer
~1000 -> 930 cycles Signed-off-by: Michael Niedermayer --- libavcodec/apedec.c | 15 +-- 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/libavcodec/apedec.c b/libavcodec/apedec.c index c08d13d6c2..40cd78a991 100644 --- a/libavcodec/apedec.c +++ b/libavcodec/apedec.c @@

[FFmpeg-devel] [PATCH 1/6] tools/target_dec_fuzzer: Adjust threshold for FMVC

2023-04-23 Thread Michael Niedermayer
Fixes: Timeout Fixes: 56753/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_FMVC_fuzzer-5115163557888000 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer --- tools/target_dec_fuzzer.c | 1 + 1 file

[FFmpeg-devel] [PATCH 1/1] avcodec/mjpegdec: support more pixel formats

2023-04-23 Thread Leo Izen
From: Carl Eugen Hoyos Support pixel formats 0x11412100, 0x11311100, and 0x41211100, and add logic to perform 4x horizontal upsampling. This should fix various JPEG files found in Ticket #8930. Co-authored-by: --- libavcodec/mjpegdec.c | 42 ++ 1 file

[FFmpeg-devel] [PATCH 0/1] More mjpeg pixel formats

2023-04-23 Thread Leo Izen
Carl Eugen wrote some patches about 2 years ago and sent them to the ML to add support for various files found in ticket #8930. I've rebased those patches into one, and rebased them onto master as well as made a few minor tweaks to them. Fate test for these incoming soon as well. Carl Eugen

Re: [FFmpeg-devel] [PATCH v2] fftools/ffmpeg_mux: fix reporting muxer EOF as error

2023-04-23 Thread Anton Khirnov
Quoting Marton Balint (2023-04-23 20:15:13) > > > On Sun, 23 Apr 2023, Anton Khirnov wrote: > > > Quoting Marton Balint (2023-04-23 12:05:51) > >> > >> > >> On Sun, 23 Apr 2023, Anton Khirnov wrote: > >> > >>> Quoting Marton Balint (2023-04-23 11:42:48) > On Sun, 23 Apr 2023, Anton Khirnov

Re: [FFmpeg-devel] [PATCH 2/5] avcodec: use the new AVFrame interlace flags in all decoders and encoders

2023-04-23 Thread Anton Khirnov
Quoting James Almer (2023-04-12 21:49:33) > diff --git a/libavcodec/cuviddec.c b/libavcodec/cuviddec.c > index 76e70aa648..a407154959 100644 > --- a/libavcodec/cuviddec.c > +++ b/libavcodec/cuviddec.c > @@ -631,10 +631,10 @@ FF_DISABLE_DEPRECATION_WARNINGS > FF_ENABLE_DEPRECATION_WARNINGS >

Re: [FFmpeg-devel] [PATCH] doc/developer: mention samples-request for FATE upload requests

2023-04-23 Thread Thilo Borgmann
Am 03.04.23 um 13:55 schrieb Thilo Borgmann: Am 02.04.23 um 01:50 schrieb Stefano Sabatini: On date Friday 2023-03-31 17:31:04 +0200, Thilo Borgmann wrote: ---   doc/developer.texi | 2 ++   1 file changed, 2 insertions(+) diff --git a/doc/developer.texi b/doc/developer.texi index

Re: [FFmpeg-devel] [PATCH] avdevice/decklink_enc: fix operator precedence in create_s337_payload

2023-04-23 Thread Marton Balint
On Sun, 16 Apr 2023, Marton Balint wrote: Signed-off-by: Marton Balint --- libavdevice/decklink_enc.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Will apply. Regards, Marton diff --git a/libavdevice/decklink_enc.cpp b/libavdevice/decklink_enc.cpp index

Re: [FFmpeg-devel] [PATCH 1/6] avformat/mov: factorize reading creation time metadata

2023-04-23 Thread Marton Balint
On Sun, 16 Apr 2023, Marton Balint wrote: Signed-off-by: Marton Balint --- libavformat/mov.c | 32 1 file changed, 12 insertions(+), 20 deletions(-) Will apply the series soon. Regards, Marton diff --git a/libavformat/mov.c b/libavformat/mov.c index

Re: [FFmpeg-devel] [PATCH 0/2] Implement SMPTE 2038 output support over Decklink SDI

2023-04-23 Thread Marton Balint
On Fri, 21 Apr 2023, Devin Heitmueller wrote: This patch series implements output of SMPTE 2038 VANC over SDI, building on the prior patch series which added it in the TS domain. Note that we moved the AVPacketQueue to be common code within libavdevice so it can be shared by both the

Re: [FFmpeg-devel] [PATCH v2] fftools/ffmpeg_mux: fix reporting muxer EOF as error

2023-04-23 Thread Marton Balint
On Sun, 23 Apr 2023, Anton Khirnov wrote: Quoting Marton Balint (2023-04-23 12:05:51) On Sun, 23 Apr 2023, Anton Khirnov wrote: Quoting Marton Balint (2023-04-23 11:42:48) On Sun, 23 Apr 2023, Anton Khirnov wrote: Quoting Marton Balint (2023-04-23 11:12:38) This seems like yet

[FFmpeg-devel] [PATCH] fate/jpeg2000: add missing dependecy checks

2023-04-23 Thread James Almer
Signed-off-by: James Almer --- tests/fate/jpeg2000.mak | 8 +--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/tests/fate/jpeg2000.mak b/tests/fate/jpeg2000.mak index b72908f710..19dd2b4b3f 100644 --- a/tests/fate/jpeg2000.mak +++ b/tests/fate/jpeg2000.mak @@ -33,10 +33,10 @@

[FFmpeg-devel] [PATCH] avdevice/pipewire_dec: pipewire video capture

2023-04-23 Thread metamuffin
Added a minimal (and partial) input device for pipewire. The implementation lacks audio support for now since alsa and pulse can do that too Video output is not included yet. The patch requires _XOPEN_SOURCE=700 to work. Signed-off-by: metamuffin --- Changelog | 1 +

Re: [FFmpeg-devel] [PATCH v2] fftools/ffmpeg_mux: fix reporting muxer EOF as error

2023-04-23 Thread Anton Khirnov
Quoting Marton Balint (2023-04-23 12:05:51) > > > On Sun, 23 Apr 2023, Anton Khirnov wrote: > > > Quoting Marton Balint (2023-04-23 11:42:48) > >> On Sun, 23 Apr 2023, Anton Khirnov wrote: > >>> Quoting Marton Balint (2023-04-23 11:12:38) > This seems like yet another clash of AVERROR_EOF

Re: [FFmpeg-devel] [PATCH v2] fftools/ffmpeg_mux: fix reporting muxer EOF as error

2023-04-23 Thread Nicolas George
Marton Balint (12023-04-23): > https://ffmpeg.org/pipermail/ffmpeg-devel/2023-February/306247.html Looks like something that sould return AVERORR(EPIPE). Regards, -- Nicolas George signature.asc Description: PGP signature ___ ffmpeg-devel mailing

Re: [FFmpeg-devel] [PATCH v2] fftools/ffmpeg_mux: fix reporting muxer EOF as error

2023-04-23 Thread Marton Balint
On Sun, 23 Apr 2023, Anton Khirnov wrote: Quoting Marton Balint (2023-04-23 11:42:48) On Sun, 23 Apr 2023, Anton Khirnov wrote: Quoting Marton Balint (2023-04-23 11:12:38) This seems like yet another clash of AVERROR_EOF error codes coming from different places with different semantics.

Re: [FFmpeg-devel] [PATCH v2] fftools/ffmpeg_mux: fix reporting muxer EOF as error

2023-04-23 Thread Anton Khirnov
Quoting Marton Balint (2023-04-23 11:42:48) > On Sun, 23 Apr 2023, Anton Khirnov wrote: > > Quoting Marton Balint (2023-04-23 11:12:38) > >> This seems like yet another clash of AVERROR_EOF error codes coming from > >> different places with different semantics. For > >>

Re: [FFmpeg-devel] [PATCH v2] fftools/ffmpeg_mux: fix reporting muxer EOF as error

2023-04-23 Thread zhilizhao(赵志立)
> On Apr 23, 2023, at 17:42, Marton Balint wrote: > > On Sun, 23 Apr 2023, Anton Khirnov wrote: > >> Quoting Marton Balint (2023-04-23 11:12:38) >>> >>> >>> On Sat, 22 Apr 2023, Anton Khirnov wrote: >>> Quoting Zhao Zhili (2023-04-22 14:56:34) > From: Zhao Zhili > > Fix

Re: [FFmpeg-devel] [PATCH v2] fftools/ffmpeg_mux: fix reporting muxer EOF as error

2023-04-23 Thread Marton Balint
On Sun, 23 Apr 2023, Anton Khirnov wrote: Quoting Marton Balint (2023-04-23 11:12:38) On Sat, 22 Apr 2023, Anton Khirnov wrote: Quoting Zhao Zhili (2023-04-22 14:56:34) From: Zhao Zhili Fix #10327. Signed-off-by: Zhao Zhili --- fftools/ffmpeg_mux.c | 12 +--- 1 file

Re: [FFmpeg-devel] [PATCH v2] fftools/ffmpeg_mux: fix reporting muxer EOF as error

2023-04-23 Thread Anton Khirnov
Quoting Marton Balint (2023-04-23 11:12:38) > > > On Sat, 22 Apr 2023, Anton Khirnov wrote: > > > Quoting Zhao Zhili (2023-04-22 14:56:34) > >> From: Zhao Zhili > >> > >> Fix #10327. > >> > >> Signed-off-by: Zhao Zhili > >> --- > >> fftools/ffmpeg_mux.c | 12 +--- > >> 1 file

Re: [FFmpeg-devel] [PATCH v2] fftools/ffmpeg_mux: fix reporting muxer EOF as error

2023-04-23 Thread Marton Balint
On Sat, 22 Apr 2023, Anton Khirnov wrote: Quoting Zhao Zhili (2023-04-22 14:56:34) From: Zhao Zhili Fix #10327. Signed-off-by: Zhao Zhili --- fftools/ffmpeg_mux.c | 12 +--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/fftools/ffmpeg_mux.c