Re: [FFmpeg-devel] Trac spam

2023-09-11 Thread Michael Koch
I guess deleting users requires full admin rights, so i guess, just make a list of users which are in need of a deletion and post that and i or less likely some other admin will disable/delete them. Please delete user "selune" in ticket 2104 You and everyone else in the spam fighter group

Re: [FFmpeg-devel] Trac spam

2023-09-11 Thread Michael Niedermayer
On Tue, Sep 12, 2023 at 01:11:56AM +0200, Michael Niedermayer wrote: > On Mon, Sep 11, 2023 at 02:20:58PM +0200, Michael Koch wrote: > > I see the "Delete selected as Spam" button, but no "Remove registered user" > > button. > > I guess deleting users requires full admin rights, so i guess, just

Re: [FFmpeg-devel] Trac spam

2023-09-11 Thread Michael Niedermayer
On Mon, Sep 11, 2023 at 02:20:58PM +0200, Michael Koch wrote: > I see the "Delete selected as Spam" button, but no "Remove registered user" > button. I guess deleting users requires full admin rights, so i guess, just make a list of users which are in need of a deletion and post that and i or

[FFmpeg-devel] [PATCH] avcodec/x86/mpegvideoenc_template: Disable dead code

2023-09-11 Thread Andreas Rheinhardt
Since bfb28b5ce89f3e950214b67ea95b45e3355c2caf the permutation type FF_IDCT_PERM_SIMPLE is ARCH_X86_32-only. So use this knowledge to disable code for it when not on ARCH_X86_32. Signed-off-by: Andreas Rheinhardt --- libavcodec/x86/idctdsp_init.c | 2 ++

Re: [FFmpeg-devel] [PATCH 1/7] proresdec2: port and fix for cached reader

2023-09-11 Thread Christophe Gisquet
Le ven. 8 sept. 2023 à 10:20, Christophe Gisquet a écrit : > This patchset requires my previous one improving the cached bitstream > reader, and serves as its justification. It, basically, moves to using > VLC wherever possible, and in particular when codewords are > sufficiently short/there's

Re: [FFmpeg-devel] [PATCH 1/2] Expose and start using skip_remaining

2023-09-11 Thread Christophe Gisquet
Hello, Le ven. 8 sept. 2023 à 00:39, Andreas Rheinhardt a écrit : > This is problematic, because you seem to think that bits_peek(bc, bits) > ensures that there are at least `bits` available in the cache; read_vlc* also makes that assumption? Anyway, I'd put that behaviour (of checking) under

Re: [FFmpeg-devel] [PATCH 03/10] avformat/avformat: use the side data from AVStream.codecpar

2023-09-11 Thread Andreas Rheinhardt
James Almer: > Deprecate AVStream.side_data and its helpers in favor of the AVStream's > codecpar.side_data. > > This will considerably simplify the propagation of global side data to > decoders > and from encoders. Instead of having to do it inside packets, it will be > available during init().

[FFmpeg-devel] [PATCH v3] GSoC 2023: Add Audio Overlay Filter

2023-09-11 Thread Harshit Karwal
1. Replaced ring buffer ADT with AVAudioFifo from libavutil/audio_fifo.h 2. Fixed potential freeing of uninitialised pointers in uninit 3. Minor changes like removing unused headers Signed-off-by: Harshit Karwal --- doc/filters.texi | 40 +++ libavfilter/Makefile | 1 +

Re: [FFmpeg-devel] [PATCH] avfilter: add libvmaf_cuda

2023-09-11 Thread Timo Rothenpieler
On 11.09.2023 19:53, Kyle Swanson wrote: Hi, On Tue, Sep 5, 2023 at 10:16 AM Kyle Swanson wrote: I'll merge this in a few days. Not merged yet because I noticed a bug in the configure script. Setting only `--enable-libvmaf` will enable both `libvmaf` and `libvmaf_cuda`. Anyone familiar with

Re: [FFmpeg-devel] [PATCH v3] avformat/avio: Don't use incompatible function pointer type for call

2023-09-11 Thread Marton Balint
On Mon, 11 Sep 2023, Andreas Rheinhardt wrote: It is undefined behaviour even in cases where it works (it works because it is only a const uint8_t* vs. uint8_t* difference). Instead add a cbuf parameter to pass a const buffer (for writing) as well as a parameter indicating whether we are

Re: [FFmpeg-devel] [PATCH 08/10] avcodec/decode: check for global side data in AVCodecContext side data

2023-09-11 Thread James Almer
On 9/11/2023 3:35 PM, Andreas Rheinhardt wrote: James Almer: Signed-off-by: James Almer --- libavcodec/decode.c | 55 + libavcodec/decode.h | 2 +- 2 files changed, 47 insertions(+), 10 deletions(-) diff --git a/libavcodec/decode.c

