Re: [FFmpeg-devel] [PATCH 1/7] avformat/dashdec: use av_err2str

2025-04-06 Thread Michael Niedermayer
Hi On Wed, Apr 02, 2025 at 01:43:30AM +0200, Marvin Scholz wrote: > There is no need to explicitly specify the buffer, as it > is only ever passed to av_log, so av_err2str can be used. > --- > libavformat/dashenc.c | 9 +++-- > 1 file changed, 3 insertions(+), 6 deletions(-) patchset should

Re: [FFmpeg-devel] [PATCH 0/4] avformat/hls: Some extension fixes that need testing

2025-04-06 Thread Leo Izen
On 4/6/25 7:16 AM, Michael Niedermayer wrote: Hi all This patchset adds all the extensions i found on trac and its links to allowed_extensions for hls. There was one testcase only so most of this is untested. It may be needed to add the extensions also to demuxers or as exceptions specific to hl

Re: [FFmpeg-devel] [PATCH 0/4] avformat/hls: Some extension fixes that need testing

2025-04-06 Thread Michael Niedermayer
Hi On Sun, Apr 06, 2025 at 09:20:58AM -0400, Leo Izen wrote: > On 4/6/25 7:16 AM, Michael Niedermayer wrote: > > Hi all > > > > This patchset adds all the extensions i found on trac and its links to > > allowed_extensions for hls. > > There was one testcase only so most of this is untested. It ma

[FFmpeg-devel] [PATCH 3/4] avformat/hls: Add ec3 to allowed_extensions

2025-04-06 Thread Michael Niedermayer
Fixes part of Ticket11435 Fixes: Elisa Viihde (Finnish online recording service) Signed-off-by: Michael Niedermayer --- libavformat/hls.c | 1 + 1 file changed, 1 insertion(+) diff --git a/libavformat/hls.c b/libavformat/hls.c index 6ef1c122322..760a354ab90 100644 --- a/libavformat/hls.c +++ b/

[FFmpeg-devel] [PATCH 1/4] avformat/hls: Add cmfv and cmfa to allowed_extensions

2025-04-06 Thread Michael Niedermayer
Fixes: www.nicovideo.jp Fixes: Ticket11526 Signed-off-by: Michael Niedermayer --- libavformat/hls.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/libavformat/hls.c b/libavformat/hls.c index 4ee142f0c4c..26d9081260c 100644 --- a/libavformat/hls.c +++ b/libavformat/hls.c @@

[FFmpeg-devel] [PATCH 4/4] avformat/hls: add fmp4 to allowed_extensions

2025-04-06 Thread Michael Niedermayer
Fixes: yt-dlp/issues/12700 Signed-off-by: Michael Niedermayer --- libavformat/hls.c | 1 + 1 file changed, 1 insertion(+) diff --git a/libavformat/hls.c b/libavformat/hls.c index 760a354ab90..df0823260a0 100644 --- a/libavformat/hls.c +++ b/libavformat/hls.c @@ -2631,6 +2631,7 @@ static const A

[FFmpeg-devel] [PATCH 0/4] avformat/hls: Some extension fixes that need testing

2025-04-06 Thread Michael Niedermayer
Hi all This patchset adds all the extensions i found on trac and its links to allowed_extensions for hls. There was one testcase only so most of this is untested. It may be needed to add the extensions also to demuxers or as exceptions specific to hls elsewhere. Thanks _

[FFmpeg-devel] [PATCH 2/4] avformat/hls: Point user to how to easily contribute a fix for missing extensions

2025-04-06 Thread Michael Niedermayer
Signed-off-by: Michael Niedermayer --- libavformat/hls.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavformat/hls.c b/libavformat/hls.c index 26d9081260c..6ef1c122322 100644 --- a/libavformat/hls.c +++ b/libavformat/hls.c @@ -746,7 +746,7 @@ static int test_segment(AVFo

[FFmpeg-devel] [PATCH] avcodec/vorbisdec: Dont treat overread as error

2025-04-06 Thread Michael Niedermayer
This differs from libvorbis by stddev:2.44 PSNR: 88.58 MAXDIFF: 41 bytes: 834304/ 834304 for the file from the ticket Fixes: Ticket11427 Regression since: dc89cf804a811c0d25f4649a99f7fab4b5b416fa Signed-off-by: Michael Niedermayer --- libavcodec/vorbisdec.c | 6 -- 1 file changed

[FFmpeg-devel] [PATCH] libpostproc: remove big-endian AltiVec acceleration

2025-04-06 Thread Sean McGovern
While POWER & PowerPC systems have technically supported little-endian from inception, it did not come into proper usage until the introducion of the POWER8 in 2013. The AltiVec acceleration present here has not had meaningful change since before then. refs: Trac/11120 --- libpostproc/postproces

[FFmpeg-devel] [PATCH] avformat/hls: Fix Youtube AAC

2025-04-06 Thread Michael Niedermayer
Fixes: Ticket11435 Fixes: yt-dlp -f 234+270 https://www.youtube.com/live/l8PMl7tUDIE Signed-off-by: Michael Niedermayer --- libavformat/hls.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libavformat/hls.c b/libavformat/hls.c index df0823260a0..49a8898a7b4 100644 --- a/li

Re: [FFmpeg-devel] [PATCH] avcodec/ffv1enc: Fix remap > 0 with gbrp12, that is non float

2025-04-06 Thread Michael Niedermayer
On Thu, Apr 03, 2025 at 03:33:25PM +0200, Michael Niedermayer wrote: > Signed-off-by: Michael Niedermayer > --- > libavcodec/ffv1enc.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) will apply [...] -- Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB I have oft

