Re: [FFmpeg-devel] [Discussion] Releases schedules

2021-09-27 Thread ffmpegandmahanstreamer
September 12, 2021 1:15 PM, "Jean-Baptiste Kempf" wrote: > Hello folks, > > This is a topic that has come regularly on the table, in various discussions > in the community, in > IRL, on IRC and on the mailing list; but also when talking with downstreams > applications and > distributions... >

Re: [FFmpeg-devel] [PATCH] fate/checkasm: add missing tests to FATE

2021-09-27 Thread ffmpegandmahanstreamer
September 27, 2021 9:04 PM, "James Almer" wrote: > Signed-off-by: James Almer > --- > tests/fate/checkasm.mak | 3 +++ > 1 file changed, 3 insertions(+) > > diff --git a/tests/fate/checkasm.mak b/tests/fate/checkasm.mak > index cec6d28286..6e7edbe655 100644 > --- a/tests/fate/checkasm.mak > +++

[FFmpeg-devel] [PATCH 4/4] libswscale/x86/rgb2rgb: add uyvytoyuv422 avx512

2021-09-27 Thread Wu Jianhua
With the accelerating by means of AVX512, the uyvytoyuv422 can be faster. Performance data(Less is better): uyvytoyuv422_avx2 0.27915 uyvytoyuv422_avx5120.16442 Signed-off-by: Wu Jianhua --- libswscale/x86/rgb2rgb.c | 6 ++ libswscale/x86/rgb_2_rgb.asm | 17

[FFmpeg-devel] [PATCH 3/4] libswscale/x86/rgb2rgb: add uyvytoyuv422 avx2

2021-09-27 Thread Wu Jianhua
With the accelerating by means of AVX2, the uyvytoyuv422 can be faster Performance data(Less is better): uyvytoyuv422_sse20.49381 uyvytoyuv422_avx 0.42981 uyvytoyuv422_avx20.27915 Signed-off-by: Wu Jianhua --- libswscale/x86/rgb2rgb.c | 6 +

[FFmpeg-devel] [PATCH 2/4] libswscale/x86/rgb2rgb: add shuffle_bytes avx512

2021-09-27 Thread Wu Jianhua
Performance data(Less is better): shuffle_bytes_avx2 0.94288 shuffle_bytes_avx5120.60049 Signed-off-by: Wu Jianhua --- libswscale/x86/rgb2rgb.c | 13 + libswscale/x86/rgb_2_rgb.asm | 8 2 files changed, 21 insertions(+) diff --git

[FFmpeg-devel] [PATCH 1/4] libswscale/x86/rgb2rgb: add shuffle_bytes avx2

2021-09-27 Thread Wu Jianhua
Performance data(Less is better): shuffle_bytes_ssse3 3.64654 shuffle_bytes_avx20.94288 Signed-off-by: Wu Jianhua --- libswscale/x86/rgb2rgb.c | 17 +++-- libswscale/x86/rgb_2_rgb.asm | 11 +++ 2 files changed, 26 insertions(+), 2 deletions(-) diff --git

Re: [FFmpeg-devel] [PATCH 2/2] avcodec/siren: Check available bits at frame start

2021-09-27 Thread James Almer
On 9/27/2021 7:37 PM, Michael Niedermayer wrote: Fixes: Timeout Fixes: 39089/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_MSNSIREN_fuzzer-6677219854909440 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael

Re: [FFmpeg-devel] [PATCH v5 4/4] avformat/mpegts: Refactor DOVI descriptor parsing to use ff_isom_parse_dvcc_dvvc

2021-09-27 Thread quietvoid
On 27/09/2021 19.16, quietvoid wrote: Also fixes incorrect parsing of dv_bl_signal_compatibility_id, which was often set to zero instead of the actual value, for mpegts only. Signed-off-by: quietvoid --- libavformat/mpegts.c | 43 +++ 1 file changed,

[FFmpeg-devel] [PATCH] fate/checkasm: add missing tests to FATE

2021-09-27 Thread James Almer
Signed-off-by: James Almer --- tests/fate/checkasm.mak | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/fate/checkasm.mak b/tests/fate/checkasm.mak index cec6d28286..6e7edbe655 100644 --- a/tests/fate/checkasm.mak +++ b/tests/fate/checkasm.mak @@ -18,6 +18,7 @@ FATE_CHECKASM =

