Re: [FFmpeg-devel] [PATCH v5 4/5] lavfi/format: wrap auto filters into structures

2023-05-12 Thread Paul B Mahol
Possibility for infinite loops? In what cases this helps, have graphs examples to test? ___ 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..

Re: [FFmpeg-devel] [PATCH] swresample: misc improvements

2023-05-12 Thread Paul B Mahol
On Sat, May 13, 2023 at 1:37 AM Michael Niedermayer wrote: > On Thu, May 11, 2023 at 07:13:19PM +0200, Paul B Mahol wrote: > > Attached. > [...] > > @@ -33,64 +33,86 @@ > > > > > > #define CONV_FUNC_NAME(dst_fmt, src_fmt) conv_ ## src_fmt ## _to_ ## > dst_fmt > > +#define CONVP_FUNC_NAME(dst_fmt

Re: [FFmpeg-devel] [PATCH] avcodec/elbg: fix integer overflows

2023-05-12 Thread Paul B Mahol
Improved patch attached. From 5bdf5493c72e4a8214e2867373e23db68d090ce1 Mon Sep 17 00:00:00 2001 From: Paul B Mahol Date: Fri, 12 May 2023 23:37:59 +0200 Subject: [PATCH] avcodec/elbg: fix integer overflows Fixes #9977 Signed-off-by: Paul B Mahol --- libavcodec/elbg.c | 56 +

Re: [FFmpeg-devel] [PATCH] avcodec/elbg: fix integer overflows

2023-05-12 Thread Paul B Mahol
On Sat, May 13, 2023 at 1:24 AM Andreas Rheinhardt < andreas.rheinha...@outlook.com> wrote: > Paul B Mahol: > > From f02425ca7207be131a0a9afe4b932fda084b7065 Mon Sep 17 00:00:00 2001 > > From: Paul B Mahol > > Date: Fri, 12 May 2023 23:37:59 +0200 > > Subject: [PATCH] avcodec/elbg: fix integer ov

Re: [FFmpeg-devel] [PATCH] avcodec/elbg: fix integer overflows

2023-05-12 Thread Paul B Mahol
On Sat, May 13, 2023 at 12:07 AM Leo Izen wrote: > > On 5/12/23 17:46, Paul B Mahol wrote: > > Attached. > > > > > > ___ > > ffmpeg-devel mailing list > > ffmpeg-devel@ffmpeg.org > > https://ffmpeg.org/mailman/listinfo/ffmpeg-devel > > > > To unsubscrib

Re: [FFmpeg-devel] [PATCH v9 0/6] Support enhanced flv in FFmpeg

2023-05-12 Thread Neal Gompa
On Fri, May 12, 2023 at 7:59 AM Steven Liu wrote: > > Vibhoothi 于2023年5月12日周五 18:48写道: > > > > Hi, > > > > On Fri, 12 May 2023 at 04:59, Steven Liu wrote: > > > > > > Reference file: > > > https://github.com/veovera/enhanced-rtmp/blob/main/enhanced-rtmp-v1.pdf > > > The Enhanced flv has been su

Re: [FFmpeg-devel] [PATCH] swresample: reuse DSP functions from avutil

2023-05-12 Thread Michael Niedermayer
On Fri, May 12, 2023 at 07:28:08PM +0200, Paul B Mahol wrote: > With fixed alignment requirements. > rematrix.c| 54 > -- > swresample.c |5 > swresample_internal.h |2 + > 3 files changed, 59 insertions(+), 2 de

Re: [FFmpeg-devel] [PATCH] avfilter/avfiltergraph: fix illogical flaws in code

2023-05-12 Thread James Almer
On 5/12/2023 5:49 PM, Paul B Mahol wrote: Attached. From 11907ee612b0440faeb3804e8f9af5e36a63db89 Mon Sep 17 00:00:00 2001 From: Paul B Mahol Date: Fri, 12 May 2023 21:01:41 +0200 Subject: [PATCH] avfilter/avfiltergraph: fix illogical flaws in code Signed-off-by: Paul B Mahol --- libavfilt

Re: [FFmpeg-devel] [PATCH] swresample: misc improvements

2023-05-12 Thread Michael Niedermayer
On Thu, May 11, 2023 at 07:13:19PM +0200, Paul B Mahol wrote: > Attached. [...] > @@ -33,64 +33,86 @@ > > > #define CONV_FUNC_NAME(dst_fmt, src_fmt) conv_ ## src_fmt ## _to_ ## dst_fmt > +#define CONVP_FUNC_NAME(dst_fmt, src_fmt) convp_ ## src_fmt ## _to_ ## > dst_fmt > > //FIXME rounding

Re: [FFmpeg-devel] [PATCH] avcodec/elbg: fix integer overflows

