Re: [FFmpeg-devel] [PATCH v2] ffmpeg: add per-stream input option drop_changed

2025-03-22 Thread Gyan Doshi
On 2025-03-16 11:39 pm, Gyan Doshi wrote: On 2025-03-16 11:12 pm, James Almer wrote: On 3/16/2025 4:18 AM, Gyan Doshi wrote: This is a replacement in ffmpeg for the deprecated avcodec flag AV_CODEC_FLAG_DROPCHANGED. This option is meant to be used when the filtergraph should not be reini

Re: [FFmpeg-devel] [PATCH] avcodec/ffv1: Implement 2D RLE for remap

2025-03-22 Thread Michael Niedermayer
On Fri, Mar 21, 2025 at 11:22:45PM +0100, Michael Niedermayer wrote: > On Fri, Mar 21, 2025 at 10:36:58PM +0100, Michael Niedermayer wrote: > > On Fri, Mar 21, 2025 at 10:12:50PM +0100, Michael Niedermayer wrote: > > > Hi > > > > > > On Fri, Mar 21, 2025 at 09:13:49PM +0100, Michael Niedermayer wr

Re: [FFmpeg-devel] [PATCH] ffmpeg_demux: set default for readrate_catchup to be 5% faster

2025-03-22 Thread Gyan Doshi
On 2025-03-19 04:36 pm, Gyan Doshi wrote: The existing default value is the same as the primary readrate. This maintains the flow rate as best as possible but does not reduce the lag. This new value allows catchup to gradually happen without overwhelming the receiver. Addresses a concern brou

Re: [FFmpeg-devel] [PATCH] avfilter/scale: remove duplicate block

2025-03-22 Thread Gyan Doshi
On 2025-03-19 10:33 am, Gyan Doshi wrote: Added in bb80445813 Plan to push tomorrow. Regards, Gyan --- libavfilter/vf_scale.c | 16 1 file changed, 16 deletions(-) diff --git a/libavfilter/vf_scale.c b/libavfilter/vf_scale.c index 8c03d7fd8d..293eb11a4e 100644 --- a/

[FFmpeg-devel] [PATCH v9 4/4] fftools/ffprobe: Rename AVTextFormatContext variables (w => tfc)

2025-03-22 Thread softworkz
From: softworkz Signed-off-by: softworkz --- fftools/ffprobe.c | 512 +++--- 1 file changed, 256 insertions(+), 256 deletions(-) diff --git a/fftools/ffprobe.c b/fftools/ffprobe.c index 4a90bc4824..9f869b41b3 100644 --- a/fftools/ffprobe.c +++ b/fftools/

[FFmpeg-devel] [PATCH v9 3/4] fftools/ffprobe: Rename writer_print_section_* and WriterContext

2025-03-22 Thread softworkz
From: softworkz separated for better clarity of the preceding commit Signed-off-by: softworkz ren --- fftools/ffprobe.c | 361 +++--- 1 file changed, 178 insertions(+), 183 deletions(-) diff --git a/fftools/ffprobe.c b/fftools/ffprobe.c index f398057df7

[FFmpeg-devel] [PATCH v9 2/4] fftools/ffprobe: Change to use textformat api

2025-03-22 Thread softworkz
From: softworkz Signed-off-by: softworkz --- fftools/Makefile | 15 +- fftools/ffprobe.c | 1849 - 2 files changed, 144 insertions(+), 1720 deletions(-) diff --git a/fftools/Makefile b/fftools/Makefile index 4499799818..e9c9891c34 100644 --- a/fft

[FFmpeg-devel] [PATCH v9 1/4] fftools/textformat: Extract and generalize textformat api from ffprobe.c

2025-03-22 Thread softworkz
From: softworkz Signed-off-by: softworkz --- fftools/textformat/avtextformat.c | 672 + fftools/textformat/avtextformat.h | 171 fftools/textformat/avtextwriters.h | 68 +++ fftools/textformat/tf_compact.c| 282 fftools/textformat/tf_defa

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