[FFmpeg-devel] [PATCH v5 3/4] avformat/mov: Refactor DOVI box parsing to use ff_isom_parse_dvcc_dvvc

2021-09-27 Thread quietvoid
Read at most 24 bytes, but in reality only 5 bytes are used for parsing. The rest of the bytes are reserved in the specification. Signed-off-by: quietvoid --- libavformat/mov.c | 50 +-- 1 file changed, 9 insertions(+), 41 deletions(-) diff --git

[FFmpeg-devel] [PATCH v5 4/4] avformat/mpegts: Refactor DOVI descriptor parsing to use ff_isom_parse_dvcc_dvvc

2021-09-27 Thread quietvoid
Also fixes incorrect parsing of dv_bl_signal_compatibility_id, which was often set to zero instead of the actual value, for mpegts only. Signed-off-by: quietvoid --- libavformat/mpegts.c | 43 +++ 1 file changed, 3 insertions(+), 40 deletions(-) diff

[FFmpeg-devel] [PATCH v5 2/4] avformat/matroska{dec, enc}: Parse BlockAdditionMapping elements

2021-09-27 Thread quietvoid
Adds handling of dvcC/dvvC block addition mappings. The parsing creates AVDOVIDecoderConfigurationRecord side data for the video track. The configuration block is written when muxing into MKV if DOVI side data is present for the track. In version 2.2 of the Dolby ISOM specification, there is

[FFmpeg-devel] [PATCH v5 1/4] avformat/dovi_isom: Implement Dolby Vision configuration parsing/writing

2021-09-27 Thread quietvoid
According to specification "Dolby Vision Stream Within the ISO Base Media File Format Version 2.2" This only adds support for the "Dolby Vision configuration box". Other configuration boxes such as "Dolby Vision enhancement layer configuration box" are not supported. The new functions will be

[FFmpeg-devel] [PATCH v2] avformat/aacdec: enable probesize-sized resyncs mid-stream

2021-09-27 Thread Jan Ekström
Before adts_aac_resync would always bail out after probesize amount of bytes had been progressed from the start of the input. Now just query the current position when entering resync, and at most advance probesize amount of data from that start position. Fixes #9433 --- libavformat/aacdec.c | 4

[FFmpeg-devel] [PATCH 1/2] avcodec/apedec: Fix undefined integer overflow in long_filter_ehigh_3830()

2021-09-27 Thread Michael Niedermayer
Fixes: signed integer overflow: -2145648640 - 3357696 cannot be represented in type 'int' Fixes: 38899/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_APE_fuzzer-5358815017566208 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg

[FFmpeg-devel] [PATCH 2/2] avcodec/siren: Check available bits at frame start

2021-09-27 Thread Michael Niedermayer
Fixes: Timeout Fixes: 39089/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_MSNSIREN_fuzzer-6677219854909440 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer --- libavcodec/siren.c | 3 +++ 1 file changed,

Re: [FFmpeg-devel] [PATCH] avformat/aacdec: enable probesize-sized resyncs mid-file

2021-09-27 Thread Jan Ekström
On Tue, Sep 28, 2021 at 1:34 AM James Almer wrote: > > On 9/27/2021 6:31 PM, Jan Ekström wrote: > > Before adts_aac_resync would always bail out after probesize amount > > of bytes had been progressed from the start of the input. > > > > Add an argument for the start position, and set it to zero

Re: [FFmpeg-devel] [PATCH] avformat/aacdec: enable probesize-sized resyncs mid-file

2021-09-27 Thread James Almer
On 9/27/2021 6:31 PM, Jan Ekström wrote: Before adts_aac_resync would always bail out after probesize amount of bytes had been progressed from the start of the input. Add an argument for the start position, and set it to zero when reading the header (which should happen in the beginning) to

[FFmpeg-devel] [PATCH] avformat/aacdec: enable probesize-sized resyncs mid-file

2021-09-27 Thread Jan Ekström
Before adts_aac_resync would always bail out after probesize amount of bytes had been progressed from the start of the input. Add an argument for the start position, and set it to zero when reading the header (which should happen in the beginning) to mimic previous behavior of going only up to

Re: [FFmpeg-devel] [PATCH v2 1/2] avfilter/palettegen, paletteuse: Extend the palette conversion filters to support palettes with alpha