Re: [FFmpeg-devel] [PATCH 08/10] avcodec/decode: check for global side data in AVCodecContext side data

2023-09-11 Thread Andreas Rheinhardt
James Almer: > Signed-off-by: James Almer > --- > libavcodec/decode.c | 55 + > libavcodec/decode.h | 2 +- > 2 files changed, 47 insertions(+), 10 deletions(-) > > diff --git a/libavcodec/decode.c b/libavcodec/decode.c > index 169ee79acd..1a431ba7d7

Re: [FFmpeg-devel] [PATCH 01/10] avcodec/packet: add side data set struct and helpers

2023-09-11 Thread James Almer
On 9/11/2023 2:41 PM, Andreas Rheinhardt wrote: James Almer: This will be useful in the following commits. Signed-off-by: James Almer --- libavcodec/avpacket.c | 99 +++ libavcodec/packet.h | 74 2 files changed,

Re: [FFmpeg-devel] [PATCH 07/10] avcodec/hevcdec: check for DOVI configuration record in AVCodecContext side data

2023-09-11 Thread Andreas Rheinhardt
James Almer: > Signed-off-by: James Almer > --- > libavcodec/avcodec.h | 2 +- > libavcodec/hevcdec.c | 15 ++- > libavcodec/internal.h | 3 +++ > libavcodec/utils.c| 10 ++ > 4 files changed, 28 insertions(+), 2 deletions(-) > > diff --git a/libavcodec/avcodec.h

Re: [FFmpeg-devel] [PATCH] avfilter: add libvmaf_cuda

2023-09-11 Thread Kyle Swanson
Hi, On Tue, Sep 5, 2023 at 10:16 AM Kyle Swanson wrote: > I'll merge this in a few days. Not merged yet because I noticed a bug in the configure script. Setting only `--enable-libvmaf` will enable both `libvmaf` and `libvmaf_cuda`. Anyone familiar with the configure script know why this is

Re: [FFmpeg-devel] [PATCH 02/10] avcodec/codec_par: add side data to AVCodecParameters

2023-09-11 Thread Andreas Rheinhardt
James Almer: > This will simplify the propagation of side data to decoders and from encoders. > Global side data will now reside in the AVCodecContext, thus be available > during init(), removing the need to propagate it inside packets. > > Global and frame specific side data will therefore be

Re: [FFmpeg-devel] [PATCH 01/10] avcodec/packet: add side data set struct and helpers

2023-09-11 Thread Andreas Rheinhardt
James Almer: > This will be useful in the following commits. > > Signed-off-by: James Almer > --- > libavcodec/avpacket.c | 99 +++ > libavcodec/packet.h | 74 > 2 files changed, 173 insertions(+) > > diff --git

[FFmpeg-devel] [PATCH v3] avformat/avio: Don't use incompatible function pointer type for call

2023-09-11 Thread Andreas Rheinhardt
It is undefined behaviour even in cases where it works (it works because it is only a const uint8_t* vs. uint8_t* difference). Instead add a cbuf parameter to pass a const buffer (for writing) as well as a parameter indicating whether we are reading or writing; retry_transfer_wrapper() itself

[FFmpeg-devel] [PATCH v3] avformat/mov: add interleaved_read option

2023-09-11 Thread Zhao Zhili
From: Zhao Zhili For bad interleaved files, manually interleave multiple tracks at the demuxer level can trigger seeking back and forth, which can be dramatically slow depending on the protocol. Demuxer level interleave can be useless sometimes, e.g., reading mp4 via http and then

Re: [FFmpeg-devel] [PATCH 4/4] avcodec/flicvideo: Remove unnecessary cast

2023-09-11 Thread Paul B Mahol
LGTM ___ 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 3/4] avcodec/imc: Fix leak on init error

2023-09-11 Thread Paul B Mahol
LGTM ___ 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 v2] avformat/avio: Don't use incompatible function pointer type for call

2023-09-11 Thread Tomas Härdin
sön 2023-09-10 klockan 12:07 +0200 skrev Andreas Rheinhardt: > It is undefined behaviour even in cases where it works > (it works because it is only a const uint8_t* vs. uint8_t* > difference). > Instead use a macro to produce two functions with the required > types to be const-correct and

Re: [FFmpeg-devel] [PATCH] avformat/mxfdec: Don't pretend array to be bigger than it is

2023-09-11 Thread Tomas Härdin
mån 2023-09-11 klockan 18:29 +0200 skrev Andreas Rheinhardt: > mxf_match_uid() accepts two const UID and a len parameter. > UID is a typedef for an array of 16 uint8_t, so the const UID > parameter is actually a pointer to const uint8_t. > > The point of mxf_match_uid() is to check whether the