2023-05-12 Thread Andreas Rheinhardt
Paul B Mahol: > From f02425ca7207be131a0a9afe4b932fda084b7065 Mon Sep 17 00:00:00 2001 > From: Paul B Mahol > Date: Fri, 12 May 2023 23:37:59 +0200 > Subject: [PATCH] avcodec/elbg: fix integer overflows > > Signed-off-by: Paul B Mahol > --- > libavcodec/elbg.c | 51 +

Re: [FFmpeg-devel] [PATCH] avcodec/elbg: fix integer overflows

2023-05-12 Thread Leo Izen
On 5/12/23 17:46, Paul B Mahol wrote: Attached. ___ 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 "unsubscr

[FFmpeg-devel] [PATCH] avcodec/elbg: fix integer overflows

2023-05-12 Thread Paul B Mahol
Attached. From f02425ca7207be131a0a9afe4b932fda084b7065 Mon Sep 17 00:00:00 2001 From: Paul B Mahol Date: Fri, 12 May 2023 23:37:59 +0200 Subject: [PATCH] avcodec/elbg: fix integer overflows Signed-off-by: Paul B Mahol --- libavcodec/elbg.c | 51 ++-

[FFmpeg-devel] [PATCH] avfilter/avfiltergraph: fix illogical flaws in code

2023-05-12 Thread Paul B Mahol
Attached. From 11907ee612b0440faeb3804e8f9af5e36a63db89 Mon Sep 17 00:00:00 2001 From: Paul B Mahol Date: Fri, 12 May 2023 21:01:41 +0200 Subject: [PATCH] avfilter/avfiltergraph: fix illogical flaws in code Signed-off-by: Paul B Mahol --- libavfilter/avfiltergraph.c | 6 -- 1 file changed,

[FFmpeg-devel] [PATCH] avformat/hls: look for trailing GET headers with m3u8 extension check

2023-05-12 Thread Leo Izen
After commit 6b1f68ccb04d791f0250e05687c346a99ff47ea1 we refuse to use URLs of the form https://foo.bar/baz.m3u8?foo=bar because it fails the file extension check. This commit strips the ?foo=bar at the end before checking the file extension. Signed-off-by: Leo Izen --- libavformat/hls.c | 11 ++

Re: [FFmpeg-devel] [PATCH v2] avfilter/ccfifo: remove unnecessary context allocations

2023-05-12 Thread James Almer
On 5/12/2023 12:17 PM, Devin Heitmueller wrote: On Thu, May 11, 2023 at 2:20 PM James Almer wrote: This is not public API, no it has no need for an alloc() and free() functions. The struct can reside on stack. I don't have any objection to this patch in principle, assuming this is the standa

Re: [FFmpeg-devel] [PATCH] swresample: reuse DSP functions from avutil

2023-05-12 Thread Paul B Mahol
With fixed alignment requirements. From 771bc1414b737475bc42c7263fd7f21b4d9cc9b7 Mon Sep 17 00:00:00 2001 From: Paul B Mahol Date: Wed, 10 May 2023 15:41:01 +0200 Subject: [PATCH] swresample: reuse DSP functions from avutil Improves generic mixing dramatically. Signed-off-by: Paul B Mahol ---

Re: [FFmpeg-devel] [PATCH] correct expression of ternary operation.

2023-05-12 Thread Leo Izen
On 5/12/23 06:56, Helge Klein wrote: Signed-off-by: Helge Klein ---  fftools/ffmpeg_opt.c | 2 +-  1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fftools/ffmpeg_opt.c b/fftools/ffmpeg_opt.c index 7f22b22604..11639e7468 100644 --- a/fftools/ffmpeg_opt.c +++ b/fftools/ffmpeg_opt.c @@

Re: [FFmpeg-devel] [RFC/PATCH] bitpacked_dec: Optimization for bitpacked_dec decoder performance

2023-05-12 Thread Devin Heitmueller
On Thu, May 11, 2023 at 6:20 PM Marton Balint wrote: > Actually the cached bitstream reader was faster here than the manual > approach: > > ./ffmpeg -stream_loop 128 -threads 1 -f bitpacked -pix_fmt yuv422p10le -s > 3840x2160 -c:v bitpacked -i source.yuv -pix_fmt yuv422p10le -f null none > -logl

Re: [FFmpeg-devel] [PATCH v2] avfilter/ccfifo: remove unnecessary context allocations

2023-05-12 Thread Devin Heitmueller
On Thu, May 11, 2023 at 2:20 PM James Almer wrote: > > This is not public API, no it has no need for an alloc() and free() > functions. The struct can reside on stack. I don't have any objection to this patch in principle, assuming this is the standard convention that ffmpeg uses for such things.

[FFmpeg-devel] [PATCH v3] decklink: Convert to using avpriv_packet_list functions

2023-05-12 Thread Devin Heitmueller
The existing DecklinkQueue implementation was using the PacketList structure but wasn't using the standard avpriv_packet_list_get and avpriv_packet_list_put functions. Convert to using them so we eliminate the duplicate logic, per Marton Balint's suggestion. Updated to reflect feedback from Marto