2025-03-22 Thread ffmpegagent
Due to the additional work on graph visualization (see https://lists.ffmpeg.org/pipermail/ffmpeg-devel/2025-March/341296.html), I have removed the two graph printing commits from this patchset rather than adding to it, as to avoid wasting the effort already spent on reviewing. So, now it's a graph

Re: [FFmpeg-devel] [PATCH v8 2/4] fftools/ffprobe: Change to use textformat api

2025-03-22 Thread Soft Works
> -Original Message- > From: ffmpeg-devel On Behalf Of > Michael Niedermayer > Sent: Samstag, 22. März 2025 18:30 > To: FFmpeg development discussions and patches > Subject: Re: [FFmpeg-devel] [PATCH v8 2/4] fftools/ffprobe: Change to > use textformat api > > Hi > > On Sat, Mar 22, 20

Re: [FFmpeg-devel] [PATCH 2/3] avcodec/cbs: allow fine tunning selection of features

2025-03-22 Thread James Almer
On 3/22/2025 11:25 AM, Andreas Rheinhardt wrote: James Almer: This will be useful in an upcoming commit, where CBS will be utilized by a module outside libavcodec. Signed-off-by: James Almer --- libavcodec/cbs.c | 100 ++- libavcodec/cbs_av1.c

[FFmpeg-devel] [PATCH] avcodec/ffv1: Implement 2D RLE for remap

2025-03-22 Thread Michael Niedermayer
ATM this performs as well or better as any other algorithm tried. Its simple for the decoder. On the encoder side complexity depends on how parameters are choosen. But with a fixed mul_count of 1 and basic heuristic it performs as well as any more complex choice i tried so far. The encoder code he

Re: [FFmpeg-devel] [PATCH] avcodec/ffv1: Implement 2D RLE for remap

2025-03-22 Thread Jerome Martinez
Le 22/03/2025 à 18:45, Michael Niedermayer a écrit : [...] Also I failed to find any worthy gain from adjusting mul_count so while the code in the encoder looks complex ATM alot of that can be dropped later if for example we choose to never put mul_count > 1 into the specification and ATM it make

[FFmpeg-devel] [PATCH] avcodec/mlpdec: Add decoding of object audio data

2025-03-22 Thread Massimo Eynard
This patch adds support for decoding the fourth MLP substream which contains the 16-channel presentation used for Atmos audio objects. By default only the first three substreams are decoded unless the new extract_objects flag is enabled as the resulting presentation contains audio object feeds ins

Re: [FFmpeg-devel] [PATCH v8 2/4] fftools/ffprobe: Change to use textformat api

2025-03-22 Thread Michael Niedermayer
Hi On Sat, Mar 22, 2025 at 01:36:05AM +, Soft Works wrote: > > > > -Original Message- > > From: ffmpeg-devel On Behalf Of > > Michael Niedermayer > > Sent: Samstag, 22. März 2025 02:23 > > To: FFmpeg development discussions and patches > > Subject: Re: [FFmpeg-devel] [PATCH v8 2/4]

Re: [FFmpeg-devel] [PATCH] configure: Add EXR decoder->bswapdsp dependency

2025-03-22 Thread Andreas Rheinhardt
Andreas Rheinhardt: > Patch attached. > > - Andreas > Will apply tomorrow unless there are objections. - Andreas ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above,

Re: [FFmpeg-devel] [PATCH 01/77] avcodec/mpegvideo(_enc)?: Mark init, close functions as, av_cold

2025-03-22 Thread Andreas Rheinhardt
Michael Niedermayer: > On Wed, Mar 19, 2025 at 10:18:38PM +0100, Andreas Rheinhardt wrote: >> First part of a patchset; the second part will be sent separately >> because the complete set crosses the ML thresholds ("Message body is too >> big: 1731572 bytes with a limit of 1000 KB"). A complete bra

Re: [FFmpeg-devel] [PATCH 2/3] avcodec/cbs: allow fine tunning selection of features

2025-03-22 Thread Andreas Rheinhardt
James Almer: > This will be useful in an upcoming commit, where CBS will be utilized by > a module outside libavcodec. > > Signed-off-by: James Almer > --- > libavcodec/cbs.c | 100 ++- > libavcodec/cbs_av1.c | 64 - >

Re: [FFmpeg-devel] [PATCH] libswresample/riscv:add RVV optimized for conv_flt_to_s16

2025-03-22 Thread Rémi Denis-Courmont
Le torstaina 20. maaliskuuta 2025, 11.30.01 UTC+2 daichengr...@iscas.ac.cn a écrit : > From: daichengrong > > This patch introduces RVV optimized for conv_flt_to_s16. > On Banana PI F3, it gets an average improvement of 5% for 2 SAMPLES. > --- > libswresample/audioconvert.c | 2

Re: [FFmpeg-devel] [PATCH v8 2/4] fftools/ffprobe: Change to use textformat api

2025-03-22 Thread Soft Works
> -Original Message- > From: ffmpeg-devel On Behalf Of > Michael Niedermayer > Sent: Samstag, 22. März 2025 02:23 > To: FFmpeg development discussions and patches > Subject: Re: [FFmpeg-devel] [PATCH v8 2/4] fftools/ffprobe: Change to > use textformat api > > On Wed, Mar 19, 2025 at 0