2021-09-27 Thread Michael Niedermayer
On Sun, Sep 26, 2021 at 05:22:59PM +, Soft Works wrote: > Usage example: > > ffmpeg -y -loglevel verbose -i "..\fate-suite\apng\o_sample.png" > -filter_complex > "split[split1][split2];[split1]palettegen=max_colors=254:use_alpha=1[pal1];[split2][pal1]paletteuse=use_alpha=1" > -frames:v 1

Re: [FFmpeg-devel] [PATCH] ffmpeg: fix loosing gaps between audio frame timestamps when filtering

2021-09-27 Thread Paul B Mahol
will 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".

Re: [FFmpeg-devel] [PATCH] avfilter/elbg: Extend filter to include alpha values in the quantization procedure

2021-09-27 Thread Paul B Mahol
On Mon, Sep 27, 2021 at 5:30 PM Michael Niedermayer wrote: > On Sun, Sep 26, 2021 at 05:56:36PM +, Soft Works wrote: > > > > > > > -Original Message- > > > From: ffmpeg-devel On Behalf Of > > > Michael Niedermayer > > > Sent: Sunday, 26 September 2021 18:52 > > > To: FFmpeg

Re: [FFmpeg-devel] [PATCH] avfilter/elbg: Extend filter to include alpha values in the quantization procedure

2021-09-27 Thread Michael Niedermayer
On Sun, Sep 26, 2021 at 05:56:36PM +, Soft Works wrote: > > > > -Original Message- > > From: ffmpeg-devel On Behalf Of > > Michael Niedermayer > > Sent: Sunday, 26 September 2021 18:52 > > To: FFmpeg development discussions and patches > de...@ffmpeg.org> > > Subject: Re:

Re: [FFmpeg-devel] [PATCH] avfilter/frames: Ensure frames are writable when processing in-place

2021-09-27 Thread Soft Works
> -Original Message- > From: ffmpeg-devel On Behalf Of > Soft Works > Sent: Monday, 27 September 2021 14:12 > To: FFmpeg development discussions and patches de...@ffmpeg.org> > Subject: Re: [FFmpeg-devel] [PATCH] avfilter/frames: Ensure frames > are writable when processing in-place >

Re: [FFmpeg-devel] [PATCH] avfilter/frames: Ensure frames are writable when processing in-place

2021-09-27 Thread Soft Works
> -Original Message- > From: ffmpeg-devel On Behalf Of > Nicolas George > Sent: Monday, 27 September 2021 14:10 > To: FFmpeg development discussions and patches de...@ffmpeg.org> > Subject: Re: [FFmpeg-devel] [PATCH] avfilter/frames: Ensure frames > are writable when processing

Re: [FFmpeg-devel] [PATCH] avfilter/frames: Ensure frames are writable when processing in-place

2021-09-27 Thread Nicolas George
Soft Works (12021-09-27): > With the introduction of subtitle filtering, subsequent video frames > which are sharing the same data won't be as rare as this happened > to occur yet. > Ensuring per-frame uniqueness when data is modified is not only important > to avoid issues in the future, but a

Re: [FFmpeg-devel] [PATCH] avfilter/frames: Ensure frames are writable when processing in-place

2021-09-27 Thread Soft Works
> -Original Message- > From: ffmpeg-devel On Behalf Of > Soft Works > Sent: Monday, 27 September 2021 14:07 > To: ffmpeg-devel@ffmpeg.org > Subject: [FFmpeg-devel] [PATCH] avfilter/frames: Ensure frames are > writable when processing in-place > > With the introduction of subtitle

[FFmpeg-devel] [PATCH] avfilter/frames: Ensure frames are writable when processing in-place

2021-09-27 Thread Soft Works
With the introduction of subtitle filtering, subsequent video frames which are sharing the same data won't be as rare as this happened to occur yet. Ensuring per-frame uniqueness when data is modified is not only important to avoid issues in the future, but a common API requirement anyway.

Re: [FFmpeg-devel] [PATCH v4 2/4] avformat/matroska{dec, enc} Parse BlockAdditionMapping elements

2021-09-27 Thread Andreas Rheinhardt
quietvoid: >> quietvoid: >>> Adds handling of dvcC/dvvC block addition mappings. >>> The parsing creates AVDOVIDecoderConfigurationRecord side data for >>> the video track. >>> The configuration block is written when muxing into MKV if DOVI side >>> data is present for the track. >>> >>> In

