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

2025-03-23 Thread James Almer
Core framework and AV1 only for now. 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 | 142 +++ libavcodec/cbs.h | 53 +-

[FFmpeg-devel] [PATCH v3 2/2] avformat/movenccenc: add support for CENC AV1 encryption

2025-03-23 Thread James Almer
Signed-off-by: James Almer --- libavformat/Makefile | 2 +- libavformat/cbs.c| 2 + libavformat/cbs.h| 35 ++ libavformat/cbs_av1.c| 5 + libavformat/movenc.c | 13 ++- libavformat/movenccenc.c | 223 ++- libavformat/move

[FFmpeg-devel] [PATCH] avformat/hlsenc: calculate bitrate for segments with duration < 0.5

2025-03-23 Thread Jack Lau via ffmpeg-devel
The previous code sets the bitrate to be calculated only when duration>0.5, which is obviously not general enough. In some scenarios, we may need to set hls_time<0.5, then the generated segments are all <0.5. At this time, because the bitrate is not calculated, max_bitrate is empty, and ff_hls_

[FFmpeg-devel] [PATCH] MAINTAINERS: Add myself

2025-03-23 Thread softworkz
From: softworkz will move to specific areas once they are there. Signed-off-by: softworkz --- MAINTAINERS: Add myself will move to specific areas once they are there. Signed-off-by: softworkz softwo...@hotmail.com Published-As: https://github.com/ffstaging/FFmpeg/release

Re: [FFmpeg-devel] [PATCH] avformat/hlsenc: calculate bitrate for segments with duration < 0.5

2025-03-23 Thread Steven Liu
Jack Lau via ffmpeg-devel 于2025年3月24日周一 07:13写道: > > The previous code sets the bitrate to be calculated only when duration>0.5, > which is obviously not general enough. > > In some scenarios, we may need to set hls_time<0.5, then the generated > segments are all <0.5. At this time, because the

[FFmpeg-devel] [PATCH] FFMPEG: add graph reconfig capability

2025-03-23 Thread yangyalei via ffmpeg-devel
From: yangyalei <269032...@qq.com> 1. Support reuse the graph to play different audio. 2. Support config part of the graph. Signed-off-by: yangyalei <269032...@qq.com> --- libavfilter/avfilter.c | 8 +- libavfilter/avfilter.h | 9 ++ libavfilter/avfiltergraph.c | 217 ++

Re: [FFmpeg-devel] [PATCH] avformat/hlsenc: calculate bitrate for segments with duration < 0.5

2025-03-23 Thread Jack Lau
> On Mar 24, 2025, at 08:11, Steven Liu wrote: > > Jack Lau via ffmpeg-devel > 于2025年3月24日周一 07:13写道: >> >> The previous code sets the bitrate to be calculated only when duration>0.5, >> which is obviously not general enough. >> >> In some scenarios, we may n

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

2025-03-23 Thread Michael Niedermayer
Hi Jerome On Sat, Mar 22, 2025 at 06:54:25PM +0100, Jerome Martinez wrote: > 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 late

[FFmpeg-devel] [PATCH] all: Replace assert by av_assert

2025-03-23 Thread Andreas Rheinhardt
Patch attached. - Andreas From a6481493a5a9acf0968798dd5afd72239acca11c Mon Sep 17 00:00:00 2001 From: Andreas Rheinhardt Date: Sun, 23 Mar 2025 17:50:54 +0100 Subject: [PATCH] all: Replace assert by av_assert Also remove the assert.h inclusion from lavu/internal.h. Signed-off-by: Andreas Rhein

[FFmpeg-devel] [PATCH] FFMPEG: add graph reconfig capability

2025-03-23 Thread yangyalei050 via ffmpeg-devel
From: yangyalei050 <269032...@qq.com> 1. Support reuse the graph to play different audio. 2. Support config part of the graph. Signed-off-by: yangyalei050 <269032...@qq.com> --- libavfilter/avfilter.c | 8 +- libavfilter/avfilter.h | 9 ++ libavfilter/avfiltergraph.c | 217

Re: [FFmpeg-devel] [PATCH] FFMPEG: add graph reconfig capability

2025-03-23 Thread Zhao Zhili
> On Mar 24, 2025, at 10:28, yangyalei050 via ffmpeg-devel > wrote: > > From: yangyalei050 <269032...@qq.com> > > 1. Support reuse the graph to play different audio. > 2. Support config part of the graph. > > Signed-off-by: yangyalei050 <269032...@qq.com> > --- > libavfilter/avfilter.c

[FFmpeg-devel] [PATCH 1/2] configure: Clearer documentation for "disable-safe-bitstream-reader"

2025-03-23 Thread Michael Niedermayer
Signed-off-by: Michael Niedermayer --- configure | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/configure b/configure index 14f7bcde0e2..bdebfc2f6a4 100755 --- a/configure +++ b/configure @@ -435,7 +435,8 @@ Advanced options (experts only): --enable-hardcoded-tables use

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

2025-03-23 Thread James Almer
On 3/22/2025 2:49 PM, Massimo Eynard wrote: 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 resultin

[FFmpeg-devel] [PATCH 2/2] avcodec/ffv1enc: remap prettification and bufixes

2025-03-23 Thread Michael Niedermayer
Signed-off-by: Michael Niedermayer --- libavcodec/ffv1enc.c | 19 ++- 1 file changed, 14 insertions(+), 5 deletions(-) diff --git a/libavcodec/ffv1enc.c b/libavcodec/ffv1enc.c index 5b251ac2e80..4340d1b8732 100644 --- a/libavcodec/ffv1enc.c +++ b/libavcodec/ffv1enc.c @@ -1275,6 +