Re: [FFmpeg-devel] [PATCH 2/2] Add fate test for hls metadata update.

2024-04-11 Thread Andreas Rheinhardt
Romain Beauxis: > This patch adds a FATE test for the new HLS metadata update. The fate > sample consists of a two segment AAC hls stream. The first segment has > test title 1 as title metadata while the second has test title 2. > > In the log, we can see that test title 2 is reported for the

Re: [FFmpeg-devel] [PATCH 1/2] libavformat/hls.c: support in-stream ID3 metadata update.

2024-04-11 Thread Romain Beauxis
Hi all, Le dim. 7 avr. 2024 à 09:46, Romain Beauxis a écrit : > > > Le dim. 7 avr. 2024 à 05:44, Steven Liu a > écrit : > >> Romain Beauxis 于2024年3月26日周二 08:58写道: >> > >> > This patch adds support for updating HLS metadata passed as ID3 frames. >> > >> > This seems like a pretty

Re: [FFmpeg-devel] [PATCH] Multi NVENC Split Frame Encoding in HEVC and AV1

2024-04-11 Thread Timo Rothenpieler
On 11/04/2024 13:58, Diego Felix de Souza via ffmpeg-devel wrote: From: Diego Felix de Souza When Split frame encoding is enabled, each input frame is partitioned into horizontal strips which are encoded independently and simultaneously by separate NVENCs, usually resulting in increased

Re: [FFmpeg-devel] [RFC] Bump minimum required version of Android to 5.0

2024-04-11 Thread Tomas Härdin
tor 2024-04-11 klockan 20:16 +0800 skrev Zhao Zhili: > We don’t have a minimum required version of Android in FFmpeg. > libavdevice/android_camera requires Android 7, Java MediaCodec > requires Android 4.1, and NDK MediaCodec requires Android 5.0. > > Without an explicit version, it’s unclear for

Re: [FFmpeg-devel] [RFC] Bump minimum required version of Android to 5.0

2024-04-11 Thread Zhao Zhili
> 在 2024年4月11日,下午9:57,Zhao Zhili 写道: > >  >> >> On Apr 11, 2024, at 21:17, Tomas Härdin wrote: >> >> tor 2024-04-11 klockan 20:16 +0800 skrev Zhao Zhili: >>> We don’t have a minimum required version of Android in FFmpeg. >>> libavdevice/android_camera requires Android 7, Java MediaCodec >>>

[FFmpeg-devel] cannot compile the ffmpeg latest on local

2024-04-11 Thread B-2014 Ariyan Kashyap
I was trying to compile the ffmpeg in my local using MSYS2 terminal and i am getting this error gcc is unable to create an executable file. If gcc is a cross-compiler, use the --enable-cross-compile option. Only do this if you know what cross compiling means. C compiler test failed. If you think

Re: [FFmpeg-devel] cannot compile the ffmpeg latest on local

2024-04-11 Thread epirat07
On 11 Apr 2024, at 15:59, B-2014 Ariyan Kashyap wrote: > I was trying to compile the ffmpeg in my local using MSYS2 terminal and i > am getting this error > > gcc is unable to create an executable file. > If gcc is a cross-compiler, use the --enable-cross-compile option. > Only do this if you

Re: [FFmpeg-devel] [RFC] Bump minimum required version of Android to 5.0

2024-04-11 Thread Zhao Zhili
> On Apr 11, 2024, at 21:17, Tomas Härdin wrote: > > tor 2024-04-11 klockan 20:16 +0800 skrev Zhao Zhili: >> We don’t have a minimum required version of Android in FFmpeg. >> libavdevice/android_camera requires Android 7, Java MediaCodec >> requires Android 4.1, and NDK MediaCodec requires

[FFmpeg-devel] [PATCH] ffmpeg: Add -copystreamid

2024-04-11 Thread Tomas Härdin
Hi Patch attached allows preserving PIDs when remuxing MPEG-TS. James suggested we could generalize this to allow copying from specific streams, but I think if we want to handle a more general case then it would be better to handle streamid via metadata. Passes FATE. /Tomas From

[FFmpeg-devel] [PATCH] avutil/frame: flag A53_CC side data type as allowing multiple entries

2024-04-11 Thread James Almer
Some interlaced h264 samples may export one caption per field. Signed-off-by: James Almer --- libavutil/frame.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavutil/frame.c b/libavutil/frame.c index 0775e2abd9..fdac6f8ee2 100644 --- a/libavutil/frame.c +++

Re: [FFmpeg-devel] [PATCH] ffmpeg: Add -copystreamid

2024-04-11 Thread Tomas Härdin
tor 2024-04-11 klockan 17:41 +0200 skrev Tomas Härdin: > Hi > > Patch attached allows preserving PIDs when remuxing MPEG-TS. James > suggested we could generalize this to allow copying from specific > streams, but I think if we want to handle a more general case then it > would be better to

Re: [FFmpeg-devel] [PATCH] avcodec/libx264: bump minimum required version to 160

