Re: [FFmpeg-devel] [PATCH v4 1/4] doc: Explain what "context" means

2024-05-29 Thread Stefano Sabatini
On date Wednesday 2024-05-29 11:50:40 +0100, Andrew Sayers wrote: > Posting this separately, as these are practical "how does FFmpeg work" issues > vaguely inspired by recent discussions. > > > *How do namespaces work in FFmpeg?* > > We've talked a bit about function namespaces recently. One

Re: [FFmpeg-devel] [PATCH v4 1/4] doc: Explain what "context" means

2024-05-28 Thread Stefano Sabatini
that will keep > the big questions contained in one place. > > On Sat, May 25, 2024 at 11:49:48AM +0200, Stefano Sabatini wrote: > > What perplexes me is that "context" is not part of the standard OOP > > jargon, so this is probably adding more to the confusion. > >

[FFmpeg-devel] lavfi: add perlin noise generator

2024-05-28 Thread Stefano Sabatini
On date Monday 2024-05-27 23:37:33 +0200, Stefano Sabatini wrote: > Hi, > > still missing documentation and might be optimized (and maybe extended > to support gray16 - this should be simple), comments are welcome. Updated with documentation. >From 607459e7a184ab2d111b65f5017fb

[FFmpeg-devel] [POC] lavfi: add perlin noise generator

2024-05-27 Thread Stefano Sabatini
Hi, still missing documentation and might be optimized (and maybe extended to support gray16 - this should be simple), comments are welcome. >From 5018f5b887ef84c19cbf3f76c6607b49a6c99f2a Mon Sep 17 00:00:00 2001 From: Stefano Sabatini Date: Mon, 27 May 2024 11:19:08 +0200 Subject: [PATCH] la

Re: [FFmpeg-devel] [PATCH v5 1/4] doc: Explain what "context" means

2024-05-25 Thread Stefano Sabatini
On date Thursday 2024-05-23 21:00:40 +0100, Andrew Sayers wrote: > Derived from explanations kindly provided by Stefano Sabatini and others: > https://ffmpeg.org/pipermail/ffmpeg-devel/2024-April/325903.html > --- > doc/context.md | 439 +++

Re: [FFmpeg-devel] [PATCH v5 2/4] lavu: Clarify relationship between AVClass, AVOption and context

2024-05-25 Thread Stefano Sabatini
On date Thursday 2024-05-23 21:00:41 +0100, Andrew Sayers wrote: > --- > libavutil/log.h | 16 +--- > libavutil/opt.h | 17 ++--- > 2 files changed, 27 insertions(+), 6 deletions(-) > > diff --git a/libavutil/log.h b/libavutil/log.h > index ab7ceabe22..d599ab506e 100644 >

Re: [FFmpeg-devel] [PATCH v4 1/4] doc: Explain what "context" means

2024-05-25 Thread Stefano Sabatini
On date Wednesday 2024-05-22 17:07:51 +0100, Andrew Sayers wrote: [...] > > > diff --git a/doc/context.md b/doc/context.md > > > new file mode 100644 > > > index 00..fb85b3f366 > > > --- /dev/null > > > +++ b/doc/context.md > > > @@ -0,0 +1,394 @@ > > > +# Introduction to contexts > > > +

Re: [FFmpeg-devel] [PATCH v3 1/3] doc: Explain what "context" means

2024-05-25 Thread Stefano Sabatini
On date Wednesday 2024-05-22 13:47:36 +0100, Andrew Sayers wrote: > On Wed, May 22, 2024 at 12:37:37PM +0200, Stefano Sabatini wrote: > > On date Sunday 2024-05-05 22:04:36 +0100, Andrew Sayers wrote: > > > I'm still travelling, so the following thoughts might be a bit > &g

Re: [FFmpeg-devel] [PATCH v3 1/3] doc: Explain what "context" means

2024-05-22 Thread Stefano Sabatini
On date Sunday 2024-05-05 22:04:36 +0100, Andrew Sayers wrote: > I'm still travelling, so the following thoughts might be a bit > half-formed. But I wanted to get some feedback before sitting down > for a proper think. [...] > > > I've also gone through the code looking for edge cases we haven't

Re: [FFmpeg-devel] [PATCH v4 4/4] lavf: Add documentation for private "Context" classes

2024-05-22 Thread Stefano Sabatini
On date Wednesday 2024-05-15 16:54:22 +0100, Andrew Sayers wrote: > Doxygen thinks any text like "Context for foo" is a link to a struct called > "Context". > Add a description and a better link, to avoid confusing readers. > --- > libavformat/async.c | 3 +++ > libavformat/cache.c | 3 +++ > 2

Re: [FFmpeg-devel] [PATCH v4 2/4] lavu: Clarify relationship between AVClass, AVOption and context

2024-05-22 Thread Stefano Sabatini
On date Wednesday 2024-05-15 16:54:20 +0100, Andrew Sayers wrote: > --- > libavutil/log.h | 11 --- > libavutil/opt.h | 7 --- > 2 files changed, 12 insertions(+), 6 deletions(-) > > diff --git a/libavutil/log.h b/libavutil/log.h > index ab7ceabe22..cfbf416679 100644 > ---

Re: [FFmpeg-devel] [PATCH v4 1/4] doc: Explain what "context" means

2024-05-22 Thread Stefano Sabatini
Sorry for the slow reply. On date Wednesday 2024-05-15 16:54:19 +0100, Andrew Sayers wrote: > Derived from detailed explanations kindly provided by Stefano Sabatini: > https://ffmpeg.org/pipermail/ffmpeg-devel/2024-April/325903.html > --- > doc/cont

Re: [FFmpeg-devel] [PATCH v3 1/3] doc: Explain what "context" means

2024-05-05 Thread Stefano Sabatini
On date Monday 2024-04-29 10:10:35 +0100, Andrew Sayers wrote: > On Mon, Apr 22, 2024 at 07:05:12PM +0200, Stefano Sabatini wrote: [...] > > I don't have a strong opinion, but I'd probably focus on providing a > > typical example of a common API (check doc/examples).

