Re: [FFmpeg-devel] [PATCH v4] avcodec/decode: validate hw_frames_ctx when AVHWAccel.free_frame_priv is used

2023-11-21 Thread Lynne
Nov 21, 2023, 07:02 by dmitry.v.rogozhkin-at-intel@ffmpeg.org: > On Tue, 2023-11-21 at 06:17 +0100, Lynne wrote: > >> Nov 21, 2023, 05:38 by dmitry.v.rogozhkin-at-intel@ffmpeg.org: >> >> > Validate that a hw_frames_ctx is available before using it for >> > the AVHWAccel.free_frame_priv

Re: [FFmpeg-devel] [PATCH 1/2] doc/filters:ddagrab: elaborate on the semantics of framerate

2023-11-21 Thread Gyan Doshi
On 2023-11-19 05:19 pm, Anton Khirnov wrote: --- doc/filters.texi | 7 ++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/doc/filters.texi b/doc/filters.texi index 38615e4f18..bd4e4ca8f7 100644 --- a/doc/filters.texi +++ b/doc/filters.texi @@ -28163,7 +28163,12 @@ Only

Re: [FFmpeg-devel] [PATCH v5 4/7] libavcodec/webp: add support for animated WebP decoding

2023-11-21 Thread Cosmin Stejerean via ffmpeg-devel
On Nov 20, 2023, at 5:14 PM, James Almer wrote: On 11/20/2023 4:22 PM, Thilo Borgmann via ffmpeg-devel wrote: +    if (*got_frame) { +    if (!(s->vp8x_flags & VP8X_FLAG_ANIMATION)) { +    // no animation, output the decoded frame +    av_frame_move_ref(p, s->frame); +    

Re: [FFmpeg-devel] [PATCH 5/6] avcodec/h264: Avoid using gray gap frames as references

2023-11-21 Thread Michael Niedermayer
On Tue, Nov 21, 2023 at 09:27:59AM -0300, James Almer wrote: > On 11/14/2023 2:20 PM, Michael Niedermayer wrote: > > Signed-off-by: Michael Niedermayer > > --- > > libavcodec/h264_refs.c | 11 +++ > > libavcodec/h264dec.c | 1 + > > libavcodec/h264dec.h | 1 + > > 3 files

[FFmpeg-devel] [PATCH] doc/git-howto: use less weird username for git URL

2023-11-21 Thread Michael Niedermayer
Signed-off-by: Michael Niedermayer --- doc/git-howto.texi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/git-howto.texi b/doc/git-howto.texi index f4e2f2ec232..075b188abe7 100644 --- a/doc/git-howto.texi +++ b/doc/git-howto.texi @@ -66,7 +66,7 @@ This will put the FFmpeg

Re: [FFmpeg-devel] [PATCH 1/5] avformat: introduce AVStreamGroup

2023-11-21 Thread Marton Balint
On Tue, 21 Nov 2023, James Almer wrote: Signed-off-by: James Almer --- libavformat/avformat.c | 178 +++-- libavformat/avformat.h | 163 + libavformat/dump.c | 33 ++-- libavformat/internal.h | 33

[FFmpeg-devel] [PATCH 5/5] ffmpeg: add support for muxing AVStreamGroups

2023-11-21 Thread James Almer
Signed-off-by: James Almer --- Example command line, remuxing an existing iamf file using the avoptions defined for iamf in libavformat. This creates two stream groups, one Audio Element and one Mixing Presentation. The first defines two layers, one stereo and one 5.1. The latter defines two

[FFmpeg-devel] [PATCH 3/5] avformat: Immersive Audio Model and Formats demuxer

2023-11-21 Thread James Almer
Signed-off-by: James Almer --- libavcodec/avpacket.c |3 + libavcodec/packet.h | 24 + libavformat/Makefile|2 + libavformat/allformats.c|1 + libavformat/avformat.c | 10 +- libavformat/avformat.h |8 +- libavformat/dump.c | 107

[FFmpeg-devel] [PATCH 4/5] avformat: Immersive Audio Model and Formats muxer

2023-11-21 Thread James Almer
Signed-off-by: James Almer --- libavformat/Makefile |1 + libavformat/allformats.c |1 + libavformat/iamfenc.c| 1085 ++ 3 files changed, 1087 insertions(+) create mode 100644 libavformat/iamfenc.c diff --git a/libavformat/Makefile

[FFmpeg-devel] [PATCH 2/5] avutil/mem: add av_dynarray2_add_nofree

2023-11-21 Thread James Almer
Signed-off-by: James Almer --- libavutil/mem.c | 17 + libavutil/mem.h | 32 +--- 2 files changed, 46 insertions(+), 3 deletions(-) diff --git a/libavutil/mem.c b/libavutil/mem.c index 36b8940a0c..bd37710968 100644 --- a/libavutil/mem.c +++

[FFmpeg-devel] [PATCH 1/5] avformat: introduce AVStreamGroup

2023-11-21 Thread James Almer
Signed-off-by: James Almer --- libavformat/avformat.c | 178 +++-- libavformat/avformat.h | 163 + libavformat/dump.c | 33 ++-- libavformat/internal.h | 33 libavformat/options.c | 90

[FFmpeg-devel] [PATCH v4 0/5] avformat: introduce AVStreamGroup

2023-11-21 Thread James Almer
Addressed Anton's comments for AVStreamGroup, and made several changes to the iamf demuxer. This set also introduces an iamf muxer, as well as support for creating and setting stream groups to ffmpeg.c Comments are very welcome. James Almer (5): avformat: introduce AVStreamGroup avutil/mem:

Re: [FFmpeg-devel] [PATCH] avfilter: merge loudnorm filter functionality into f_ebur128.c

2023-11-21 Thread Kyle Swanson
Hi, On Sun, Nov 19, 2023 at 3:48 AM Paul B Mahol wrote: > > On Fri, Nov 17, 2023 at 7:38 AM Kyle Swanson wrote: > > > Hi, > > > > On Wed, Nov 15, 2023 at 12:39 PM Paul B Mahol wrote: > > > > > > Attached. > > > > Only had a few minutes to look at this. Seems like more than just > > merging two

Re: [FFmpeg-devel] [ANNOUNCE] upcoming vote: TC/CC elections

2023-11-21 Thread Anton Khirnov
Hi, this is a reminder that this vote will be started next Monday (2023-11-27). The candidates so far are: * TC: - Jan Ekström - Anton Khirnov - Lynne - Martin Storsjö - Niklas Haas - Michael Niedermayer - Mark Thompson * CC: - Dave Rice - James

[FFmpeg-devel] [PATCH] fix rounding errors in .ass subtitles format timings

2023-11-21 Thread Muhammed
Signed-off-by: mohad12211 --- fftools/ffmpeg_mux.c | 2 ++ libavcodec/avpacket.c | 9 + libavcodec/packet.h | 2 ++ 3 files changed, 13 insertions(+) diff --git a/fftools/ffmpeg_mux.c b/fftools/ffmpeg_mux.c index 30c0330..7c9f03c 100644 --- a/fftools/ffmpeg_mux.c +++

Re: [FFmpeg-devel] [PATCH 6/6] avcodec/h264dec: Support skipping frames that used gray gap frames

2023-11-21 Thread James Almer
On 11/14/2023 2:20 PM, Michael Niedermayer wrote: Signed-off-by: Michael Niedermayer --- libavcodec/h264dec.c | 7 +++ libavcodec/h264dec.h | 1 + 2 files changed, 8 insertions(+) diff --git a/libavcodec/h264dec.c b/libavcodec/h264dec.c index b48821db244..aa0022a3aba 100644 ---

Re: [FFmpeg-devel] [PATCH 5/6] avcodec/h264: Avoid using gray gap frames as references

2023-11-21 Thread James Almer
On 11/14/2023 2:20 PM, Michael Niedermayer wrote: Signed-off-by: Michael Niedermayer --- libavcodec/h264_refs.c | 11 +++ libavcodec/h264dec.c | 1 + libavcodec/h264dec.h | 1 + 3 files changed, 13 insertions(+) diff --git a/libavcodec/h264_refs.c b/libavcodec/h264_refs.c

Re: [FFmpeg-devel] [ANNOUNCE] upcoming vote: extra members for GA v2

2023-11-21 Thread Anton Khirnov
Waited for a day, as Michael requested, but there were no new affirmative replies. The vote has now started, with 45 authorized voters, and 6 people to be voted on. If you are on the voter list and do not receive a voting link soon, please let me know. If you do receive a voting link, please read