Re: [FFmpeg-devel] [PATCH 3/4] avfilter/asrc_sine: increase frequency accuracy

2024-11-28 Thread Nicolas George
Marton Balint (12024-11-10): > Previously the delta phase was fixed point fractional with 2^32 fractions, > which caused inaccuracies in the output frequency, unless the input > frequency*2^32 was divisable by the sample rate. > > This patch improves frequency accuracy by tracking subfractions of

Re: [FFmpeg-devel] [PATCH 4/4] fate: revert previous frequency adjustments of the sine filter

2024-11-28 Thread Nicolas George
Marton Balint (12024-11-10): > With more precise frequency support in the sine filter, several fate tests > will > change. > > Signed-off-by: Marton Balint > --- > tests/fate/ffmpeg.mak | 8 +- > tests/fate/filter-video.mak | 2 +- > tests/fate/libswresample.mak

Re: [FFmpeg-devel] [PATCH] Use AVBufferPool in MOV

2024-11-28 Thread Arnaud Masserann
AVBufferPool is actually super lazy. It does not allocate N buffers at initialization. So for images, in all three cases (per-stream, per-media, and no pool), the behaviour is the same : 1 av_malloc per stream. To be sure, I ran more tests: On image1.heic (48-streams), as reported by massif with `

Re: [FFmpeg-devel] [PATCH] avcodec/dovi_rpu: make ff_dovi_configure_ext() take an AVCodecContext as input argument

2024-11-28 Thread Anton Khirnov
Quoting James Almer (2024-11-27 14:31:35) > @@ -222,10 +223,25 @@ static int dovi_rpu_init(AVBSFContext *bsf) > > s->enc.cfg = *cfg; > } else { > +AVCodecContext *avctx; > av_log(bsf, AV_LOG_WARNING, "No Dolby Vision configuration > record " >

Re: [FFmpeg-devel] [PATCH] avcodec/dovi_rpu: make ff_dovi_configure_ext() take an AVCodecContext as input argument

2024-11-28 Thread James Almer
On 11/28/2024 9:57 AM, Anton Khirnov wrote: Quoting James Almer (2024-11-27 14:31:35) @@ -222,10 +223,25 @@ static int dovi_rpu_init(AVBSFContext *bsf) s->enc.cfg = *cfg; } else { +AVCodecContext *avctx; av_log(bsf, AV_LOG_WARNING, "No Dolby

Re: [FFmpeg-devel] [RFC] github assembly course ?

2024-11-28 Thread Anton Khirnov
Quoting Michael Niedermayer (2024-11-11 18:19:23) > On Mon, Nov 11, 2024 at 04:25:00PM +0200, Martin Storsjö wrote: > > On Mon, 11 Nov 2024, Timo Rothenpieler wrote: > > > > > > > > > > > On 11/11/2024 15:02, Ronald S. Bultje wrote: > > > > Hi, > > > > > > > > On Sun, Nov 10, 2024 at 6:53 PM Mi

Re: [FFmpeg-devel] [PATCH] avcodec/dovi_rpu: make ff_dovi_configure_ext() take an AVCodecContext as input argument

2024-11-28 Thread Anton Khirnov
Quoting James Almer (2024-11-28 13:58:46) > On 11/28/2024 9:57 AM, Anton Khirnov wrote: > > Quoting James Almer (2024-11-27 14:31:35) > >> @@ -222,10 +223,25 @@ static int dovi_rpu_init(AVBSFContext *bsf) > >> > >> s->enc.cfg = *cfg; > >> } else { > >> +AVCode

Re: [FFmpeg-devel] [PATCH] avcodec/dovi_rpu: make ff_dovi_configure_ext() take an AVCodecContext as input argument

2024-11-28 Thread James Almer
On 11/28/2024 10:13 AM, Anton Khirnov wrote: Quoting James Almer (2024-11-28 13:58:46) On 11/28/2024 9:57 AM, Anton Khirnov wrote: Quoting James Almer (2024-11-27 14:31:35) @@ -222,10 +223,25 @@ static int dovi_rpu_init(AVBSFContext *bsf) s->enc.cfg = *cfg; } els

Re: [FFmpeg-devel] [PATCH] avcodec/ac3dec: fix build when eac3 decoder is disabled

2024-11-28 Thread Anton Khirnov
Quoting Nicolas Gaullier (2024-10-27 01:01:23) > Signed-off-by: Nicolas Gaullier > --- > libavcodec/ac3dec_fixed.c | 3 +++ > libavcodec/ac3dec_float.c | 2 ++ > 2 files changed, 5 insertions(+) Will push soonish. -- Anton Khirnov ___ ffmpeg-devel ma

Re: [FFmpeg-devel] [PATCH 2/2] doc/encoders: very basic FFv1 documentation

2024-11-28 Thread Anton Khirnov
Quoting Michael Niedermayer (2024-11-27 23:18:25) > Hi > > On Tue, Nov 26, 2024 at 11:48:54AM +0100, Anton Khirnov wrote: > > Quoting Michael Niedermayer (2024-10-15 00:46:50) > > > +@item qtable > > > +-1 (default, automatic), 0 use 8bit default, 1, use >8bit default > > > > int seems like the w

Re: [FFmpeg-devel] [PATCH 1/2] libavcodec/sanm: clear codec47 diff buffers with specific color

2024-11-28 Thread Anton Khirnov
Quoting Manuel Lauss (2024-11-25 09:21:54) > Hello Anton, > > Ah yes, there are 2 more patches for sanm.c that these apply on top of: > > 1/2 https://lists.ffmpeg.org/pipermail/ffmpeg-devel/2024-November/335756.html > 2/2 https://lists.ffmpeg.org/pipermail/ffmpeg-devel/2024-November/335757.html >

Re: [FFmpeg-devel] [ANNOUNCE] upcoming vote: TC election

2024-11-28 Thread Martin Storsjö
On Thu, 28 Nov 2024, Anton Khirnov wrote: Hi all, the current Technical Committee (TC) was elected on 2023-12-05 and its mandate lasts for one year, so we should hold a new election soon. If there are no unforeseen circumstances, I would like to start the vote on Monday 2024-12-09. As a reminde

[FFmpeg-devel] [PATCH 1/6] lavc/vvc: Use second definition of MinQtLog2SizeIntraC if relevant

2024-11-28 Thread Frank Plowman
MinQtLog2SizeIntraC is usually (eq. (51) from VVCv3) defined as sps_log2_diff_min_qt_min_cb_intra_slice_chroma + MinCbLog2SizeY However, in the case ph_log2_diff_min_qt_min_cb_intra_slice_chroma is present, it is instead (eq. (83) from VVCv3) defined as ph_log2_diff_min_qt_min_cb_intra_slice_chr

Re: [FFmpeg-devel] [PATCH] doc/infra: List at what companies the name servers are hosted and who provides the servers

2024-11-28 Thread Michael Niedermayer
On Thu, Nov 28, 2024 at 12:01:16AM +0100, Timo Rothenpieler wrote: > On 27.11.2024 00:31, Michael Niedermayer wrote: > > Signed-off-by: Michael Niedermayer > > --- > > doc/infra.txt | 6 +++--- > > 1 file changed, 3 insertions(+), 3 deletions(-) > > > > diff --git a/doc/infra.txt b/doc/infra.t

[FFmpeg-devel] [PATCH 3/6] lavc/vvc: Store MIP information over entire CU area

2024-11-28 Thread Frank Plowman
Previously, the code only stored the MIP mode and transpose flag in the relevant tables at the top-left corner of the CU. This information ends up being retrieved in ff_vvc_intra_pred_* not based on the CU position but instead the transform unit position (specifically, using the x0 and y0 from get

[FFmpeg-devel] [PATCH 4/6] lavc/vvc: Fix scaling matrix DC coef derivation

2024-11-28 Thread Frank Plowman
In 7.4.3.20 of H.266 (V3), there are two similarly-named variables: scalingMatrixDcPred and ScalingMatrixDcRec. The old code set ScalingMatrixDcRec, rather than scalingMatrixDcPred, in the first two branches of the conditions on scaling_list_copy_mode_flag[id] and aps->scaling_list_pred_mode_flag[

[FFmpeg-devel] [PATCH 5/6] lavc/vvc: Fix derivation of LmcsMaxBinIdx

2024-11-28 Thread Frank Plowman
Per H.266 (V3) section 7.4.3.19, LmcsMaxBinIdx is set equal to 15 - lmcs_delta_max_bin_idx. The previous code instead had it equal to 15 - lmcs_min_bin_idx. This could cause decoder mismatches. Signed-off-by: Frank Plowman --- libavcodec/vvc/ps.c | 2 +- 1 file changed, 1 insertion(+), 1 delet

Re: [FFmpeg-devel] [PATCH] MAINTAINERS: Lauri is still available but is really low on time nowadays

2024-11-28 Thread Michael Niedermayer
On Tue, Nov 26, 2024 at 09:03:08PM +0100, Michael Niedermayer wrote: > CC: Lauri Kasanen > Signed-off-by: Michael Niedermayer > --- > MAINTAINERS | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) will apply [...] -- Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

[FFmpeg-devel] [PATCH 6/6] lavc/vvc: Fix overflow in MVD derivation

2024-11-28 Thread Frank Plowman
H.266 (V3) section 7.4.12.8: "The value of lMvd[ compIdx ] shall be in the range of −2^{17} to 2^{17} − 1, inclusive." Signed-off-by: Frank Plowman --- libavcodec/vvc/ctu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/vvc/ctu.c b/libavcodec/vvc/ctu.c index 00309

Re: [FFmpeg-devel] [PATCH v2] lavc/x86/videodsp: Drop MMX usage

2024-11-28 Thread Frank Plowman
Ping On 16/11/2024 17:59, Frank Plowman wrote: > Remove the MMX versions of these functions and modify the SSE > implementations to avoid using MMX registers. > > Signed-off-by: Frank Plowman > --- > libavcodec/x86/videodsp.asm| 61 ++- > libavcodec/x86/videodsp_init.c |

Re: [FFmpeg-devel] [PATCH 1/8] avcodec/cbs_h266: check subpicture slices number

2024-11-28 Thread Frank Plowman
On 23/11/2024 09:32, Nuo Mi wrote: > According to section 6.3.3, 'Spatial or component-wise partitionings,' > Subpictures must cover the entire picture. > Therefore, the total number of subpicture slices should equal the number of > picture slices > > Co-authored-by: Frank Plowman > --- > libav

[FFmpeg-devel] [PATCH 2/6] lavc/vvc: Don't check motion estimation region for IBC

2024-11-28 Thread Frank Plowman
The final parameter of check_available determines whether the motion estimation region constraints imposed in section 8.5.2.3 of H.266 (V3) on MVP candidates apply to the current candidate or not. In the case of IBC spatial merge candidates they do not, as their availability is dependent only on t

Re: [FFmpeg-devel] [ANNOUNCE] upcoming vote: TC election

2024-11-28 Thread Michael Niedermayer
Hi Anton On Thu, Nov 28, 2024 at 03:29:54PM +0100, Anton Khirnov wrote: > Hi all, > the current Technical Committee (TC) was elected on 2023-12-05 and its > mandate lasts for one year, so we should hold a new election soon. If > there are no unforeseen circumstances, I would like to start the vote

Re: [FFmpeg-devel] libavformat/demux.c: MythTV added NULL checks

2024-11-28 Thread Anton Khirnov
Quoting Scott Theisen (2024-11-14 06:52:05) > > I don't know if any of these are still necessary since I have reduced MythTV's > modifications to FFmpeg and replaced all uses of internal functions. All of these look quite suspicious to me - the flow should never get there with the relevant pointe

Re: [FFmpeg-devel] [RFC] infrastructure documentation

2024-11-28 Thread Anton Khirnov
Quoting Michael Niedermayer (2024-11-19 23:16:17) > > > 3. who has what access (physical and remote/software). > > > 4. Who owns avcodec.org? Who runs these DNS servers? Who has access? > > > Who has contacts? > > For peoples names ideally we should start a non public list. Suggestions > anyone >

Re: [FFmpeg-devel] [PATCH] lavc/libx265: flag as experimental

2024-11-28 Thread Vittorio Giovara
On Thu, Nov 28, 2024 at 3:22 AM Kirithika Kalirathnam < kirith...@multicorewareinc.com> wrote: > Hi All, > > x265 v4.1 is > released with the fixes addressing memory leak and other reported > issues.Please check it out. > > *Thanks,* > *

Re: [FFmpeg-devel] [PATCH V7] Patch to add interlaced HEVC decoding to HEVCDEC

2024-11-28 Thread Anton Khirnov
Hi, Quoting Jose Santiago (2024-11-08 18:05:14) > From 613629758c059c941a43c3e1b64de59f4076f746 Mon Sep 17 00:00:00 2001 > From: Jose Santiago > Date: Fri, 8 Nov 2024 10:57:07 -0600 > Subject: [PATCH V7] Patch to add interlaced HEVC decoding to HEVCDEC > > V7 Fixes FATE regression and cropping f

Re: [FFmpeg-devel] How to support audio data placed within video data

2024-11-28 Thread Anton Khirnov
Quoting Manuel Lauss (2024-11-26 15:25:30) > Hello, > > I'd like to add some audio support for the old libavformat/smush > formats (mainly the "ANIM" variants; the "SANM" variant already has > audio decoding support). > > The audio data (16bit stereo PCM) however is placed at (more or less) > ran

Re: [FFmpeg-devel] [PATCH] lavc/libx265: flag as experimental

2024-11-28 Thread Kirithika Kalirathnam
Hi All, x265 v4.1 is released with the fixes addressing memory leak and other reported issues.Please check it out. *Thanks,* *Kirithika* On Mon, Nov 11, 2024 at 9:50 AM Kirithika Kalirathnam < kirith...@multicorewareinc.com> wrote: >

[FFmpeg-devel] [PATCH] avcodec: add avcodec_reset_hw_frames_parameters()

2024-11-28 Thread Thomas Guillem via ffmpeg-devel
usage example: AVBufferRef *hwframes_ref; int ret = avcodec_get_hw_frames_parameters(ctx, hwdev_ref, hwfmt, &hwframes_ref); ... ret = av_hwframe_ctx_init(hwframes_ref); if (ret < 0) { av_buffer_unref(&hwframes_ref);

[FFmpeg-devel] [ANNOUNCE] upcoming vote: TC election

2024-11-28 Thread Anton Khirnov
Hi all, the current Technical Committee (TC) was elected on 2023-12-05 and its mandate lasts for one year, so we should hold a new election soon. If there are no unforeseen circumstances, I would like to start the vote on Monday 2024-12-09. As a reminder, the TC is in charge of resolving technical

[FFmpeg-devel] [ANNOUNCE] upcoming vote: CC election

2024-11-28 Thread Anton Khirnov
Hi all, the current Community Committee (CC) was elected on 2023-12-05 and its mandate lasts for one year, so we should hold a new election soon. If there are no unforeseen circumstances, I would like to start the vote on Monday 2024-12-09. As a reminder, the CC is in charge of resolving code of c

Re: [FFmpeg-devel] [PATCH] doc/infra: List at what companies the name servers are hosted and who provides the servers

2024-11-28 Thread compn
On Wed, 27 Nov 2024 17:50:56 -0500 Vittorio Giovara wrote: > Vittorio > > [0] no insult to you, Nikolay, your appearance was a bit of a surprise to > this community https://lists.ffmpeg.org/pipermail/ffmpeg-devel/2016-July/196946.html https://lists.ffmpeg.org/pipermail/ffmpeg-cvslog/2016-July/1

Re: [FFmpeg-devel] [PATCH] doc/demuxers/dvdvideo: seeking is supported, remove outdated statement

2024-11-28 Thread Marth64
Will push in 1-2 days. ___ 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".

Re: [FFmpeg-devel] [PATCH] avformat/dvdvideodec: fix missing last chapter marker due to off-by-one

2024-11-28 Thread Marth64
Will push in 1-2 days. ___ 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".

Re: [FFmpeg-devel] [PATCH] avformat/dvdvideodec: check return code of ff_dvdclut_yuv_to_rgb()

2024-11-28 Thread Marth64
Will push in 1-2 days. ___ 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, v3] swscale/ppc: disable YUV2RGB AltiVec acceleration

2024-11-28 Thread Sean McGovern
The FATE test 'checkasm-sw_yuv2rgb' currently fails on this platform, in both little- and big-endian configurations with AltiVec enabled. Disable it for the time being. --- libswscale/ppc/yuv2rgb_altivec.c | 8 1 file changed, 8 insertions(+) diff --git a/libswscale/ppc/yuv2rgb_altivec.

Re: [FFmpeg-devel] [PATCH v2 00/11] fix broken CC detection and ffprobe fields (cover letter)

2024-11-28 Thread Marth64
Hi Marton > I suggest you try adding the "properties" attribute to AVCodecParameters, > because as far as I see it is very similar to profile or level. Can you > see if that works? If it does, we might even promote the FF_CODEC_PROPERTY > flags to AV_CODEC_PROPERTY so they will become properly pub

Re: [FFmpeg-devel] [PATCH v2 00/11] fix broken CC detection and ffprobe fields (cover letter)

2024-11-28 Thread Marton Balint
On Wed, 27 Nov 2024, Marth64 wrote: As it stands today, ffprobe has two stream-level fields (closed_captions and film_grain) that do not work. Their value is always 0 because ffprobe cannot access the internal codec properties in the stream context when it is setting up its internal stream

Re: [FFmpeg-devel] [PATCH] avformat/mov: merge stts and ctts arrays into one

2024-11-28 Thread Michael Niedermayer
On Wed, Nov 27, 2024 at 11:10:09AM -0300, James Almer wrote: > Should reduce memory usage as well as remove code duplication. > > Signed-off-by: James Almer > --- > libavformat/isom.h | 15 +- > libavformat/mov.c | 544 + > 2 files changed, 221 inser

Re: [FFmpeg-devel] [PATCH v2 4/6] avformat/matroskadec: add support for reading LanguageBCP47 element

2024-11-28 Thread Michael Niedermayer
On Wed, Nov 27, 2024 at 12:09:25AM -0600, Marth64 wrote: > Signed-off-by: Marth64 > --- > libavformat/matroskadec.c | 28 ++-- > 1 file changed, 26 insertions(+), 2 deletions(-) breaks fate / needs update top the ref --- ./tests/ref/fate/matroska-side-data-pref-codec

Re: [FFmpeg-devel] How to support audio data placed within video data

2024-11-28 Thread Manuel Lauss
On Thu, Nov 28, 2024 at 3:19 PM Anton Khirnov wrote: > > Quoting Manuel Lauss (2024-11-26 15:25:30) > > Hello, > > > > I'd like to add some audio support for the old libavformat/smush > > formats (mainly the "ANIM" variants; the "SANM" variant already has > > audio decoding support). > > > > The a

Re: [FFmpeg-devel] [PATCH v2 4/6] avformat/matroskadec: add support for reading LanguageBCP47 element

2024-11-28 Thread Marth64
Will send fix in updated set, thanks for looking. ___ 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"