Re: [FFmpeg-devel] G729 encoding

2024-05-04 Thread Stefano Sabatini
On date Monday 2024-04-29 09:37:34 +, Marco Garbin wrote: > Hi to all, > when will be available the g729 encoding features ? As soon as someone is going to implement and submit it. As a start, you might create a ticket to track its status. Also, you might consider sponsoring a

Re: [FFmpeg-devel] [PATCH] fftools/ffprobe: Avoid overflow when calculating DAR

2024-05-04 Thread Stefano Sabatini
On date Friday 2024-05-03 17:36:23 +0100, Derek Buitenhuis wrote: > Both the codecpar's width and height, and the SAR num and den are > ints, which can overflow. Cast to int64_t, which is what av_reduce > takes. > > Without this, occasionally, display_aspect_ratio can be negative in > ffprobe's

Re: [FFmpeg-devel] [REFUND-REQUEST] Vulkan F2F travel

2024-05-04 Thread Stefano Sabatini
On date Saturday 2024-04-27 14:16:36 +0200, Lynne wrote: > Hi, > > I'm requesting a reimbursement for attending the Khronos F2F > event in Brussels on 2024-04-26, where I gave a talk about the > current status of Vulkan Video integration into FFmpeg: >  - Currently implemented decoding features >

Re: [FFmpeg-devel] [PATCH v2] lavu/opt: Clarify that AVOptions is not indended for general use

2024-04-23 Thread Stefano Sabatini
Il mar 23 apr 2024, 13:18 Michael Niedermayer ha scritto: > On Tue, Apr 23, 2024 at 01:15:52PM +0200, Michael Niedermayer wrote: > > On Tue, Apr 23, 2024 at 11:10:43AM +0100, Andrew Sayers wrote: > > > On Tue, Apr 23, 2024 at 12:04:34PM +0200, Anton Khirnov wrote: > > > > Quoting Andrew Sayers

Re: [FFmpeg-devel] [PATCH v3 1/3] doc: Explain what "context" means

2024-04-22 Thread Stefano Sabatini
On date Monday 2024-04-22 16:56:48 +0100, Andrew Sayers wrote: > Derived from detailed explanations kindly provided by Stefano Sabatini: > https://ffmpeg.org/pipermail/ffmpeg-devel/2024-April/325903.html > --- > doc/context.md | 276 +++

Re: [FFmpeg-devel] [PATCH 8/6] doc/protocols: Fill in missing HTTP options

2024-04-22 Thread Stefano Sabatini
On date Monday 2024-04-22 15:26:24 +0100, Derek Buitenhuis wrote: > On 4/16/2024 6:13 PM, Stefano Sabatini wrote: > >> +@item metadata > >> +An exported dictionary containing Icecast metadata from the bitstream, if > >> present. > >> +Only useful with th

Re: [FFmpeg-devel] [PATCH 2/3] lavf/mkvtimestamp_v2: review implementation to match mkvextract behavior

2024-04-22 Thread Stefano Sabatini
On date Saturday 2024-04-20 18:47:58 +0200, Andreas Rheinhardt wrote: > Stefano Sabatini: [...] > >> 1. This does not match mkvextract behaviour. mkvextract does not force a > >> 1ms timebase. > > > > From your past comment: > >> The accuracy of the tim

Re: [FFmpeg-devel] [PATCH] avformat/httpauth.c Support RFC7616 [Style fixed]

2024-04-22 Thread Stefano Sabatini
On date Thursday 2024-04-18 12:49:53 +0200, Stefano Sabatini wrote: > On date Monday 2024-04-15 19:56:48 +0200, Stefano Sabatini wrote: > > On date Monday 2024-04-15 02:32:14 +, �� | Eugene wrote: > > > Update digest authentication in httpauth.c > > > > &

Re: [FFmpeg-devel] [PATCH v2] lavu/opt: Clarify that AVOptions is not indended for general use

2024-04-22 Thread Stefano Sabatini
On date Monday 2024-04-22 13:09:25 +0100, Andrew Sayers wrote: > --- > libavutil/opt.h | 3 +++ > 1 file changed, 3 insertions(+) > > diff --git a/libavutil/opt.h b/libavutil/opt.h > index e6013662f6..4c0e7d9223 100644 > --- a/libavutil/opt.h > +++ b/libavutil/opt.h > @@ -54,7 +54,10 @@ > *

Re: [FFmpeg-devel] [RFC] 5 year plan & Inovation

2024-04-22 Thread Stefano Sabatini
On date Sunday 2024-04-21 22:12:56 -0300, James Almer wrote: > On 4/17/2024 10:58 AM, Michael Niedermayer wrote: [...] > A full rewrite of ffserver, using only public API, and with modern streaming > in mind. It would give a lot of code in lavf some use. If this is going to happen, my advice is

Re: [FFmpeg-devel] [PATCH] lavu/opt: Clarify that AVOptions is not indended for general use

2024-04-22 Thread Stefano Sabatini
On date Monday 2024-04-22 09:49:45 +0100, Andrew Sayers wrote: > --- > libavutil/opt.h | 4 > 1 file changed, 4 insertions(+) > > diff --git a/libavutil/opt.h b/libavutil/opt.h > index e6013662f6..795accb363 100644 > --- a/libavutil/opt.h > +++ b/libavutil/opt.h > @@ -54,7 +54,11 @@ > *

Re: [FFmpeg-devel] [PATCH v2 1/3] doc: Explain what "context" means

2024-04-22 Thread Stefano Sabatini
On date Saturday 2024-04-20 23:17:57 +0100, Andrew Sayers wrote: > On Sat, Apr 20, 2024 at 06:48:32PM +0200, Stefano Sabatini wrote: > > On date Saturday 2024-04-20 13:19:41 +0100, Andrew Sayers wrote: > > > Based largely on the explanation by Stefano Sabatini: > > > h