[FFmpeg-devel] [PATCH] avformat/aviobuf: Fix function pointer equality check

2023-09-11 Thread Andreas Rheinhardt
Broken in e8704a8f60041abb84585efaf3223abf0b6dcb90 when ffurl_read() has been turned into a static inline function different from the actually used function ffurl_read2(). Fixes ticket #10562. Signed-off-by: Andreas Rheinhardt --- libavformat/aviobuf.c | 2 +- 1 file changed, 1 insertion(+), 1

[FFmpeg-devel] [PATCH] avformat/mxfdec: Don't pretend array to be bigger than it is

2023-09-11 Thread Andreas Rheinhardt
mxf_match_uid() accepts two const UID and a len parameter. UID is a typedef for an array of 16 uint8_t, so the const UID parameter is actually a pointer to const uint8_t. The point of mxf_match_uid() is to check whether the initial part of two UIDs match; the length of said part is given by the

[FFmpeg-devel] [PATCH] avcodec/videotoolboxenc: Add HEVC 4:2:2 10-bit encoding profile

2023-09-11 Thread AdrianEddy
--- libavcodec/avcodec.h | 1 + libavcodec/videotoolboxenc.c | 11 +-- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h index da3c5234a0..51e63f72ec 100644 --- a/libavcodec/avcodec.h +++ b/libavcodec/avcodec.h @@ -1691,6

[FFmpeg-devel] [PATCH 4/4] avcodec/flicvideo: Remove unnecessary cast

2023-09-11 Thread Andreas Rheinhardt
Signed-off-by: Andreas Rheinhardt --- libavcodec/flicvideo.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/flicvideo.c b/libavcodec/flicvideo.c index e4b334e10f..8531eb715c 100644 --- a/libavcodec/flicvideo.c +++ b/libavcodec/flicvideo.c @@ -79,7 +79,7 @@ typedef

[FFmpeg-devel] [PATCH 3/4] avcodec/imc: Fix leak on init error

2023-09-11 Thread Andreas Rheinhardt
Since e6afa61be97674312e36c9b6f8bb5fba009232e7 an AVFloatDSPContext would leak on av_tx_init() failure. Signed-off-by: Andreas Rheinhardt --- libavcodec/imc.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libavcodec/imc.c b/libavcodec/imc.c index 83572c4f2c..754ceff958 100644 ---

[FFmpeg-devel] [PATCH 2/4] avcodec/libaribb24: Use FF_CODEC_CAP_INIT_CLEANUP

2023-09-11 Thread Andreas Rheinhardt
libaribb24_close() does the same as the fail path in libaribb24_init(). Signed-off-by: Andreas Rheinhardt --- libavcodec/libaribb24.c | 29 + 1 file changed, 9 insertions(+), 20 deletions(-) diff --git a/libavcodec/libaribb24.c b/libavcodec/libaribb24.c index

[FFmpeg-devel] [PATCH 1/4] avcodec/libaribb24, ttmlenc, avutil/tx: Remove redundant init of AVBPrint

2023-09-11 Thread Andreas Rheinhardt
An AVBPrint is initialized via av_bprint_init() (or av_bprint_init_for_buffer()) which expects uninitialized AVBPrints; it is therefore not necessary to zero them before the actual initialization. Signed-off-by: Andreas Rheinhardt --- libavcodec/libaribb24.c | 2 +- libavcodec/ttmlenc.c| 2

[FFmpeg-devel] fix for defect #10531

2023-09-11 Thread Francesco Carusi
I attached a patch for defect [ #10531: vf_drawtext causing font rendering jitter after libharfbuz commit. ] Before the patch the width of a text line was measured up to the rightmost visible pixel of the last character. Pros: the right padding specified with the boxborderw parameter is exact

Re: [FFmpeg-devel] [PATCH] avcodec/8bps: switch to planar RGB formats

2023-09-11 Thread Paul B Mahol
Gonna apply soon. ___ 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] avformat: Inline raw_codec_id where known

2023-09-11 Thread Andreas Rheinhardt
Signed-off-by: Andreas Rheinhardt --- libavformat/aacdec.c | 2 +- libavformat/adxdec.c | 2 +- libavformat/dfpwmdec.c | 2 +- libavformat/gsmdec.c | 2 +- libavformat/loasdec.c | 2 +- libavformat/serdec.c | 2 +- libavformat/wsddec.c | 2 +- 7 files changed, 7 insertions(+), 7

[FFmpeg-devel] [PATCH] avfilter/avfilter: Don't report deprecated pkt_pos

