Re: [FFmpeg-devel] [PATCH v5 1/2] avformat/riffdec: change declaration of ff_get_wav_header()

2025-03-02 Thread Viraaj Raulgaonkar
On Mon, Feb 3, 2025 at 9:55 AM Viraaj Raulgaonkar wrote: > > Change the type of logctx from void* to AVFormatContext*. This is in > preparation for the next commit. > --- > libavformat/riff.h| 2 +- > libavformat/riffdec.c | 14 +++--- > 2 files changed, 8 insertions(+), 8 deletions(

Re: [FFmpeg-devel] [PATCH v5 2/2] avformat/riffdec: warn on invalid sample rate

2025-03-02 Thread Viraaj Raulgaonkar
On Wed, Feb 12, 2025 at 5:01 PM Viraaj Raulgaonkar wrote: > > On Mon, Feb 3, 2025 at 9:55 AM Viraaj Raulgaonkar > wrote: > > > > If strict_std_compliance < FF_COMPLIANCE_STRICT, warn the user of the > > invalid sample rate instead of returning an error. In certain cases the > > sample rate can ge

[FFmpeg-devel] [PATCH v5] libavcodec/dvbsubenc.c: add a disable_2bpp option to work around some decoders.

2025-03-02 Thread Ronan Waide
As noted in the code in several places, some DVB subtitle decoders don't handle 2bpp color. This patch adds a disable_2bpp option which disables the 2bpp format; subtitles which would use 2bpp will be bumped up to 4bpp. Per suggestion from sw, disable_2pp defaults to true. Signed-off-by: Ronan Wai

Re: [FFmpeg-devel] [PATCH v4] libavcodec/dvbsubenc.c: add a disable_2bpp option to work around some decoders.

2025-03-02 Thread Ronan Waide
> On 2 Mar 2025, at 15:00, Soft Works wrote: > > > >> -Original Message- >> From: ffmpeg-devel On Behalf Of Ronan >> Waide >> Sent: Samstag, 1. März 2025 16:32 >> To: ffmpeg-devel@ffmpeg.org >> Cc: Ronan Waide >> Subject: [FFmpeg-devel] [PATCH v4] libavcodec/dvbsubenc.c: add a >> di

[FFmpeg-devel] [PATCH] avformat/hlsenc: fix CODECS Attribute hard code in hevc EXT-X-STREAM-INF

2025-03-02 Thread Jack Lau via ffmpeg-devel
fix ticket: 10786 parse the SPS from extradata and get profile_compatibility, tier, constraints which was been hard code before. HEVC CODECS Attribute reference to: ISO/IEC14496-15 Signed-off-by: Jack Lau --- libavformat/hlsenc.c | 41 ++--- 1 file changed, 3

Re: [FFmpeg-devel] [PATCH] avformat/hlsenc: fix CODECS Attribute hard code in hevc EXT-X-STREAM-INF

2025-03-02 Thread Jack Lau
> On Mar 2, 2025, at 15:47, Jack Lau via ffmpeg-devel > wrote: > > fix ticket: 10786 > parse the SPS from extradata and get profile_compatibility, tier, constraints > which was been hard code before. > > HEVC CODECS Attribute reference to: ISO/IEC14496-15 > Signed-off-by: Jack Lau > --- > l

[FFmpeg-devel] [PATCH] lavc/vvc: Stricter bound on pps_exp_slice_height_in_ctus_minus1

2025-03-02 Thread Frank Plowman
When pps_num_exp_slices_in_tile[i] is nonzero, the ith tile is made up of pps_num_exp_slices_in_tile[i] slices stacked atop one another, where the height of the jth slice in the ith tile is given by pps_exp_slice_height_in_ctus_minus1[i][j]. The sum of the heights of the slices in the tile should

Re: [FFmpeg-devel] [PATCH 23/30] avutil: remove deprecated FF_API_FRAME_PKT

2025-03-02 Thread Marton Balint
On Sat, 1 Mar 2025, James Almer wrote: On 3/1/2025 2:29 PM, Marton Balint wrote: On Sun, 23 Feb 2025, James Almer wrote: Deprecated since 2023-03-20. This also removes the POS variable from the filters without replacement, not just the API. I suggest we remove frame->pkt_size but

Re: [FFmpeg-devel] [PATCH] avformat/hlsenc: fix CODECS Attribute hard code in hevc EXT-X-STREAM-INF

2025-03-02 Thread Steven Liu
Jack Lau via ffmpeg-devel 于2025年3月2日周日 21:31写道: > > fix ticket: 10786 > parse the SPS from extradata and get profile_compatibility, tier, constraints > which was been hard code before. > > HEVC CODECS Attribute reference to: ISO/IEC14496-15 > Signed-off-by: Jack Lau > --- > libavformat/hlsenc.c

Re: [FFmpeg-devel] Point releases

2025-03-02 Thread Michael Niedermayer
Hi On Wed, Jan 22, 2025 at 03:24:01AM +0100, Michael Niedermayer wrote: > Hi all > > I intend to make releases from the maintained branches soon because of all the > accumulated bugfixes > > will start with 7.1.1 done [...] -- Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC78704

[FFmpeg-devel] FFmpeg 4.3.9 and 3.4.14

2025-03-02 Thread Michael Niedermayer
Hi all As ive already backported and somewhat tested release/4.3 i intend to make the next point release from that and after that next is 3.4 (because its the supported branch that is longest without a release) like always, please backport things if you want something backported please test, if y

Re: [FFmpeg-devel] [PATCH v2 1/3] avformat/movenc: Add AVS3 support

2025-03-02 Thread Michael Niedermayer
On Tue, Feb 25, 2025 at 10:38:23AM +0800, Zhao Zhili wrote: > > > > On Feb 25, 2025, at 01:52, Michael Niedermayer > > wrote: > > > > On Mon, Feb 24, 2025 at 09:51:32PM +0800, Zhao Zhili wrote: > >> From: Zhao Zhili > >> > >> 'avs3' is registered at mp4ra.org. The Avs3ConfigurationBox 'av3c'

Re: [FFmpeg-devel] [PATCH v2 1/3] avutil/timecode: add ff_timecode_set_smpte

2025-03-02 Thread Timo Rothenpieler
On 28.02.2025 23:46, Timo Rothenpieler wrote: --- libavutil/timecode.c | 27 +++ libavutil/timecode_internal.c | 51 +++ libavutil/timecode_internal.h | 51 +++ 3 files changed, 105 insertions(+), 24 del

Re: [FFmpeg-devel] [PATCH 2/2] lavc/vvc: Fix pps_single_slice_picture

2025-03-02 Thread Nuo Mi
On Tue, Feb 25, 2025 at 3:16 AM Frank Plowman wrote: > On 24/02/2025 02:23, James Almer wrote: > > On 2/23/2025 9:04 AM, Frank Plowman wrote: > >> Signed-off-by: Frank Plowman > >> --- > >> libavcodec/vvc/ps.c | 3 ++- > >> 1 file changed, 2 insertions(+), 1 deletion(-) > >> > >> diff --git a

Re: [FFmpeg-devel] [PATCH 2/2] lavc/vvc: Fix pps_single_slice_picture

2025-03-02 Thread Nuo Mi
On Sun, Feb 23, 2025 at 8:05 PM Frank Plowman wrote: > Signed-off-by: Frank Plowman > Applied this one. Thank you, Frank > --- > libavcodec/vvc/ps.c | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > > diff --git a/libavcodec/vvc/ps.c b/libavcodec/vvc/ps.c > index fae6655cc0..603a6d42

Re: [FFmpeg-devel] [PATCH v4] libavcodec/dvbsubenc.c: add a disable_2bpp option to work around some decoders.

2025-03-02 Thread Andreas Rheinhardt
Ronan Waide: > As noted in the code in several places, some DVB subtitle decoders > don't handle 2bpp color. This patch adds a disable_2bpp option which > disables the 2bpp format; subtitles which would use 2bpp will be bumped > up to 4bpp. > > Signed-off-by: Ronan Waide > --- > doc/encoders.tex

Re: [FFmpeg-devel] [PATCH v3 1/7] fftools/textformat: Extract and generalize textformat api from ffprobe.c

2025-03-02 Thread Soft Works
> -Original Message- > From: Stefano Sabatini > Sent: Sonntag, 2. März 2025 18:55 > To: FFmpeg development discussions and patches > Cc: Soft Works ; softworkz > ; Andreas Rheinhardt > > Subject: Re: [FFmpeg-devel] [PATCH v3 1/7] fftools/textformat: Extract > and generalize textformat

Re: [FFmpeg-devel] [PATCH] avformat/hlsenc: fix CODECS Attribute hard code in hevc EXT-X-STREAM-INF

2025-03-02 Thread Jack Lau
> On Mar 3, 2025, at 09:08, Steven Liu wrote: > > Jack Lau via ffmpeg-devel > 于2025年3月2日周日 21:31写道: >> >> fix ticket: 10786 >> parse the SPS from extradata and get profile_compatibility, tier, >> constraints which was been hard code before. >> >> HEVC CODECS

[FFmpeg-devel] [PATCH] avformat/hlsenc: fix CODECS Attribute hard code in hevc EXT-X-STREAM-INF

2025-03-02 Thread Jack Lau via ffmpeg-devel
fix ticket: 10786 parse the SPS from extradata and get profile_compatibility, tier, constraints which was been hard code before. HEVC CODECS Attribute reference to: ISO/IEC14496-15 Signed-off-by: Jack Lau --- libavformat/hlsenc.c | 38 +++--- 1 file changed, 35 i

Re: [FFmpeg-devel] [PATCH v3 1/7] fftools/textformat: Extract and generalize textformat api from ffprobe.c

2025-03-02 Thread Stefano Sabatini
Hi, I'll have a look at this in the week. There are a few things which I want to doublecheck (there is some ad-hoc application logic which might be broken when generalizing this), but I like the overall direction of this changeset. On date Saturday 2025-03-01 10:01:58 +, softworkz wrote: > Fr

Re: [FFmpeg-devel] [PATCH v2 1/3] avutil/timecode: add ff_timecode_set_smpte

2025-03-02 Thread Timo Rothenpieler
On 02.03.2025 13:32, Timo Rothenpieler wrote: On 28.02.2025 23:46, Timo Rothenpieler wrote: ---   libavutil/timecode.c  | 27 +++   libavutil/timecode_internal.c | 51 +++   libavutil/timecode_internal.h | 51 +

[FFmpeg-devel] [PATCH] avcodec/Makefile: remove redundant object

2025-03-02 Thread Timo Rothenpieler
It's already listed in OBJS-$(CONFIG_JNI), which should cover all cases STLIBOBJS does and more. --- libavcodec/Makefile | 1 - 1 file changed, 1 deletion(-) diff --git a/libavcodec/Makefile b/libavcodec/Makefile index e3ccbf1838..90630e5d36 100644 --- a/libavcodec/Makefile +++ b/libavcodec/Makef

Re: [FFmpeg-devel] retriggering patchwork for failed fate tests?

2025-03-02 Thread Frank Plowman
On 02/03/2025 08:31, Ronan Waide wrote: > hi folks, > > I submitted a patch yesterday which seems to have failed automated `make > fate` tests in a place unrelated to the patch > (https://patchwork.ffmpeg.org/check/114511/, > https://patchwork.ffmpeg.org/check/114513/). I saw a few other patche

Re: [FFmpeg-devel] [PATCH] lavc/vvcdec: fix undefined reference to ff_h2645_pixel_aspect

2025-03-02 Thread Nuo Mi
On Mon, Feb 24, 2025 at 2:44 AM Frank Plowman wrote: > On 23/02/2025 13:37, Nuo Mi wrote: > > This issue was introduced by commit > bb8e95b650de30d6e07196761d1fc61857f5462d > > > > Reproduce steps: > > ./configure --enable-ffmpeg --disable-everything --enable-decoder=vvc > --enable-parser=vvc --e

[FFmpeg-devel] retriggering patchwork for failed fate tests?

2025-03-02 Thread Ronan Waide
hi folks, I submitted a patch yesterday which seems to have failed automated `make fate` tests in a place unrelated to the patch (https://patchwork.ffmpeg.org/check/114511/, https://patchwork.ffmpeg.org/check/114513/). I saw a few other patches also failing in this same way - it looks like som

Re: [FFmpeg-devel] FFmpeg Community Committee – Updates & Next Steps

2025-03-02 Thread Rémi Denis-Courmont
Le perjantaina 28. helmikuuta 2025, 21.29.53 UTC+2 Michael Niedermayer a écrit : > Also id like to ask for every of your meetings to be recorded and made > public. Your request has been noted and it is hereby formally denied. My fellow CC members and I have freedom of reunion and privacy rights.

[FFmpeg-devel] [PATCH] doc/filters: Add CUDA Video Filters section for CUDA-based and CUDA+NPP based filters.

2025-03-02 Thread Danil Iashchenko
--- doc/filters.texi | 1353 -- 1 file changed, 713 insertions(+), 640 deletions(-) diff --git a/doc/filters.texi b/doc/filters.texi index 0ba7d3035f..b2e836e112 100644 --- a/doc/filters.texi +++ b/doc/filters.texi @@ -8619,45 +8619,6 @@ Set planes to f

[FFmpeg-devel] [PATCH] avformat/hlsenc: fix CODECS Attribute hard code in hevc EXT-X-STREAM-INF

2025-03-02 Thread Jack Lau via ffmpeg-devel
fix ticket: 10786 parse the SPS from extradata and get profile_compatibility, tier, constraints which was been hard code before. HEVC CODECS Attribute reference to: ISO/IEC14496-15 Signed-off-by: Jack Lau --- libavformat/hlsenc.c | 38 +++--- 1 file changed, 35 i

[FFmpeg-devel] [PATCH 1/2] avfilter/drawtext: support bitmap (including monochrome) fonts

2025-03-02 Thread Yogeshwar Velingker via ffmpeg-devel
Fix segfaults that occur when using a bitmap font. Do not free glyphs on error in load_glyph - upon detecting a monochrome glyph, the function would free it while leaving its corresponding node in the glyph tree, resulting in invalid reads and double frees. Avoid calling FT_Glyph_To_Bitmap on bitma

[FFmpeg-devel] [PATCH 2/2] avfilter/drawtext: fix memory bugs

2025-03-02 Thread Yogeshwar Velingker via ffmpeg-devel
Check for malloc failures, and fix error paths that leak memory. Signed-off-by: Yogeshwar Velingker --- libavfilter/vf_drawtext.c | 47 +-- 1 file changed, 30 insertions(+), 17 deletions(-) diff --git a/libavfilter/vf_drawtext.c b/libavfilter/vf_drawtext.c in

[FFmpeg-devel] [PATCH v2 1/2] avfilter/drawtext: support bitmap (including monochrome) fonts

2025-03-02 Thread Yogeshwar Velingker via ffmpeg-devel
Fix segfaults that occur when using a bitmap font. Do not free glyphs on error in load_glyph - upon detecting a monochrome glyph, the function would free it while leaving its corresponding node in the glyph tree, resulting in invalid reads and double frees. Avoid calling FT_Glyph_To_Bitmap on bitma

Re: [FFmpeg-devel] [PATCH] avformat/hlsenc: fix CODECS Attribute hard code in hevc EXT-X-STREAM-INF

2025-03-02 Thread Steven Liu
Jack Lau via ffmpeg-devel 于2025年3月2日周日 15:47写道: > > fix ticket: 10786 > parse the SPS from extradata and get profile_compatibility, tier, constraints > which was been hard code before. > > HEVC CODECS Attribute reference to: ISO/IEC14496-15 > Signed-off-by: Jack Lau > --- > libavformat/hlsenc.c

Re: [FFmpeg-devel] [PATCH 1/2] lavc/vvc: Fix NumEntryPoints derivation

2025-03-02 Thread Nuo Mi
On Sun, Feb 23, 2025 at 8:05 PM Frank Plowman wrote: > If pps_single_slice_per_subpic_flag is 1, > slice_{width,height}_in_ctus are undefined and we must instead get the > dimensions of the slice by referring to the corresponding subpicture. > > Signed-off-by: Frank Plowman > --- > libavcodec/c

Re: [FFmpeg-devel] [PATCH v4] libavcodec/dvbsubenc.c: add a disable_2bpp option to work around some decoders.

2025-03-02 Thread Soft Works
> -Original Message- > From: ffmpeg-devel On Behalf Of Ronan > Waide > Sent: Samstag, 1. März 2025 16:32 > To: ffmpeg-devel@ffmpeg.org > Cc: Ronan Waide > Subject: [FFmpeg-devel] [PATCH v4] libavcodec/dvbsubenc.c: add a > disable_2bpp option to work around some decoders. > > As noted

Re: [FFmpeg-devel] [PATCH v5] libavcodec/dvbsubenc.c: add a disable_2bpp option to work around some decoders.

2025-03-02 Thread Soft Works
> -Original Message- > From: ffmpeg-devel On Behalf Of Ronan > Waide > Sent: Sonntag, 2. März 2025 18:24 > To: ffmpeg-devel@ffmpeg.org > Cc: Ronan Waide > Subject: [FFmpeg-devel] [PATCH v5] libavcodec/dvbsubenc.c: add a > disable_2bpp option to work around some decoders. > > As noted

[FFmpeg-devel] [PATCH 1/2] avutil/attributes_internal: Add EXTERN macro for extern+hidden

2025-03-02 Thread Andreas Rheinhardt
Patches attachedFrom d0aa40a0f8c2a7e959628ee2d13c42e1643a Mon Sep 17 00:00:00 2001 From: Andreas Rheinhardt Date: Sun, 2 Mar 2025 15:27:48 +0100 Subject: [PATCH 1/2] avutil/attributes_internal: Add EXTERN macro for extern+hidden This is inspired by the equivalent dav1d attribute introduced b