Re: [FFmpeg-devel] [PATCH] web/index: add release notes for version 7.1

2024-09-30 Thread Lynne via ffmpeg-devel
On 30/09/2024 11:08, Anton Khirnov wrote: Quoting Lynne via ffmpeg-devel (2024-09-30 09:42:58) --- src/index | 37 + 1 file changed, 37 insertions(+) diff --git a/src/index b/src/index index fdf7ebb..76c8b32 100644 --- a/src/index +++ b/src/index @@ -35,6

Re: [FFmpeg-devel] [PATCH] tests/fate/filter-video: don't convert owdenoise test to mpeg range

2024-09-30 Thread Ramiro Polla
Hi Anton, On Mon, Sep 30, 2024 at 9:19 AM Anton Khirnov wrote: > Quoting Ramiro Polla (2024-09-29 17:38:55) > > --- > > The new owdenoise-scenwin-jpeg.raw reference file is available at > > https://0x0.st/XguT.raw > > Changing an existing reference file would break fate for older versions > (e.g

Re: [FFmpeg-devel] [PATCH] tests/fate/filter-video: don't convert owdenoise test to mpeg range

2024-09-30 Thread Anton Khirnov
Quoting Ramiro Polla (2024-09-30 10:46:54) > Hi Anton, > > On Mon, Sep 30, 2024 at 9:19 AM Anton Khirnov wrote: > > Quoting Ramiro Polla (2024-09-29 17:38:55) > > > --- > > > The new owdenoise-scenwin-jpeg.raw reference file is available at > > > https://0x0.st/XguT.raw > > > > Changing an exist

Re: [FFmpeg-devel] [PATCH] web/index: add release notes for version 7.1

2024-09-30 Thread Anton Khirnov
Quoting Lynne via ffmpeg-devel (2024-09-30 09:42:58) > --- > src/index | 37 + > 1 file changed, 37 insertions(+) > > diff --git a/src/index b/src/index > index fdf7ebb..76c8b32 100644 > --- a/src/index > +++ b/src/index > @@ -35,6 +35,43 @@ > News > >

[FFmpeg-devel] [PATCH] web/index: add release notes for version 7.1

2024-09-30 Thread Lynne via ffmpeg-devel
--- src/index | 37 + 1 file changed, 37 insertions(+) diff --git a/src/index b/src/index index fdf7ebb..76c8b32 100644 --- a/src/index +++ b/src/index @@ -35,6 +35,43 @@ News + October 1st, 2024, FFmpeg 7.1 "Péter" + +FFmpeg 7.1 "Péter", a ne

Re: [FFmpeg-devel] [PATCH] web/index: add release notes for version 7.1

2024-09-30 Thread Lynne via ffmpeg-devel
On 30/09/2024 11:34, Lynne via ffmpeg-devel wrote: On 30/09/2024 11:08, Anton Khirnov wrote: Quoting Lynne via ffmpeg-devel (2024-09-30 09:42:58) ---   src/index | 37 +   1 file changed, 37 insertions(+) diff --git a/src/index b/src/index index fdf7ebb..76c8

[FFmpeg-devel] [PATCH] avcodec/decode: clean-up if get_hw_frames_parameters fails

2024-09-30 Thread Thomas Guillem via ffmpeg-devel
Fixes the following assert: [7f1df83d17e0] vaapi generic error: avcodec_get_hw_frames_parameters failed: -22 Assertion p_dst->hwaccel_threadsafe || (!dst->hwaccel && !dst->internal->hwaccel_priv_data) failed at libavcodec/pthread_frame.c:349 Reproduced from VLC with VAAPI, when fallbacking

Re: [FFmpeg-devel] [PATCH] tests/fate/filter-video: don't convert owdenoise test to mpeg range

2024-09-30 Thread Anton Khirnov
Quoting Ramiro Polla (2024-09-29 17:38:55) > --- > The new owdenoise-scenwin-jpeg.raw reference file is available at > https://0x0.st/XguT.raw Changing an existing reference file would break fate for older versions (e.g. releases, or for bisecting). -- Anton Khirnov