2024-04-11 Thread Sean McGovern
Hi, On Wed, Apr 10, 2024, 19:32 Michael Niedermayer wrote: > On Wed, Apr 10, 2024 at 03:47:48PM +0200, Niklas Haas wrote: > > On Wed, 10 Apr 2024 15:18:52 +0200 Michael Niedermayer < > mich...@niedermayer.cc> wrote: > > > On Tue, Apr 09, 2024 at 02:53:28PM +0200, Niklas Haas wrote: > > > > On

Re: [FFmpeg-devel] Add optimization in swscale for LA.

2024-04-11 Thread Michael Niedermayer
On Tue, Apr 09, 2024 at 08:19:19PM +0800, Shiyou Yin wrote: > > > > 2024年3月27日 03:31,Michael Niedermayer 写道: > > > > On Tue, Mar 26, 2024 at 11:11:00AM +0800, Shiyou Yin wrote: > >> > >>> 2024年3月16日 11:03,Shiyou Yin 写道: > >>> > >>> [PATCH 1/3] swscale: [LA] Optimize range convert for

Re: [FFmpeg-devel] [PATCH] avcodec/libx264: bump minimum required version to 160

2024-04-11 Thread Vittorio Giovara
On Thu, Apr 11, 2024 at 6:02 AM Nicolas George wrote: > Michael Niedermayer (12024-04-11): > > Maybe its just me but i find it desireable to be able to just > > pull ffmpeg master head, build it and have it work on as many systems > > as possible. > > While the last time FFmpeg added features…

Re: [FFmpeg-devel] [PATCH] ffmpeg: Add -copystreamid

2024-04-11 Thread Michael Niedermayer
On Thu, Apr 11, 2024 at 05:41:48PM +0200, Tomas Härdin wrote: > Hi > > Patch attached allows preserving PIDs when remuxing MPEG-TS. James > suggested we could generalize this to allow copying from specific > streams, but I think if we want to handle a more general case then it > would be better

Re: [FFmpeg-devel] [PATCHSET] AAC decoder refactor

2024-04-11 Thread Michael Niedermayer
On Thu, Apr 11, 2024 at 07:42:37AM +0200, Lynne wrote: > Apr 10, 2024, 23:57 by mich...@niedermayer.cc: > > > On Wed, Apr 10, 2024 at 08:18:11PM +0200, Michael Niedermayer wrote: > > > >> On Wed, Apr 10, 2024 at 06:48:26PM +0200, Lynne wrote: > >> > Apr 8, 2024, 09:36 by d...@lynne.ee: > >> > >

Re: [FFmpeg-devel] [PATCH] avutil/frame: flag A53_CC side data type as allowing multiple entries

2024-04-11 Thread James Almer
On 4/11/2024 5:17 PM, Kieran Kunhya wrote: On Thu, 11 Apr 2024, 16:42 James Almer, wrote: Some interlaced h264 samples may export one caption per field. Signed-off-by: James Almer --- libavutil/frame.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavutil/frame.c

Re: [FFmpeg-devel] [PATCH] avutil/frame: flag A53_CC side data type as allowing multiple entries

2024-04-11 Thread Kieran Kunhya
On Thu, 11 Apr 2024, 16:42 James Almer, wrote: > Some interlaced h264 samples may export one caption per field. > > Signed-off-by: James Almer > --- > libavutil/frame.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/libavutil/frame.c b/libavutil/frame.c > index

[FFmpeg-devel] [PATCH] avformat/httpauth.c [support both RFC 2617 and RFC 7617]

2024-04-11 Thread 정지우 | Eugene
- Updated the make_digest_auth() function to support both RFC 2617 and RFC 7617 digest authentication. - Supports sha256 , sha512-256 along with the existing md5. MD5 and sha256 were tested, but sha512-256 was not tested due to lack of testable server. - AVHashContext instead of AVMD5 structure.

Re: [FFmpeg-devel] [PATCH v2 16/17] fftools/ffmpeg_filter: propagate codec yuv metadata to filters

2024-04-11 Thread Paul B Mahol
On Wed, Apr 10, 2024 at 3:12 PM Nicolas George wrote: > Niklas Haas (12024-04-10): > > I think a greedy algorithm (not requiring juggling multiple random > > passes) can still work, > > It does not work for audio. Have you studied what works for audio? It is > quite subtle and full of pitfalls.

Re: [FFmpeg-devel] [PATCH v2] avformat: enable UDP IPv6 multicast interface selection using zone index