Re: [FFmpeg-devel] [PATCH 2/3] lavf/mkvtimestamp_v2: review implementation to match mkvextract behavior

2024-04-20 Thread Stefano Sabatini
On date Saturday 2024-04-20 18:47:58 +0200, Andreas Rheinhardt wrote: > Stefano Sabatini: > > On date Saturday 2024-04-20 15:18:39 +0200, Andreas Rheinhardt wrote: > >> Stefano Sabatini: > >>> Harmonize internal implementation with the mkvextract behavior: > >&

Re: [FFmpeg-devel] [PATCH v2 1/3] doc: Explain what "context" means

2024-04-20 Thread Stefano Sabatini
On date Saturday 2024-04-20 13:19:41 +0100, Andrew Sayers wrote: > Based largely on the explanation by Stefano Sabatini: > https://ffmpeg.org/pipermail/ffmpeg-devel/2024-April/325854.html > --- > doc/jargon.md | 169 ++ > 1 fi

Re: [FFmpeg-devel] [PATCH 1/3] doc: Explain what "context" means

2024-04-20 Thread Stefano Sabatini
On date Saturday 2024-04-20 13:18:29 +0100, Andrew Sayers wrote: > On 20/04/2024 08:25, Stefano Sabatini wrote: > > On date Thursday 2024-04-18 16:06:12 +0100, Andrew Sayers wrote: > > > Based largely on the explanation by Stefano Sabatini: > > > https://ffmpeg.org/

Re: [FFmpeg-devel] [PATCH 2/3] lavf/mkvtimestamp_v2: review implementation to match mkvextract behavior

2024-04-20 Thread Stefano Sabatini
On date Saturday 2024-04-20 15:18:39 +0200, Andreas Rheinhardt wrote: > Stefano Sabatini: > > Harmonize internal implementation with the mkvextract behavior: > > - print PTS in place of DTS values > > - ignore NOPTS values > > - sort PTS values > > --- > &

Re: [FFmpeg-devel] [PATCH 3/3] doc/muxers: add mkvtimestamp_v2

2024-04-20 Thread Stefano Sabatini
On date Saturday 2024-04-20 13:48:35 +0200, Stefano Sabatini wrote: > --- > doc/muxers.texi | 11 +-- > 1 file changed, 5 insertions(+), 6 deletions(-) Sorry, discard this in favor of the new patch. ___ ffmpeg-devel mailing list ffm

[FFmpeg-devel] [PATCH] doc/muxers: add mkvtimestamp_v2

2024-04-20 Thread Stefano Sabatini
--- doc/muxers.texi | 8 1 file changed, 8 insertions(+) diff --git a/doc/muxers.texi b/doc/muxers.texi index 6340c8e54d..e1d6a0e557 100644 --- a/doc/muxers.texi +++ b/doc/muxers.texi @@ -2933,6 +2933,14 @@ MicroDVD subtitle format muxer. This muxer accepts a single @samp{microdvd}

[FFmpeg-devel] [PATCH 1/3] lavf/mkvtimestamp_v2: use name in place of description in long name

2024-04-20 Thread Stefano Sabatini
--- libavformat/mkvtimestamp_v2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavformat/mkvtimestamp_v2.c b/libavformat/mkvtimestamp_v2.c index dde431ab7d..1eb2daf10a 100644 --- a/libavformat/mkvtimestamp_v2.c +++ b/libavformat/mkvtimestamp_v2.c @@ -43,7 +43,7 @@ static

[FFmpeg-devel] [PATCH 3/3] doc/muxers: add mkvtimestamp_v2

2024-04-20 Thread Stefano Sabatini
--- doc/muxers.texi | 11 +-- 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/doc/muxers.texi b/doc/muxers.texi index 6340c8e54d..4cd53a4449 100644 --- a/doc/muxers.texi +++ b/doc/muxers.texi @@ -2933,14 +2933,13 @@ MicroDVD subtitle format muxer. This muxer accepts a

[FFmpeg-devel] [PATCH 2/3] lavf/mkvtimestamp_v2: review implementation to match mkvextract behavior

2024-04-20 Thread Stefano Sabatini
Harmonize internal implementation with the mkvextract behavior: - print PTS in place of DTS values - ignore NOPTS values - sort PTS values --- libavformat/mkvtimestamp_v2.c | 69 +-- 1 file changed, 65 insertions(+), 4 deletions(-) diff --git

[FFmpeg-devel] lavf/mkvtimestamp_v2: review mkvtimestamp_v2 implementation, add documentation

2024-04-20 Thread Stefano Sabatini
[PATCH 1/3] lavf/mkvtimestamp_v2: use name in place of description in [PATCH 2/3] lavf/mkvtimestamp_v2: review implementation to match [PATCH 3/3] doc/muxers: add mkvtimestamp_v2 ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org

Re: [FFmpeg-devel] [PATCH v3 1/3] avformat/network: add ff_neterrno2() for cases where we already have an errno

2024-04-20 Thread Stefano Sabatini
On date Friday 2024-04-19 20:07:59 +0100, Andrew Sayers wrote: > For example, WSAStartup()'s documentation says: > > "A call to the WSAGetLastError function is not needed and should not be > used" > --- > libavformat/network.c | 7 ++- > 1 file changed, 6 insertions(+), 1 deletion(-)

Re: [FFmpeg-devel] [PATCH] tools: add target_enc_fuzzer.c

2024-04-20 Thread Stefano Sabatini
On date Saturday 2024-04-20 03:10:37 +0200, Michael Niedermayer wrote: > Sponsored-by: Sovereign Tech Fund > Signed-off-by: Michael Niedermayer > --- > Makefile | 3 + > tools/Makefile| 3 + > tools/target_enc_fuzzer.c | 213 ++

Re: [FFmpeg-devel] [PATCH 1/3] doc: Explain what "context" means