[FFmpeg-devel] [PATCH v3] avformat/hlsenc: Respect `omit_endlist` flag in subtitle playlists

2024-09-30 Thread Jonathan Baecker
This modification applies Steven's suggestion. Original description was: Ensure that when the `-hls_flags omit_endlist` option is set, the `#EXT-X-ENDLIST` tag is also omitted from the `stream_vtt.m3u8` subtitle playlist. This maintains consistency with the behavior in other playlists when `omit_e

Re: [FFmpeg-devel] [PATCH v2] avformat/hlsenc: Respect `append_list` flag in subtitle playlists

2024-09-30 Thread Steven Liu
Jonathan Baecker 于2024年9月29日周日 03:51写道: Hi Jonathan, > > Ensure that when the `-hls_flags append_list` option is set, > that *.vtt files in stream_vtt.m3u8 are correctly updated. > > This fixes https://trac.ffmpeg.org/ticket/11208 > > Is a bit of an ugly fix, let me know what you think. > --- >

Re: [FFmpeg-devel] [PATCH v2] avformat/hlsenc: Respect `omit_endlist` flag in subtitle playlists

2024-09-30 Thread Steven Liu
Jonathan Baecker 于2024年9月29日周日 01:29写道: Hi Jonathan, > > Ensure that when the `-hls_flags omit_endlist` option is set, > the `#EXT-X-ENDLIST` tag is also omitted from the `stream_vtt.m3u8` > subtitle playlist. This maintains consistency with the behavior > in other playlists when `omit_endlist` i

[FFmpeg-devel] [PATCH 1/2] avformat/mov: factorize getting the current item

2024-09-30 Thread James Almer
Signed-off-by: James Almer --- libavformat/mov.c | 58 +++ 1 file changed, 34 insertions(+), 24 deletions(-) diff --git a/libavformat/mov.c b/libavformat/mov.c index 67e87094cf..b3b92bbb91 100644 --- a/libavformat/mov.c +++ b/libavformat/mov.c @@ -189,

[FFmpeg-devel] [PATCH 2/2] avformat/mov: parse colr boxes that reference tile grids

2024-09-30 Thread James Almer
Signed-off-by: James Almer --- libavformat/isom.h | 2 ++ libavformat/mov.c | 70 ++ 2 files changed, 61 insertions(+), 11 deletions(-) diff --git a/libavformat/isom.h b/libavformat/isom.h index 204addbab2..bc208772f9 100644 --- a/libavformat/isom.h

Re: [FFmpeg-devel] [PATCH 1/2] avformat/mov: factorize getting the current item

2024-09-30 Thread Anton Khirnov
Quoting James Almer (2024-09-30 19:41:18) > Signed-off-by: James Almer > --- > libavformat/mov.c | 58 +++ > 1 file changed, 34 insertions(+), 24 deletions(-) > > diff --git a/libavformat/mov.c b/libavformat/mov.c > index 67e87094cf..b3b92bbb91 100644

Re: [FFmpeg-devel] [PATCH 1/2] avformat/mov: factorize getting the current item

2024-09-30 Thread James Almer
On 9/30/2024 2:44 PM, Anton Khirnov wrote: Quoting James Almer (2024-09-30 19:41:18) Signed-off-by: James Almer --- libavformat/mov.c | 58 +++ 1 file changed, 34 insertions(+), 24 deletions(-) diff --git a/libavformat/mov.c b/libavformat/mov.c in

Re: [FFmpeg-devel] [PATCH 1/5] lavu/class: improve AVClass doxy

2024-09-30 Thread Anton Khirnov
Will push set tomorrow unless someone has comments. -- Anton Khirnov ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-requ...@ffmpeg.org with

[FFmpeg-devel] [PATCH] avcodec/ffv1enc: 2Pass mode is not possible with golomb coding

2024-09-30 Thread Michael Niedermayer
"Fixes" Ticket7063 Sponsored-by: Sovereign Tech Fund Signed-off-by: Michael Niedermayer --- libavcodec/ffv1enc.c | 5 + 1 file changed, 5 insertions(+) diff --git a/libavcodec/ffv1enc.c b/libavcodec/ffv1enc.c index a6f405289eb..3222496daca 100644 --- a/libavcodec/ffv1enc.c +++ b/libavcodec/