Re: [FFmpeg-devel] [PATCH v4 2/4] avformat/matroska{dec, enc} Parse BlockAdditionMapping elements

2021-09-27 Thread quietvoid
quietvoid: Adds handling of dvcC/dvvC block addition mappings. The parsing creates AVDOVIDecoderConfigurationRecord side data for the video track. The configuration block is written when muxing into MKV if DOVI side data is present for the track. In version 2.2 of the Dolby ISOM

Re: [FFmpeg-devel] [PATCH] avcodec/videotoolboxenc: Fixes non-B-Frame encoding

2021-09-27 Thread Rick Kern
On Sun, Sep 26, 2021 at 8:48 AM NoHalfBits wrote: > Sets vtctx->has_b_frames to 0 if the VideoToolbox compression > session will not emit B-frames (and, in consequence, no valid > DTSs). Required for the handling of invalid DTSs in > 'vtenc_cm_to_avpacket' (line 2018ff) to work correctly and not

Re: [FFmpeg-devel] [PATCH v3 0/5] Support for stream dispositions in MP4

2021-09-27 Thread Jan Ekström
On Mon, Sep 20, 2021 at 6:00 PM Jan Ekström wrote: > > Compared to v2: > * aviobuf changes to make a function useful in MP4 null-delimited string > parsing into AVBPrint. > ** Extended read_line_to_bprint to be a more generic read_string_to_bprint. > ** Added a maximum length argument to

Re: [FFmpeg-devel] [PATCH 1/6] avcodec/qsvenc: Fix leak and crash when encoding H.264 due to A53_CC

2021-09-27 Thread Xiang, Haihao
On Mon, 2021-09-27 at 10:21 +0200, Andreas Rheinhardt wrote: > Xiang, Haihao: > > On Sun, 2021-09-26 at 08:32 +0200, Andreas Rheinhardt wrote: > > > Since commit 3bbe0c210b05fc6fbd7b1d4bbd8479db7f2cf957, the Payloads > > > array of every QSVFrame leaks as soon as the frame is reused; > > > the

Re: [FFmpeg-devel] [PATCH 1/6] avcodec/qsvenc: Fix leak and crash when encoding H.264 due to A53_CC

2021-09-27 Thread Andreas Rheinhardt
Xiang, Haihao: > On Sun, 2021-09-26 at 08:32 +0200, Andreas Rheinhardt wrote: >> Since commit 3bbe0c210b05fc6fbd7b1d4bbd8479db7f2cf957, the Payloads >> array of every QSVFrame leaks as soon as the frame is reused; >> the leak is small and not very noticeable, but if there is an attempt >> to use

Re: [FFmpeg-devel] [PATCH 1/6] avcodec/qsvenc: Fix leak and crash when encoding H.264 due to A53_CC

2021-09-27 Thread Xiang, Haihao
On Sun, 2021-09-26 at 08:32 +0200, Andreas Rheinhardt wrote: > Since commit 3bbe0c210b05fc6fbd7b1d4bbd8479db7f2cf957, the Payloads > array of every QSVFrame leaks as soon as the frame is reused; > the leak is small and not very noticeable, but if there is an attempt > to use said array the ensuing

Re: [FFmpeg-devel] [PATCH 1/4] libavfilter/x86/vf_hflip: add ff_flip_byte/short_avx512()

2021-09-27 Thread Paul B Mahol
On Mon, Sep 27, 2021 at 8:48 AM Wu, Jianhua wrote: > Ping. > Jianhua wrote: > > > > Ping. > > > > Jianhua wrote: > > > From: ffmpeg-devel On Behalf Of > > Wu, > > > Jianhua > > > Sent: Tuesday, September 14, 2021 1:02 PM > > > To: FFmpeg development discussions and patches > >

Re: [FFmpeg-devel] [PATCH 1/4] libavfilter/x86/vf_hflip: add ff_flip_byte/short_avx512()

2021-09-27 Thread Wu, Jianhua
Ping. Jianhua wrote: > > Ping. > > Jianhua wrote: > > From: ffmpeg-devel On Behalf Of > Wu, > > Jianhua > > Sent: Tuesday, September 14, 2021 1:02 PM > > To: FFmpeg development discussions and patches > de...@ffmpeg.org> > > Subject: Re: [FFmpeg-devel] [PATCH 1/4] libavfilter/x86/vf_hflip: add