2024-04-20 Thread Stefano Sabatini
On date Thursday 2024-04-18 16:06:12 +0100, Andrew Sayers wrote: > Based largely on the explanation by Stefano Sabatini: > https://ffmpeg.org/pipermail/ffmpeg-devel/2024-April/325854.html > --- > doc/jargon.md | 96 +++ > 1 f

Re: [FFmpeg-devel] [PATCH] avformat/httpauth.c Support RFC7616 [Style fixed]

2024-04-18 Thread Stefano Sabatini
On date Monday 2024-04-15 19:56:48 +0200, Stefano Sabatini wrote: > On date Monday 2024-04-15 02:32:14 +, �� | Eugene wrote: > > Update digest authentication in httpauth.c > > > > - Refactor make_digest_auth() to support RFC 2617 and RFC 7617 > > - Add support

Re: [FFmpeg-devel] [PATCH 4/6] doc/muxers: add mkvtimestamp_v2

2024-04-18 Thread Stefano Sabatini
On date Tuesday 2024-04-16 20:09:19 +0200, Andreas Rheinhardt wrote: > Stefano Sabatini: > > On date Tuesday 2024-04-16 12:50:19 +0200, Andreas Rheinhardt wrote: > >> Stefano Sabatini: > >>> --- > >>> doc/muxers.texi | 8 > >>> 1 file

Re: [FFmpeg-devel] [RFC] 5 year plan & Inovation

2024-04-18 Thread Stefano Sabatini
On date Wednesday 2024-04-17 15:58:32 +0200, Michael Niedermayer wrote: > Hi all > > The pace of inovation in FFmpeg has been slowing down. > Most work is concentarted nowadays on code refactoring, and adding > support for new codecs and formats. > > Should we > * make a list of longer term

Re: [FFmpeg-devel] [RFC] 5 year plan & Inovation

2024-04-18 Thread Stefano Sabatini
On date Wednesday 2024-04-17 19:21:39 -0700, Aidan wrote: > The best option is to figure stuff out. [...] > I use FFmpeg to download HLS streams from the internet or convert files > like probably most people do. FFmpeg is the ultimate way of doing this > because there is no better option. > > But

Re: [FFmpeg-devel] [RFC] 5 year plan & Inovation

2024-04-18 Thread Stefano Sabatini
On date Wednesday 2024-04-17 17:24:02 +0100, Andrew Sayers wrote: > On 17/04/2024 14:58, Michael Niedermayer wrote: [...] > I've occasionally tried getting into ffmpeg for over a decade now, and have > lurked here for the past few months as I put in the effort to grok it. > On behalf of people who

Re: [FFmpeg-devel] [PATCH 4/6] doc/muxers: add mkvtimestamp_v2

2024-04-16 Thread Stefano Sabatini
On date Tuesday 2024-04-16 12:50:19 +0200, Andreas Rheinhardt wrote: > Stefano Sabatini: > > --- > > doc/muxers.texi | 8 > > 1 file changed, 8 insertions(+) > > > > diff --git a/doc/muxers.texi b/doc/muxers.texi > > index f94513527d..490d

Re: [FFmpeg-devel] [PATCH] avformat/lc3: Only allow AV_CODEC_ID_LC3 in muxer

2024-04-16 Thread Stefano Sabatini
On date Tuesday 2024-04-16 19:23:27 +0200, Andreas Rheinhardt wrote: > Also check for the number of streams and the AVCodecID generically > using FF_OFMT_FLAGs. > > Signed-off-by: Andreas Rheinhardt > --- > libavformat/lc3.c | 14 +++--- > 1 file changed, 3 insertions(+), 11

Re: [FFmpeg-devel] [PATCH 8/6] doc/protocols: Fill in missing HTTP options

2024-04-16 Thread Stefano Sabatini
On date Tuesday 2024-04-16 14:55:55 +0100, Derek Buitenhuis wrote: > Signed-off-by: Derek Buitenhuis > --- > doc/protocols.texi | 30 ++ > 1 file changed, 30 insertions(+) > > diff --git a/doc/protocols.texi b/doc/protocols.texi > index 5ce1ddc8f4..60c6d831dd 100644

Re: [FFmpeg-devel] [PATCH 7/6] doc/protocols: Re-order HTTP options to match http.c order

2024-04-16 Thread Stefano Sabatini
On date Tuesday 2024-04-16 14:55:54 +0100, Derek Buitenhuis wrote: > This makes the list easier to maintain. > > Signed-off-by: Derek Buitenhuis > --- > doc/protocols.texi | 112 ++--- > 1 file changed, 56 insertions(+), 56 deletions(-) Sure, thank you.

[FFmpeg-devel] [PATCH 6/6] doc/muxers: add mmf

2024-04-16 Thread Stefano Sabatini
--- doc/muxers.texi | 9 + 1 file changed, 9 insertions(+) diff --git a/doc/muxers.texi b/doc/muxers.texi index 490d5557bf..43c4865292 100644 --- a/doc/muxers.texi +++ b/doc/muxers.texi @@ -2941,6 +2941,15 @@ Write the PTS rawvideo frame to the output, as supported by the This muxer

[FFmpeg-devel] [PATCH 5/6] lavf/mkvtimestamp_v2: use name in place of description in long name

2024-04-16 Thread Stefano Sabatini
--- libavformat/mkvtimestamp_v2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavformat/mkvtimestamp_v2.c b/libavformat/mkvtimestamp_v2.c index dde431ab7d..1eb2daf10a 100644 --- a/libavformat/mkvtimestamp_v2.c +++ b/libavformat/mkvtimestamp_v2.c @@ -43,7 +43,7 @@ static

[FFmpeg-devel] [PATCH 4/6] doc/muxers: add mkvtimestamp_v2