[FFmpeg-devel] [PATCH 2/2] fftools: log unconnected filter output label

2024-09-30 Thread Marvin Scholz
--- fftools/ffmpeg_filter.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fftools/ffmpeg_filter.c b/fftools/ffmpeg_filter.c index e9271e74ed..01e3c087dd 100644 --- a/fftools/ffmpeg_filter.c +++ b/fftools/ffmpeg_filter.c @@ -1410,7 +1410,7 @@ int fg_finalise_bindings(void)

[FFmpeg-devel] [PATCH 1/2] fftools: do not access out of bounds filtergraph

2024-09-30 Thread Marvin Scholz
The log message was logged for `filtergraphs[j]` which would cause a heap buffer overflow in certain circumstances. Correctly it should be logged for the current filtergraph, so just use `fg` here. --- fftools/ffmpeg_filter.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fft

Re: [FFmpeg-devel] [PATCH] avcodec/decode: clean-up if get_hw_frames_parameters fails

2024-09-30 Thread Thomas Guillem via ffmpeg-devel
cf. https://trac.ffmpeg.org/ticket/11013 On Mon, Sep 30, 2024, at 10:27, Thomas Guillem via ffmpeg-devel wrote: > Fixes the following assert: > > [7f1df83d17e0] vaapi generic error: > avcodec_get_hw_frames_parameters failed: -22 > Assertion p_dst->hwaccel_threadsafe || (!dst->hwaccel && > !

[FFmpeg-devel] [PATCH] libavutil: Makefile: Fix alphabetical order for the film_grain_params files

2024-09-30 Thread Martin Storsjö
--- libavutil/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libavutil/Makefile b/libavutil/Makefile index 6e6fa8d800..d3c95b12a0 100644 --- a/libavutil/Makefile +++ b/libavutil/Makefile @@ -34,6 +34,7 @@ HEADERS = adler32.h

Re: [FFmpeg-devel] [PATCH] avformat/hlsenc: Fix missing EXT-X-DISCONTINUITY tag in subtitle streams

2024-09-30 Thread Steven Liu
Steven Liu 于2024年9月26日周四 21:18写道: > > Jonathan Baecker 于2024年9月26日周四 15:59写道: > > > > The EXT-X-DISCONTINUITY tag was not being added to subtitle streams, > > causing synchronization issues. This patch ensures that the tag is applied > > consistently across video and subtitle streams. > > --- >

Re: [FFmpeg-devel] [PATCH v2 7/8] lavc/vvc_dec: Add hardware decode API

2024-09-30 Thread Nuo Mi
On Wed, Sep 18, 2024 at 3:19 PM wrote: > From: Fei Wang > > Signed-off-by: Fei Wang > --- > libavcodec/vvc/dec.c | 73 +-- > libavcodec/vvc/dec.h | 4 +++ > libavcodec/vvc/refs.c | 6 > 3 files changed, 73 insertions(+), 10 deletions(-) > > diff

Re: [FFmpeg-devel] [PATCH v4] avcodec/vvc: Don't use large array on stack

2024-09-30 Thread Nuo Mi
On Sun, Sep 22, 2024 at 11:40 AM Zhao Zhili wrote: > From: Zhao Zhili > > tmp_array in dmvr_hv takes 33024 bytes on stack, which can be > dangerous. > --- > v4: > 1. Add DMVR_FILTER2 macro > 2. Process first line out of loop to remove condition check. > Thank you, Zhili Merged. > > libavc

[FFmpeg-devel] [PATCH 4/4] avformat/mov: get heif image mirroring from imir box

2024-09-30 Thread James Almer
Complements 76eb3e5ff3a35eff01dd71aca82efcda50c4441f. Signed-off-by: James Almer --- libavformat/isom.h | 2 ++ libavformat/mov.c | 27 --- 2 files changed, 26 insertions(+), 3 deletions(-) diff --git a/libavformat/isom.h b/libavformat/isom.h index bc208772f9..49a4753f