2023-09-11 Thread Andreas Rheinhardt
Signed-off-by: Andreas Rheinhardt --- libavfilter/avfilter.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libavfilter/avfilter.c b/libavfilter/avfilter.c index 23bf8685e9..ab7782862a 100644 --- a/libavfilter/avfilter.c +++ b/libavfilter/avfilter.c @@ -49,10 +49,10 @@

Re: [FFmpeg-devel] Trac spam

2023-09-11 Thread Michael Koch
I see the "Delete selected as Spam" button, but no "Remove registered user" button. Michael ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email

Re: [FFmpeg-devel] [PATCH v3 2/2] libavformat/oggparseopus: Clear existing stream metadata before parsing potentially new one. Fixes: #10363

2023-09-11 Thread Paul B Mahol
Is this real leak as reported by valgrind or similar? ___ 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

Re: [FFmpeg-devel] drawtext filter

2023-09-11 Thread Paul B Mahol
See this bug report: https://trac.ffmpeg.org/ticket/10531 ___ 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

[FFmpeg-devel] [PATCH v5 8/8] lavc/av1: Add unit test for level handling

2023-09-11 Thread fei . w . wang-at-intel . com
From: Fei Wang Signed-off-by: Fei Wang --- libavcodec/tests/.gitignore | 1 + libavcodec/tests/av1_levels.c | 126 ++ tests/fate/libavcodec.mak | 5 ++ 3 files changed, 132 insertions(+) create mode 100644 libavcodec/tests/av1_levels.c diff --git

[FFmpeg-devel] [PATCH v5 6/8] lavc/vaapi_encode: Separate reference frame into previous/future list

2023-09-11 Thread fei . w . wang-at-intel . com
From: Fei Wang To support more reference frames from different directions. Signed-off-by: Fei Wang --- libavcodec/vaapi_encode.c | 112 +--- libavcodec/vaapi_encode.h | 15 +++-- libavcodec/vaapi_encode_h264.c | 94 +--

[FFmpeg-devel] [PATCH v5 7/8] lavc/vaapi_encode: Add VAAPI AV1 encoder

2023-09-11 Thread fei . w . wang-at-intel . com
From: Fei Wang Signed-off-by: Fei Wang --- Update: 1. use AV_PROFILE* instead of deprecated FF_PROFILE*. Changelog | 1 + configure | 3 + doc/encoders.texi | 14 + libavcodec/Makefile | 2 + libavcodec/allcodecs.c|

[FFmpeg-devel] [PATCH v5 5/8] lavc/vaapi_encode: Extract set output pkt property function

2023-09-11 Thread fei . w . wang-at-intel . com
From: Fei Wang Signed-off-by: Fei Wang --- libavcodec/vaapi_encode.c | 65 +++ 1 file changed, 38 insertions(+), 27 deletions(-) diff --git a/libavcodec/vaapi_encode.c b/libavcodec/vaapi_encode.c index 5ae63c9f25..46762342eb 100644 ---

[FFmpeg-devel] [PATCH v5 4/8] lavc/vaapi_encode: Init pic at the beginning of API

2023-09-11 Thread fei . w . wang-at-intel . com
From: Fei Wang Signed-off-by: Fei Wang --- libavcodec/vaapi_encode.c | 5 + 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/libavcodec/vaapi_encode.c b/libavcodec/vaapi_encode.c index 0316fe5c18..5ae63c9f25 100644 --- a/libavcodec/vaapi_encode.c +++ b/libavcodec/vaapi_encode.c

[FFmpeg-devel] [PATCH v5 3/8] avcodec/cbs_av1: Allow specifying obu size byte length

2023-09-11 Thread fei . w . wang-at-intel . com
From: Fei Wang Signed-off-by: Fei Wang --- libavcodec/cbs_av1.c | 30 +- libavcodec/cbs_av1.h | 1 + 2 files changed, 22 insertions(+), 9 deletions(-) diff --git a/libavcodec/cbs_av1.c b/libavcodec/cbs_av1.c index 6c478603f1..4e687ace79 100644 ---

[FFmpeg-devel] [PATCH v5 2/8] cbs: Make tracing more general

2023-09-11 Thread fei . w . wang-at-intel . com
From: Mark Thompson Turn tracing into callbacks for each syntax element, with default callbacks to match current trace_headers behaviour for debug. Move the construction of bit strings into the trace callback, which simplifies all of the read and write functions. Signed-off-by: Fei Wang ---

[FFmpeg-devel] [PATCH v5 1/8] avcodec/cbs_av1: Add tx mode enum values

2023-09-11 Thread fei . w . wang-at-intel . com
From: Fei Wang Signed-off-by: Fei Wang --- libavcodec/av1.h | 7 +++ libavcodec/cbs_av1_syntax_template.c | 4 ++-- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/libavcodec/av1.h b/libavcodec/av1.h index 384f7cddc7..8704bc41c1 100644 ---