2024-04-16 Thread Stefano Sabatini
--- doc/muxers.texi | 8 1 file changed, 8 insertions(+) diff --git a/doc/muxers.texi b/doc/muxers.texi index f94513527d..490d5557bf 100644 --- a/doc/muxers.texi +++ b/doc/muxers.texi @@ -2933,6 +2933,14 @@ MicroDVD subtitle format muxer. This muxer accepts a single @samp{microdvd}

[FFmpeg-devel] [PATCH 1/6] doc/muxers/matroskaenc: add missing options, apply misc style fixes

2024-04-16 Thread Stefano Sabatini
--- doc/muxers.texi | 44 +--- 1 file changed, 37 insertions(+), 7 deletions(-) diff --git a/doc/muxers.texi b/doc/muxers.texi index a77472ef1b..a162ab4075 100644 --- a/doc/muxers.texi +++ b/doc/muxers.texi @@ -2846,8 +2846,44 @@ the initially reserved

[FFmpeg-devel] Apply misc doc/muxers fixes and extensions

2024-04-16 Thread Stefano Sabatini
Apply misc doc/muxers fixes and extensions. ___ 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 subject "unsubscribe".

[FFmpeg-devel] [PATCH 3/6] doc/muxers: add microdvd

2024-04-16 Thread Stefano Sabatini
--- doc/muxers.texi | 5 + 1 file changed, 5 insertions(+) diff --git a/doc/muxers.texi b/doc/muxers.texi index 710fc27eec..f94513527d 100644 --- a/doc/muxers.texi +++ b/doc/muxers.texi @@ -2928,6 +2928,11 @@ ffmpeg -i INPUT -f md5 - @end example @end itemize +@section microdvd +MicroDVD

[FFmpeg-devel] [PATCH 2/6] doc/muxers/md5: apply misc consistency fixes

2024-04-16 Thread Stefano Sabatini
--- doc/muxers.texi | 12 +++- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/doc/muxers.texi b/doc/muxers.texi index a162ab4075..710fc27eec 100644 --- a/doc/muxers.texi +++ b/doc/muxers.texi @@ -2905,26 +2905,28 @@ flag is set in the disposition of the corresponding

Re: [FFmpeg-devel] [PATCH] avformat/httpauth.c Support RFC7616 [Style fixed]

2024-04-15 Thread Stefano Sabatini
On date Monday 2024-04-15 02:32:14 +, �� | Eugene wrote: > Update digest authentication in httpauth.c > > - Refactor make_digest_auth() to support RFC 2617 and RFC 7617 > - Add support for SHA-256 and SHA-512/256 algorithms along with MD5 > - MD5 and SHA-256 tested, but SHA-512/256

Re: [FFmpeg-devel] [PATCH 4/6 v2] avformat/http: Add support for Retry-After header

2024-04-15 Thread Stefano Sabatini
On date Monday 2024-04-15 17:49:33 +0100, Derek Buitenhuis wrote: > 429 and 503 codes can, and often do (e.g. all Google Cloud > Storage URLs can), return a Retry-After header with the error, > indicating how long to wait, in seconds, before retrying again. > If it is not respected by, for

Re: [FFmpeg-devel] [PATCH 1/2] doc/utils/eval: clarify meaning of random* seed value

2024-04-15 Thread Stefano Sabatini
On date Thursday 2024-04-11 03:50:46 +0200, Michael Niedermayer wrote: > On Wed, Apr 10, 2024 at 03:47:42PM +0200, Stefano Sabatini wrote: > > Possible address trac issue: > > > http://trac.ffmpeg.org/ticket/10763 > > Some of the things in this ticket are specific to the

Re: [FFmpeg-devel] [PATCH] avformat/lc3: Add file format for LC3/LC3plus transport

2024-04-15 Thread Stefano Sabatini
On date Saturday 2024-04-13 10:54:38 +0200, Stefano Sabatini wrote: > On date Friday 2024-04-12 16:46:29 -0700, ffmpeg-devel Mailing List wrote: > > Thanks. > > > > On Fri, Apr 12, 2024 at 6:05 AM Stefano Sabatini wrote: > [...] > > From 93c5628502a1f242043b39a18e8

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

2024-04-13 Thread Stefano Sabatini
On date Thursday 2024-04-11 07:48:14 +, �� | Eugene wrote: > - 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

Re: [FFmpeg-devel] [PATCH] doc/muxers.texi: Don't use confusing variable name

2024-04-13 Thread Stefano Sabatini
On date Saturday 2024-04-13 00:38:49 +0200, Andreas Rheinhardt wrote: > reserve_index_space is a size, not an index. > Also refer to the variable in the description. > > Signed-off-by: Andreas Rheinhardt > --- > doc/muxers.texi | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > >

Re: [FFmpeg-devel] [PATCH] avformat/lc3: Add file format for LC3/LC3plus transport

2024-04-13 Thread Stefano Sabatini
On date Friday 2024-04-12 16:46:29 -0700, ffmpeg-devel Mailing List wrote: > Thanks. > > On Fri, Apr 12, 2024 at 6:05 AM Stefano Sabatini wrote: [...] > From 93c5628502a1f242043b39a18e83895d9067541e Mon Sep 17 00:00:00 2001 > From: Antoine SOULIER > Date: Thu, 4 Apr 2

Re: [FFmpeg-devel] [PATCH] avformat/lc3: Add file format for LC3/LC3plus transport

2024-04-12 Thread Stefano Sabatini
On date Wednesday 2024-04-10 16:46:55 -0700, ffmpeg-devel Mailing List wrote: > Sure, I thought these warnings were disabled while looking at codec2.c > Sorry for the bad merge of the doc. > From 975040408f32431efc3fae0a0b8c048f02159515 Mon Sep 17 00:00:00 2001 > From: Antoine SOULIER > Date:

Re: [FFmpeg-devel] [PATCH] avformat/lc3: Add file format for LC3/LC3plus transport