Re: [FFmpeg-devel] [PATCH] swresample: reuse DSP functions from avutil

2023-05-12 Thread Michael Niedermayer
On Wed, May 10, 2023 at 04:25:06PM +0200, Paul B Mahol wrote: > Attached. > rematrix.c| 30 -- > swresample.c |5 + > swresample_internal.h |2 ++ > 3 files changed, 35 insertions(+), 2 deletions(-) > 2de854b7e4bacb3ea469a2fa6495053b6

Re: [FFmpeg-devel] [PATCH v9 0/6] Support enhanced flv in FFmpeg

2023-05-12 Thread Steven Liu
Vibhoothi 于2023年5月12日周五 18:48写道: > > Hi, > > On Fri, 12 May 2023 at 04:59, Steven Liu wrote: > > > > Reference file: > > https://github.com/veovera/enhanced-rtmp/blob/main/enhanced-rtmp-v1.pdf > > The Enhanced flv has been supported by OBS, Simple Realtime Server, > > mpegts.js. > > you can pub

Re: [FFmpeg-devel] [PATCH] avcodec/libdav1d: export decoder frame delay

2023-05-12 Thread Ronald S. Bultje
Hi, On Thu, May 11, 2023 at 12:04 PM James Almer wrote: > As this is a AV_CODEC_CAP_OTHER_THREADS decoder, threading is handled by > the > underlying library. In this case, the frame delay is calculated by libdav1d > based on the values from avctx->thread_count and the private > max_frame_delay

Re: [FFmpeg-devel] [PATCH v9 0/6] Support enhanced flv in FFmpeg

2023-05-12 Thread Timo Rothenpieler
On 12/05/2023 12:47, Steven Liu wrote: Timo Rothenpieler 于2023年5月12日周五 18:30写道: Hi Timo, On 12/05/2023 05:58, Steven Liu wrote: Reference file: https://github.com/veovera/enhanced-rtmp/blob/main/enhanced-rtmp-v1.pdf The Enhanced flv has been supported by OBS, Simple Realtime Server, mpegts.j

[FFmpeg-devel] [PATCH] correct expression of ternary operation.

2023-05-12 Thread Helge Klein
Signed-off-by: Helge Klein --- fftools/ffmpeg_opt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fftools/ffmpeg_opt.c b/fftools/ffmpeg_opt.c index 7f22b22604..11639e7468 100644 --- a/fftools/ffmpeg_opt.c +++ b/fftools/ffmpeg_opt.c @@ -228,7 +228,7 @@ static void correct_in

Re: [FFmpeg-devel] [PATCH 1/2] avfilter/src_movie: switch to activate()

2023-05-12 Thread Paul B Mahol
On Wed, May 10, 2023 at 4:47 PM Paul B Mahol wrote: > > Will apply as it now works. > last time for comments ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or em

Re: [FFmpeg-devel] [PATCH] doc/muxers/image2: drop unmatched quote in example

2023-05-12 Thread Gyan Doshi
On 2023-05-12 02:16 am, Andriy Utkin wrote: Hi Gyan, I don't have anything else. I was sending these tiny patches as I encountered these typos. I am not after the score points :) Applied as 86ee0317951d6793b83fce03942ee26177663cec Thanks, Gyan _

Re: [FFmpeg-devel] [PATCH v9 0/6] Support enhanced flv in FFmpeg

2023-05-12 Thread Vibhoothi
Hi, On Fri, 12 May 2023 at 04:59, Steven Liu wrote: > > Reference file: > https://github.com/veovera/enhanced-rtmp/blob/main/enhanced-rtmp-v1.pdf > The Enhanced flv has been supported by OBS, Simple Realtime Server, mpegts.js. > you can publish hevc, av1 or vp9 codec stream to Youtube over rtmp.

Re: [FFmpeg-devel] [PATCH v9 0/6] Support enhanced flv in FFmpeg

2023-05-12 Thread Steven Liu
Timo Rothenpieler 于2023年5月12日周五 18:30写道: Hi Timo, > > On 12/05/2023 05:58, Steven Liu wrote: > > Reference file: > > https://github.com/veovera/enhanced-rtmp/blob/main/enhanced-rtmp-v1.pdf > > The Enhanced flv has been supported by OBS, Simple Realtime Server, > > mpegts.js. > > you can publish

Re: [FFmpeg-devel] [PATCH v9 0/6] Support enhanced flv in FFmpeg

2023-05-12 Thread Timo Rothenpieler
On 12/05/2023 05:58, Steven Liu wrote: Reference file: https://github.com/veovera/enhanced-rtmp/blob/main/enhanced-rtmp-v1.pdf The Enhanced flv has been supported by OBS, Simple Realtime Server, mpegts.js. you can publish hevc, av1 or vp9 codec stream to Youtube over rtmp. The enhanced flv docum