Re: [FFmpeg-devel] SW's Patchsets Overview

2025-04-06 Thread Marton Balint
On Wed, 2 Apr 2025, softworkz . wrote: -Original Message- From: ffmpeg-devel On Behalf Of Marton Balint Sent: Mittwoch, 2. April 2025 21:45 To: FFmpeg development discussions and patches Subject: Re: [FFmpeg-devel] SW's Patchsets Overview On Wed, 2 Apr 2025, softworkz . wrote:

Re: [FFmpeg-devel] SW's Patchsets Overview

2025-04-06 Thread softworkz .
> -Original Message- > From: ffmpeg-devel On Behalf Of Marton > Balint > Sent: Sonntag, 6. April 2025 23:05 > To: FFmpeg development discussions and patches > Subject: Re: [FFmpeg-devel] SW's Patchsets Overview > > > > On Wed, 2 Apr 2025, softworkz . wrote: > > > > > > >> -Origi

Re: [FFmpeg-devel] [PATCH v9 0/4] print_graphs: Complete Filtergraph Printing

2025-04-06 Thread softworkz .
> -Original Message- > From: ffmpegagent > Sent: Sonntag, 23. März 2025 04:42 > To: ffmpeg-devel@ffmpeg.org > Cc: softworkz > Subject: [PATCH v9 0/4] print_graphs: Complete Filtergraph Printing > > Due to the additional work on graph visualization (see > https://lists.ffmpeg.org/piperm

Re: [FFmpeg-devel] [PATCH v2] avcodec/ffv1: Store slices*planes with the minimum bits needed after remap

2025-04-06 Thread Michael Niedermayer
On Thu, Apr 03, 2025 at 02:36:36AM +0200, Michael Niedermayer wrote: > This also means that if a plane*slice has only 1 color nothing > is stored after the remap table > > This improves compression, but more tests are needed > > This also corrects the RCT offset to the exact value after remap > n

[FFmpeg-devel] [PATCH] avutil/aes: use pthread_once to fill the static tables

2025-04-06 Thread James Almer
Signed-off-by: James Almer --- libavutil/aes.c | 53 - 1 file changed, 30 insertions(+), 23 deletions(-) diff --git a/libavutil/aes.c b/libavutil/aes.c index 1f4cceb700..5f31412149 100644 --- a/libavutil/aes.c +++ b/libavutil/aes.c @@ -29,6 +29,7 @

Re: [FFmpeg-devel] [PATCH 4/4] avcodec/ffv1enc: avoid slices larger than 360x288 if no value is specified

2025-04-06 Thread James Almer
On 4/6/2025 8:44 PM, Michael Niedermayer wrote: On Sun, Apr 06, 2025 at 08:29:42PM -0300, James Almer wrote: On 4/3/2025 7:50 AM, Michael Niedermayer wrote: This improves speed by providing more independent things for more CPUs Signed-off-by: Michael Niedermayer --- libavcodec/ffv1enc.c

Re: [FFmpeg-devel] [PATCH 1/4] avcodec/ffv1dec: Limit size of fltmap* to pixel number

2025-04-06 Thread Michael Niedermayer
On Thu, Apr 03, 2025 at 12:50:46PM +0200, Michael Niedermayer wrote: > This reduces needed memory and also removes the 65536 maximum for remap > on the decoder side > > Signed-off-by: Michael Niedermayer > --- > libavcodec/ffv1.c| 2 ++ > libavcodec/ffv1.h| 2 ++ > libavcodec/ffv1dec.c

Re: [FFmpeg-devel] [PATCH 1/3] lavu/dict: add AV_DICT_DEDUP

2025-04-06 Thread Michael Niedermayer
On Wed, Aug 24, 2022 at 07:27:20PM -0500, rcombs wrote: > This is useful when multiple metadata inputs may set the same value > (e.g. both a container-specific header and an ID3 tag). > --- > libavutil/dict.c | 11 +++ > libavutil/dict.h | 1 + > 2 files changed, 12 insertions(+) will ap

Re: [FFmpeg-devel] [PATCH 4/4] avcodec/ffv1enc: avoid slices larger than 360x288 if no value is specified

2025-04-06 Thread James Almer
On 4/3/2025 7:50 AM, Michael Niedermayer wrote: This improves speed by providing more independent things for more CPUs Signed-off-by: Michael Niedermayer --- libavcodec/ffv1enc.c | 6 +- .../ref/fate/matroska-mastering-display-metadata | 16

Re: [FFmpeg-devel] [PATCH 4/4] avcodec/ffv1enc: avoid slices larger than 360x288 if no value is specified

2025-04-06 Thread Michael Niedermayer
On Sun, Apr 06, 2025 at 08:29:42PM -0300, James Almer wrote: > On 4/3/2025 7:50 AM, Michael Niedermayer wrote: > > This improves speed by providing more independent things for more CPUs > > > > Signed-off-by: Michael Niedermayer > > --- > > libavcodec/ffv1enc.c | 6