2024-04-10 Thread Stefano Sabatini
On date Wednesday 2024-04-10 20:26:01 +0200, Andreas Rheinhardt wrote: > Antoine Soulier via ffmpeg-devel: [...] > > +#if CONFIG_LC3_DEMUXER > > +const FFInputFormat ff_lc3_demuxer = { > > +.p.name = "lc3", > > +.p.long_name= NULL_IF_CONFIG_SMALL("LC3 (Low Complexity > >

[FFmpeg-devel] [PATCH 2/2] doc/utils/eval: review and extend, clarify ld/st index meaning

2024-04-10 Thread Stefano Sabatini
Prefer idx in place of id for functions accessing the internal variables, and add a short introduction to mention them. --- doc/utils.texi | 60 +++--- 1 file changed, 33 insertions(+), 27 deletions(-) diff --git a/doc/utils.texi b/doc/utils.texi index

[FFmpeg-devel] [PATCH 1/2] doc/utils/eval: clarify meaning of random* seed value

2024-04-10 Thread Stefano Sabatini
Possible address trac issue: http://trac.ffmpeg.org/ticket/10763 --- doc/utils.texi | 12 1 file changed, 12 insertions(+) diff --git a/doc/utils.texi b/doc/utils.texi index 76e704fc3c..edf3ae24b0 100644 --- a/doc/utils.texi +++ b/doc/utils.texi @@ -944,11 +944,23 @@ Return a pseudo

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

2024-04-10 Thread Stefano Sabatini
On date Tuesday 2024-04-09 10:36:05 +0200, Nicolas George wrote: [...] > I am pointing that for the burden, I am not offering to do the same for > free for the people who are so short-sighted they feel entitled to block > software-defined radio, break real-time display devices, prevent me from >

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

2024-04-10 Thread Stefano Sabatini
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 https://ffmpeg.org/pipermail/ffmpeg-devel/2024-February/320849.html > >> Additionally I do not agree that sorting

Re: [FFmpeg-devel] [PATCH] avformat/lc3: Add file format for LC3/LC3plus transport

2024-04-10 Thread Stefano Sabatini
On date Monday 2024-04-08 22:27:33 +, ffmpeg-devel Mailing List wrote: > From: Antoine SOULIER > > A file format is described in Bluetooth SIG LC3 and ETSI TS 103 634, for > test purpose. This is the format implemented here. > --- > Changelog| 1 + > doc/muxers.texi

Re: [FFmpeg-devel] [PATCH 5/7] doc/muxers: add kvag

2024-04-10 Thread Stefano Sabatini
On date Saturday 2024-04-06 13:04:38 +0200, Stefano Sabatini wrote: > --- > doc/muxers.texi | 8 > 1 file changed, 8 insertions(+) > > diff --git a/doc/muxers.texi b/doc/muxers.texi > index 6b85befb43..6eea856a40 100644 > --- a/doc/muxers.texi > +++ b/doc/

Re: [FFmpeg-devel] [PATCH] avformat/lc3: Add file format for LC3/LC3plus transport

2024-04-08 Thread Stefano Sabatini
On date Saturday 2024-04-06 21:08:19 +, ffmpeg-devel Mailing List wrote: > From: Antoine SOULIER > > A file format is described in Bluetooth SIG LC3 and ETSI TS 103 634, for > test purpose. This is the format implemented here. > --- > Changelog| 1 + > doc/muxers.texi

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

2024-04-06 Thread Stefano Sabatini
On date Saturday 2024-04-06 13:25:49 +0200, Andreas Rheinhardt wrote: > Stefano Sabatini: > > --- > > libavformat/matroskaenc.c | 12 ++-- > > 1 file changed, 6 insertions(+), 6 deletions(-) > > [...] > See https://ffmpeg.org/pipermail/ffmpeg-d

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

2024-04-06 Thread Stefano Sabatini
--- libavformat/matroskaenc.c | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/libavformat/matroskaenc.c b/libavformat/matroskaenc.c index 566e9f4981..8ebe6e4334 100644 --- a/libavformat/matroskaenc.c +++ b/libavformat/matroskaenc.c @@ -3500,20 +3500,20 @@ static

[FFmpeg-devel] [PATCH 5/7] doc/muxers: add kvag

2024-04-06 Thread Stefano Sabatini
--- doc/muxers.texi | 8 1 file changed, 8 insertions(+) diff --git a/doc/muxers.texi b/doc/muxers.texi index 6b85befb43..6eea856a40 100644 --- a/doc/muxers.texi +++ b/doc/muxers.texi @@ -2717,6 +2717,14 @@ This muxer accepts a single @samp{jacosub} subtitles stream. For more

[FFmpeg-devel] [PATCH 7/7] doc/muxers: add lrc

2024-04-06 Thread Stefano Sabatini
--- doc/muxers.texi | 25 + 1 file changed, 25 insertions(+) diff --git a/doc/muxers.texi b/doc/muxers.texi index 6eea856a40..3928ebc549 100644 --- a/doc/muxers.texi +++ b/doc/muxers.texi @@ -2725,6 +2725,31 @@ games such as "Real War", and "Real War: Rogue States".

[FFmpeg-devel] [PATCH 4/7] doc/muxers: add jacosub

2024-04-06 Thread Stefano Sabatini
--- doc/muxers.texi | 8 1 file changed, 8 insertions(+) diff --git a/doc/muxers.texi b/doc/muxers.texi index 29b6fa1427..6b85befb43 100644 --- a/doc/muxers.texi +++ b/doc/muxers.texi @@ -2709,6 +2709,14 @@ Corporation), to store internally developed codecs. This muxer accepts a single

[FFmpeg-devel] [PATCH 4/7] doc/muxers: add jacosub

2024-04-06 Thread Stefano Sabatini
--- doc/muxers.texi | 8 1 file changed, 8 insertions(+) diff --git a/doc/muxers.texi b/doc/muxers.texi index 29b6fa1427..6b85befb43 100644 --- a/doc/muxers.texi +++ b/doc/muxers.texi @@ -2709,6 +2709,14 @@ Corporation), to store internally developed codecs. This muxer accepts a single