[FFmpeg-devel] [PATCH v3] avformat/hlsenc: Respect `append_list` flag in subtitle

2024-09-30 Thread Jonathan Baecker
Apply Stevens suggestion. Original description: Ensure that when the `-hls_flags append_list` option is set, that *.vtt files in stream_vtt.m3u8 are correctly updated. This fixes https://trac.ffmpeg.org/ticket/11208 --- libavformat/hlsenc.c | 30 ++ 1 file changed, 30

[FFmpeg-devel] [PATCH 3/3] avformat/mov: parse clap boxes that reference heif items

2024-09-30 Thread James Almer
Signed-off-by: James Almer --- libavformat/mov.c | 32 ++-- 1 file changed, 22 insertions(+), 10 deletions(-) diff --git a/libavformat/mov.c b/libavformat/mov.c index 33158ac4dd..fdf2238d47 100644 --- a/libavformat/mov.c +++ b/libavformat/mov.c @@ -1234,14 +1234,26 @@

[FFmpeg-devel] [PATCH] program_opencl: implement filter process_command

2024-09-30 Thread Koushik Dutta
Implements process_command to allow program source to be sent as an arg. Signed-off-by: Koushik Dutta --- libavfilter/vf_program_opencl.c | 49 +++-- 1 file changed, 40 insertions(+), 9 deletions(-) diff --git a/libavfilter/vf_program_opencl.c b/libavfilter/vf_progra

[FFmpeg-devel] [PATCH] program_opencl: implement planar and format options

2024-09-30 Thread Koushik Dutta
OpenCL kernels currently run in planar mode. The kernel is run once per plane. This change adds a new planar option which is enabled by default to preserve existing default behavior. Disabling the new planar option on program_opencl provides all image planes to a single invocation of the kernel. Th

Re: [FFmpeg-devel] [PATCH v4 1/3] aarch64/vvc: Add w_avg

2024-09-30 Thread Nuo Mi
On Sun, Sep 29, 2024 at 10:16 PM Martin Storsjö wrote: > On Sun, 29 Sep 2024, Zhao Zhili wrote: > > > From: Zhao Zhili > > > > w_avg_8_2x2_c: 0.0 ( 0.00x) > > w_avg_8_2x2_neon:0.0 ( 0.00x) > > w_avg_8_4x4_c:

[FFmpeg-devel] [PATCH v2 1/3] avcodec: make a local copy of executor

2024-09-30 Thread Nuo Mi
We still need several refactors to improve the current VVC decoder's performance, which will frequently break the API/ABI. To mitigate this, we've copied the executor from avutil to avcodec. Once the API/ABI is stable, we will move this class back to avutil --- libavcodec/Makefile | 1 +

[FFmpeg-devel] [PATCH v2 3/3] avcodec/vvc: simplify priority logical to improve performance for 4K/8K

2024-09-30 Thread Nuo Mi
For 4K/8K video processing, it's possible to have over 1,000 tasks pending on the executor. In such cases, O(n) and O(log(n)) insertion times are too costly. Reducing this to O(1) will significantly decrease the time spent in critical sections clip

[FFmpeg-devel] [PATCH v2 2/3] avcodec/executor: remove unused ready callback

2024-09-30 Thread Nuo Mi
Due to the nature of multithreading, using a "ready check" mechanism may introduce a deadlock. For example: Suppose all tasks have been submitted to the executor, and the last thread checks the entire list and finds no ready tasks. It then goes to sleep, waiting for a new task. However, for som

Re: [FFmpeg-devel] [PATCH 1/2] avutils/executor: remove unused ready callback

2024-09-30 Thread Nuo Mi
On Wed, Sep 25, 2024 at 8:47 PM Anton Khirnov wrote: > Quoting Nuo Mi (2024-09-25 14:37:43) > > On Tue, Sep 24, 2024 at 11:44 PM Anton Khirnov > wrote: > > > > > Quoting Nuo Mi (2024-09-24 16:56:46) > > > > On Tue, Sep 24, 2024 at 10:43 PM Nuo Mi wrote: > > > > > > > > Currently, the pure decod