2024-04-11 Thread Lynne
Apr 11, 2024, 09:45 by lazar.ignjato...@cubic.com: > avformat: enable UDP IPv6 multicast interface selection using zone index > > Enabled IPv6 interface selection using zone index. Properly resolved > interface index in places where default 0 interface index is used > (marked with TODO: within

Re: [FFmpeg-devel] [PATCH v2] avformat: enable UDP IPv6 multicast interface selection using zone index

2024-04-11 Thread RS
This message has been marked as Public on 04/11/2024 07:58Z. On Thursday, April 11, 2024 9:50 AM Lynne wrote: > Is there a reason why we can't switch to IPv4 addresses mapped in IPv6 and > just use the IPv6 API everywhere? I'm not the person to give you that answer. My guess is that due to API

Re: [FFmpeg-devel] [PATCH] lavf/matroskaenc: sort options by name

2024-04-11 Thread Paul B Mahol
On Wed, Apr 10, 2024 at 11:08 AM Stefano Sabatini wrote: > On date Sunday 2024-04-07 16:01:27 +0800, Zhao Zhili wrote: > > > > > On Apr 7, 2024, at 14:16, Anton Khirnov wrote: > > > > > > Quoting Andreas Rheinhardt (2024-04-06 13:25:49) > > >> See >

Re: [FFmpeg-devel] Query from Reuters on XZ, open source, and Microsoft

2024-04-11 Thread Paul B Mahol
On Thu, Apr 11, 2024 at 5:59 AM Vittorio Giovara wrote: > On Wed, Apr 10, 2024 at 9:19 PM Michael Niedermayer < > mich...@niedermayer.cc> > wrote: > > > Hi > > > > On Tue, Apr 09, 2024 at 03:57:02PM -0500, Romain Beauxis wrote: > > > [Apologies for continuing the conversation, Rémi] > > > > > >

[FFmpeg-devel] [PATCH v2] avformat: enable UDP IPv6 multicast interface selection using zone index

2024-04-11 Thread RS
avformat: enable UDP IPv6 multicast interface selection using zone index Enabled IPv6 interface selection using zone index. Properly resolved interface index in places where default 0 interface index is used (marked with TODO: within udp.c). Adjusted binding for multicast sockets that are used

Re: [FFmpeg-devel] [PATCH] avcodec/libx264: bump minimum required version to 160

2024-04-11 Thread Nicolas George
Michael Niedermayer (12024-04-11): > Maybe its just me but i find it desireable to be able to just > pull ffmpeg master head, build it and have it work on as many systems > as possible. Not just you. The last time x264 had a change that would make me install from sources instead of using an older

Re: [FFmpeg-devel] [PATCH 06/10] lavc/hevc_ps/HEVCSPS: change flags into size-1 bitfields

2024-04-11 Thread Andreas Rheinhardt
Anton Khirnov: > Reduces sizeof(HEVCSPS) by 96 bytes. > > Also improve flag names: drop redundant suffixes and prefixes, and > consistently use disabled/enabled. > --- > libavcodec/dxva2_hevc.c| 24 - > libavcodec/hevc_cabac.c| 36 ++--- > libavcodec/hevc_filter.c

[FFmpeg-devel] [PATCH] Multi NVENC Split Frame Encoding in HEVC and AV1

2024-04-11 Thread Diego Felix de Souza via ffmpeg-devel
From: Diego Felix de Souza When Split frame encoding is enabled, each input frame is partitioned into horizontal strips which are encoded independently and simultaneously by separate NVENCs, usually resulting in increased encoding speed compared to single NVENC encoding. --- libavcodec/nvenc.c

[FFmpeg-devel] [RFC] Bump minimum required version of Android to 5.0

2024-04-11 Thread Zhao Zhili
We don’t have a minimum required version of Android in FFmpeg. libavdevice/android_camera requires Android 7, Java MediaCodec requires Android 4.1, and NDK MediaCodec requires Android 5.0. Without an explicit version, it’s unclear for development and test. Android 5.0 is released in 2014, is it

Re: [FFmpeg-devel] [PATCH] avformat/tls_mbedtls: Pass FLAG_NONBLOCK to underlying transport

2024-04-11 Thread Zhao Zhili
> On Apr 8, 2024, at 21:26, Zhao Zhili wrote: > > From: Zhao Zhili > > This fix rtmps failure since rtmps requires nonblocking read. > > Signed-off-by: Zhao Zhili > --- > libavformat/tls_mbedtls.c | 4 > 1 file changed, 4 insertions(+) > > diff --git a/libavformat/tls_mbedtls.c

Re: [FFmpeg-devel] [PATCH 10/10] lavc/hevc_ps: compactify ShortTermRPS

2024-04-11 Thread James Almer
On 4/10/2024 10:31 AM, Anton Khirnov wrote: Do not use larger fields than needed, use size-1 bitfields for flags. Reduces sizeof(HEVCSPS) by 1280 bytes. --- libavcodec/hevc_ps.c | 6 +++--- libavcodec/hevc_ps.h | 19 +++ libavcodec/vulkan_hevc.c | 2 +- 3 files

[FFmpeg-devel] [PATCH v3] avformat: enable UDP IPv6 multicast interface selection using zone index

2024-04-11 Thread RS
avformat: enable UDP IPv6 multicast interface selection using zone index Enabled IPv6 interface selection using zone index. Properly resolved interface index in places where default 0 interface index is used (marked with TODO: within udp.c). Adjusted binding for multicast sockets that are used