[FFmpeg-devel] [PATCH 3/7] doc/muxers: add ivf

2024-04-06 Thread Stefano Sabatini
--- doc/muxers.texi | 9 + 1 file changed, 9 insertions(+) diff --git a/doc/muxers.texi b/doc/muxers.texi index d8a1f83309..29b6fa1427 100644 --- a/doc/muxers.texi +++ b/doc/muxers.texi @@ -2700,6 +2700,15 @@ computer-generated compositions. This muxer accepts a single audio stream

Re: [FFmpeg-devel] [PATCH 2/2] avformat/lc3: Add file format for LC3/LC3plus transport

2024-04-06 Thread Stefano Sabatini
On date Thursday 2024-04-04 22:57:34 +, ffmpeg-devel Mailing List wrote: > From: Antoine SOULIER > > A file format is described in Bluetooth SIG LC3 and ETSI TS 103 634, for > test purpose. This is the format implemented here. > --- > Changelog| 1 + > doc/muxers.texi

Re: [FFmpeg-devel] [PATCH 1/2] avcodec/liblc3dec: Retrieve duration of the last packet from the demux

2024-04-06 Thread Stefano Sabatini
On date Thursday 2024-04-04 22:57:33 +, ffmpeg-devel Mailing List wrote: > From: Antoine SOULIER > > Use the packet duration field to invalid last samples of the last frame. > --- > libavcodec/liblc3dec.c | 12 +++- > 1 file changed, 3 insertions(+), 9 deletions(-) Will apply this

Re: [FFmpeg-devel] [PATCH v4 0/4] Fix some active sequences in subtitles

2024-04-06 Thread Stefano Sabatini
On date Wednesday 2024-04-03 21:50:29 +0200, Oneric wrote: > On Mon, 19 Feb 2024 Oneric wrote: > > avcodec/webvttdec: honour bidi marks > > avcodec/{ass,webvttdec}: fix handling of backslashes > > avcodec/{ass,webvttdec}: more portable curly brace escapes > > avocdec/ass: simplify

Re: [FFmpeg-devel] [PATCH v4 2/4] avcodec/{ass, webvttdec}: fix handling of backslashes

2024-04-04 Thread Stefano Sabatini
On date Thursday 2024-04-04 20:36:50 +0200, Oneric wrote: > On Thu, Apr 04, 2024 at 13:26:55 -0500, Marth64 wrote: > > > Is \N a special sequence in ASS-speak > > \N is the special line break sequence in ASS > > > > I’m not sure of other special sequences following the \ character, I yield > >

Re: [FFmpeg-devel] [PATCH v4 2/4] avcodec/{ass, webvttdec}: fix handling of backslashes

2024-04-04 Thread Stefano Sabatini
On date Thursday 2024-04-04 12:56:30 -0500, Marth64 wrote: > > I'm confused by this, what kind of \N > > sequences might appear in an ASS file? > > Can you show an offending sequence? > > Good day Stefano, > > The one I tested with was something like : > Jim\Nancy Is N a literal or is this

Re: [FFmpeg-devel] [PATCH v4 4/4] avocdec/ass: simplify linebreaks

2024-04-04 Thread Stefano Sabatini
On date Monday 2024-02-19 22:42:27 +0100, Oneric wrote: > ff_ass_subtitle_header_* still used explicit CRLF linebreaks > eventhough they will get normalised to LF later since commit > 7bf1b9b35769b37684dd2f18a54f01d852a540c8. Just directly use LF. > --- > libavcodec/ass.c | 28

Re: [FFmpeg-devel] [PATCH v4 3/4] avcodec/{ass, webvttdec}: more portable curly brace escapes

2024-04-04 Thread Stefano Sabatini
On date Monday 2024-02-19 22:42:26 +0100, Oneric wrote: > Unlike what the old comment suggested, standard ASS has no character > escape mechanism, but a closing curly bracket doesn't even need one. > > For manual authored sub files using a full-width variant of an apropiate appropriate? > font

Re: [FFmpeg-devel] [PATCH v4 2/4] avcodec/{ass, webvttdec}: fix handling of backslashes

2024-04-04 Thread Stefano Sabatini
On date Monday 2024-02-19 22:42:25 +0100, Oneric wrote: > Backslashes cannot be escaped by a backslash in any ASS renderer, > but unless followed by specific characters it is just printed out. > Insert a word-joiner character after a backslash to break up > active sequences without changing the

Re: [FFmpeg-devel] [PATCH 2/2] avcodec/liblc3enc: don't force unspec channel layouts

2024-04-04 Thread Stefano Sabatini
On date Thursday 2024-04-04 18:59:09 +0200, Andreas Rheinhardt wrote: > James Almer: > > We only care about channel count. Layout details will be ignored either way. > > > > Signed-off-by: James Almer > > --- > > libavcodec/liblc3enc.c | 8 +--- > > 1 file changed, 5 insertions(+), 3

Re: [FFmpeg-devel] [PATCH v4 1/4] avcodec/webvttdec: honour bidi marks

2024-04-04 Thread Stefano Sabatini
On date Monday 2024-02-19 22:42:24 +0100, Oneric wrote: > --- > libavcodec/webvttdec.c | 2 +- > tests/ref/fate/sub-webvtt2 | 2 +- > 2 files changed, 2 insertions(+), 2 deletions(-) > > diff --git a/libavcodec/webvttdec.c b/libavcodec/webvttdec.c > index 690f00dc47..990d150f16 100644 > ---

Re: [FFmpeg-devel] [PATCH] avformat/httpauth: add SHA-256 Digest Authorization [update]

2024-04-04 Thread Stefano Sabatini
On date Thursday 2024-04-04 02:07:17 +, �� | Eugene wrote: > add SHA-256 Digest Authorization for RFC7616 using avutil/hash.h > - make_digest_auth_sha() : A1hash-> a1_hash and A2hash -> a2_hash > - combine with lint fix patch > > Signed-off-by: Eugene-bitsensing > --- >

Re: [FFmpeg-devel] [PATCH 2/2] avcodec/liblc3enc: don't force unspec channel layouts

2024-04-04 Thread Stefano Sabatini
On date Thursday 2024-04-04 13:29:36 -0300, James Almer wrote: > We only care about channel count. Layout details will be ignored either way. > > Signed-off-by: James Almer > --- > libavcodec/liblc3enc.c | 8 +--- > 1 file changed, 5 insertions(+), 3 deletions(-) > > diff --git

Re: [FFmpeg-devel] [PATCH 1/2] avcodec/liblc3dec: sanitize channel count in avctx

2024-04-04 Thread Stefano Sabatini
On date Thursday 2024-04-04 13:29:35 -0300, James Almer wrote: > Should prevent out of array accesses. > > Signed-off-by: James Almer > --- > libavcodec/liblc3dec.c | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/libavcodec/liblc3dec.c b/libavcodec/liblc3dec.c > index

Re: [FFmpeg-devel] [PATCH] Changelog: fix typos for 7.0 section

2024-04-04 Thread Stefano Sabatini
On date Thursday 2024-04-04 10:08:21 -0500, Marth64 wrote: > If it's not too late, I thought these fixes would make > the section look nicer for this big release. > > --- > Changelog | 6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-) > > diff --git a/Changelog b/Changelog > index

Re: [FFmpeg-devel] [PATCH 2/2] avformat/lc3: Add file format for LC3/LC3plus transport

2024-04-04 Thread Stefano Sabatini
On date Monday 2024-04-01 21:32:05 +, ffmpeg-devel Mailing List wrote: > A file format is described in Bluetooth SIG LC3 and ETSI TS 103 634, for > test purpose. This is the format implemented here. > > Signed-off-by: Antoine Soulier > --- > Changelog| 1 + >

Re: [FFmpeg-devel] [PATCH 1/2] avcodec/liblc3: Add encoding/decoding support of LC3 audio codec

2024-04-04 Thread Stefano Sabatini
On date Monday 2024-04-01 21:32:04 +, ffmpeg-devel Mailing List wrote: > The LC3 audio codec is the default codec of Bluetooth LE audio. > This is a wrapper over the liblc3 library (https://github.com/google/liblc3). > > Signed-off-by: Antoine Soulier > --- > Changelog | 4

Re: [FFmpeg-devel] [PATCH v11 0/6] RCWT Closed Captions demuxer (v11)

2024-04-02 Thread Stefano Sabatini
On date Tuesday 2024-04-02 00:24:52 -0500, Marth64 wrote: > Since v9: > * Removes .bin extension association in demuxer and muxer > * Updates examples in documentation Patchset applied, thanks. I also added the missing Changelog next entrypoint and updated the Changelog with the new entry while

Re: [FFmpeg-devel] [PATCH 1/2] avcodec/liblc3: Add encoding/decoding support of LC3 audio codec

2024-04-02 Thread Stefano Sabatini
On date Friday 2024-03-29 17:30:30 +, ffmpeg-devel Mailing List wrote: > The LC3 audio codec is the default codec of Bluetooth LE audio. > This is a wrapper over the liblc3 library (https://github.com/google/liblc3). > > Signed-off-by: Antoine Soulier > --- > Changelog | 4

Re: [FFmpeg-devel] [PATCH v6] avformat/demux: Add duration_probesize AVOption

2024-04-02 Thread Stefano Sabatini
On date Friday 2024-03-29 11:00:28 +0100, Stefano Sabatini wrote: > On date Friday 2024-03-29 10:26:19 +0100, Nicolas Gaullier wrote: > > Yet another probesize used to get the durations when > > estimate_timings_from_pts is required. It is aimed at users interested > > in bet

Re: [FFmpeg-devel] [PATCH] doc/muxers: add stub for iamf

2024-03-30 Thread Stefano Sabatini
On date Saturday 2024-03-30 00:52:12 +0100, Michael Niedermayer wrote: > On Fri, Mar 29, 2024 at 12:47:53PM +0100, Stefano Sabatini wrote: > > --- > > doc/muxers.texi | 16 > > 1 file changed, 16 insertions(+) > > > > diff --git a/doc/muxers

Re: [FFmpeg-devel] [PATCH v10 2/5] avformat/rcwtdec: add RCWT Closed Captions demuxer

2024-03-30 Thread Stefano Sabatini
On date Saturday 2024-03-30 01:23:53 +0100, Michael Niedermayer wrote: > On Thu, Mar 28, 2024 at 03:11:29PM -0500, Marth64 wrote: > [...] > > > +static int rcwt_probe(const AVProbeData *p) > > +{ > > +return p->buf_size > RCWT_HEADER_SIZE && > > + AV_RB16(p->buf) == 0x

[FFmpeg-devel] [PATCH] doc/muxers: add ircam

2024-03-29 Thread Stefano Sabatini
Most of the content copy from: http://fileformats.archiveteam.org/wiki/Berkeley/IRCAM/Carl_Sound_Format --- doc/muxers.texi | 18 ++ 1 file changed, 18 insertions(+) diff --git a/doc/muxers.texi b/doc/muxers.texi index 5cce26a43f..39597e000b 100644 --- a/doc/muxers.texi +++

[FFmpeg-devel] [PATCH] doc/muxers/image2: add mention to image2pipe

2024-03-29 Thread Stefano Sabatini
Clarify the difference with regards to the image2 muxer. --- doc/muxers.texi | 8 ++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/doc/muxers.texi b/doc/muxers.texi index 05a0c302cf..5cce26a43f 100644 --- a/doc/muxers.texi +++ b/doc/muxers.texi @@ -2569,10 +2569,10 @@

  1   2   3   4   5   6   7   8   9   10   >