[FFmpeg-devel] [PATCH] avcodec/ac3dec: downmix for 7.1 eac3

2022-09-20 Thread Paul B Mahol
Patch attached. From 3f33e226b36a0a186e070d743d2c5686c5995a0e Mon Sep 17 00:00:00 2001 From: Paul B Mahol Date: Tue, 20 Sep 2022 17:07:15 +0200 Subject: [PATCH] avcodec/ac3dec: add downmix support for mono and stereo for eac3 7.1 Signed-off-by: Paul B Mahol --- libavcodec/ac3dec.c | 55

Re: [FFmpeg-devel] [PATCH 2/2] MAINTAINERS: remove the project leader section

2022-09-20 Thread Paul B Mahol
On 9/20/22, Anton Khirnov wrote: > The position does not exist anymore. > --- > MAINTAINERS | 6 -- > 1 file changed, 6 deletions(-) > > diff --git a/MAINTAINERS b/MAINTAINERS > index 4f94d662db..eebfa5cfb7 100644 > --- a/MAINTAINERS > +++ b/MAINTAINERS > @@ -11,12 +11,6 @@ A (CC ) after the

Re: [FFmpeg-devel] [PATCH 1/2] avformat/aiffdec: Check block_duration

2022-09-17 Thread Paul B Mahol
On 9/17/22, Michael Niedermayer wrote: > Fixes: signed integer overflow: 3 * -2147483648 cannot be represented in > type 'int' > Fixes: > 50993/clusterfuzz-testcase-minimized-ffmpeg_dem_AIFF_fuzzer-6668935979728896 > > Found-by: continuous fuzzing process >

Re: [FFmpeg-devel] [PATCH 2/2] avformat/aiffdec: Use 64bit for block_duration use

2022-09-17 Thread Paul B Mahol
On 9/17/22, Michael Niedermayer wrote: > Fixes: signed integer overflow: 3 * -2147483648 cannot be represented in > type 'int' > Fixes: > 50993/clusterfuzz-testcase-minimized-ffmpeg_dem_AIFF_fuzzer-6668935979728896 > > Found-by: continuous fuzzing process >

[FFmpeg-devel] [PATCH] avcodec/mlpdec: relax channel checking

2022-09-17 Thread Paul B Mahol
Patch attached. From 5be1fbb848b50e02d302873653e94ed77dea861c Mon Sep 17 00:00:00 2001 From: Paul B Mahol Date: Sat, 17 Sep 2022 14:08:58 +0200 Subject: [PATCH] avcodec/mlpdec: relax channels checking Internal TrueHD decoder channel rematrix can mix 2 stereo substreams into single mono stream

Re: [FFmpeg-devel] [PATCH] avcodec/tiff: Fix loop detection

2022-09-16 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/3] swscale/output: Don't call av_pix_fmt_desc_get() in a loop

2022-09-16 Thread Paul B Mahol
On 9/8/22, Andreas Rheinhardt wrote: > Up until now, libswscale/output.c used a macro to write > an output pixel which involved a call to av_pix_fmt_desc_get() > to find out whether the input pixel format is BE or LE > despite this being known at compile-time (there are templates > per pixfmt).

Re: [FFmpeg-devel] [PATCH 1/2] avcodec/adx: Move ff_adx_decode_header() to adxdec.c

2022-09-16 Thread Paul B Mahol
On 9/16/22, Andreas Rheinhardt wrote: > Possible since 9325d88eba8038b3e2a4485e473a018410379e2d. > > Signed-off-by: Andreas Rheinhardt > --- > libavcodec/adx.c| 52 -- > libavcodec/adxdec.c | 68 +++-- > 2 files

Re: [FFmpeg-devel] [PATCH 2/2] avcodec/Makefile: Remove obsolete adx_parser->adx.c dependency

2022-09-16 Thread Paul B Mahol
On 9/16/22, Andreas Rheinhardt wrote: > Obsolete since b024209b1fe57b7902d30a8e0d38f5ecb628e6f3. > > Signed-off-by: Andreas Rheinhardt > --- > libavcodec/Makefile | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > LGTM > diff --git a/libavcodec/Makefile b/libavcodec/Makefile > index

Re: [FFmpeg-devel] [PATCH] MAINTAINERS: add maintainer for the imf demuxer

2022-09-16 Thread Paul B Mahol
; > idcin.c Mike Melanson >> > idroqdec.cMike Melanson >> > iff.c Jaikrishnan Menon >> > + imf* Pierre-Anthony Lemieux >> > img2*.c Mi

Re: [FFmpeg-devel] [PATCH] avcodec: Micronas SC-4 decoder and parser

2022-09-15 Thread Paul B Mahol
On 9/10/22, Paul B Mahol wrote: > Patches attached. > 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...@ffmp

Re: [FFmpeg-devel] [PATCH] avformat: add Limitless Audio Format demuxer

2022-09-15 Thread Paul B Mahol
On 9/12/22, Paul B Mahol wrote: > On 9/12/22, Paul B Mahol wrote: >> Patch attached. >> > > Updated patch attached. > Will apply soon. ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailm

Re: [FFmpeg-devel] [PATCH] avcodec/adpcmenc: Round up required buffer size

2022-09-15 Thread Paul B Mahol
On 9/15/22, Andreas Rheinhardt wrote: > Otherwise the buffer might be too small. Fixes assert violations > when encoding mono audio with exactly one sample. > > Signed-off-by: Andreas Rheinhardt > --- > libavcodec/adpcmenc.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git

[FFmpeg-devel] [PATCH] avcodec/mlpdec: fix decoding of overlapping channels in substreams

2022-09-15 Thread Paul B Mahol
Patch attached. There are cases when previously decoded substreams would, if they have overlapping channels with final substream, cause incorrect decoding results. From adf5fd3bdb397f88a52d7ce0cf76491a55d33eef Mon Sep 17 00:00:00 2001 From: Paul B Mahol Date: Thu, 15 Sep 2022 16:14:08 +0200

Re: [FFmpeg-devel] [PATCH] avfilter/vf_drawbox: use the correct macro to fill rgb plane pointers

2022-09-15 Thread Paul B Mahol
On 9/15/22, James Almer wrote: > Fixes ticket #9924 > > Signed-off-by: James Almer > --- > libavfilter/vf_drawbox.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/libavfilter/vf_drawbox.c b/libavfilter/vf_drawbox.c > index 65bd039d65..64ce12 100644 > ---

Re: [FFmpeg-devel] Bug in VMAF calculation for 10 bit comparison

2022-09-14 Thread Paul B Mahol
On 9/14/22, christian.feldm...@gmx.de wrote: > Hi, > > I was debugging some VMAF calculation in ffmpeg when I stumbled on this bug > in the latest master commit (9450f759748d02d1d284d2e4afd741cb0fe0c04a). Its > in libavfilter/vf_libvmaf.c::109. The function copy_picture_data does only > work

[FFmpeg-devel] [PATCH] float in tiff

2022-09-14 Thread Paul B Mahol
Patches attached. From 624514b681886ac340b76202b857a0870b7bc65d Mon Sep 17 00:00:00 2001 From: Paul B Mahol Date: Wed, 14 Sep 2022 14:09:02 +0200 Subject: [PATCH 1/4] avutil: add RGB single-precision float formats Signed-off-by: Paul B Mahol --- libavutil/pixdesc.c | 25

Re: [FFmpeg-devel] [PATCH v4 1/2] libavcodec/flacdec: Implement decoding of 32 bit-per-sample PCM

2022-09-14 Thread Paul B Mahol
On 9/14/22, Martijn van Beurden wrote: > Op wo 14 sep. 2022 om 15:03 schreef Andreas Rheinhardt < > andreas.rheinha...@outlook.com>: > >> > --- a/libavcodec/flacdec.c >> > +++ b/libavcodec/flacdec.c >> > @@ -64,6 +64,9 @@ typedef struct FLACContext { >> > int32_t *decoded[FLAC_MAX_CHANNELS];

Re: [FFmpeg-devel] [PATCH] Bonk, Bonk

2022-09-14 Thread Paul B Mahol
On 9/12/22, Martijn van Beurden wrote: > Op wo 7 sep. 2022 om 19:59 schreef Paul B Mahol : > >> Patches attached. >> >> Could decoder be made faster? >> >> > Haven't reviewed, but great to have another codec added. Concerning the > speed, as far as

Re: [FFmpeg-devel] [PATCH 2/3] avutil/dict: Improve appending values

2022-09-14 Thread Paul B Mahol
On 9/13/22, Andreas Rheinhardt wrote: > When appending two values (due to AV_DICT_APPEND), the earlier code > would first zero-allocate a buffer of the required size and then > copy both parts into it via av_strlcat(). This is problematic, > as it leads to quadratic performance in case of

Re: [FFmpeg-devel] [PATCH 1/3] avutil/dict: Fix memleak when using AV_DICT_APPEND

2022-09-14 Thread Paul B Mahol
On 9/13/22, Andreas Rheinhardt wrote: > If a key already exists in an AVDictionary and the AV_DICT_APPEND flag > is set, the old entry is at first discarded from the dictionary, but > a pointer to the value is kept. Lateron enough memory to store the > appended string is allocated; should this

Re: [FFmpeg-devel] [PATCH] avformat/dump: Avoid unnecessary implicit calculation of strlen

2022-09-14 Thread Paul B Mahol
On 9/14/22, Andreas Rheinhardt wrote: > av_strlcpy() returns the length of the src string to enable > the caller to check for truncation. It is currently used in > the following way in dump_metadata(): Every metadata value > is searched for \b, \n, \v, \f, \r and then the data up to > the first

Re: [FFmpeg-devel] [PATCH 3/3] avutil/dict: Avoid check whose result is known in advance

2022-09-13 Thread Paul B Mahol
On 9/13/22, Andreas Rheinhardt wrote: > We know that an AVDictionary is not empty if we have just added > an entry to it, so only check for it being empty on the branch > that does not do so. > > Signed-off-by: Andreas Rheinhardt > --- > libavutil/dict.c | 8 > 1 file changed, 4

[FFmpeg-devel] [PATCH] avcodec/tak*: use cached bitstream reader on !x86_32

2022-09-13 Thread Paul B Mahol
Patch attached From fce08a8582169c44dc3a08a956897ccb36731822 Mon Sep 17 00:00:00 2001 From: Paul B Mahol Date: Tue, 13 Sep 2022 14:38:18 +0200 Subject: [PATCH] avcodec/tak*: use cached bitstream reader on !x86_32 Increases single thread decoding speed in one example from 85x to 90x Signed-off

Re: [FFmpeg-devel] [PATCH] fftools/ffmpeg: Fix EOF pts for libavfilter in send_filter_eof()

2022-09-13 Thread Paul B Mahol
On 9/11/22, Li-Heng Chen wrote: > When input is video bitstream (e.g. *.264) with framerate set by -r, > ist->pts could be a nonsense value. > > In libavfilter/vf_fps, the pts value of EOF from above is compared to pts > derived from inlink. The wrong EOF pts may trigger a bug, where ffmpeg keeps

Re: [FFmpeg-devel] [PATCH] avcodec/x86/audiodsp: add scalarproduct avx2

2022-09-13 Thread Paul B Mahol
On 9/13/22, Paul B Mahol wrote: > On 9/12/22, Paul B Mahol wrote: >> Patch attached. >> >> How to get more speed? >> > > Thanks for review, updated patch attached. > Fixed patch from Andreas review attached. From aa3cbb9d792d18c1756d00138925382eab924804 M

Re: [FFmpeg-devel] [PATCH] avcodec/flac_parser: fix triggered assert

2022-09-13 Thread Paul B Mahol
On 9/8/22, Paul B Mahol wrote: > Patch attached. > 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...@ffmp

Re: [FFmpeg-devel] [PATCH] avcodec/x86/audiodsp: add scalarproduct avx2

2022-09-13 Thread Paul B Mahol
On 9/12/22, Paul B Mahol wrote: > Patch attached. > > How to get more speed? > Thanks for review, updated patch attached. From 2a5bab90b863c7cc9dbbb4d3d3021bec8ab09843 Mon Sep 17 00:00:00 2001 From: Paul B Mahol Date: Mon, 12 Sep 2022 18:53:31 +0200 Subject: [PATCH] avcodec/x86/a

Re: [FFmpeg-devel] [PATCH] avformat: add Limitless Audio Format demuxer

2022-09-12 Thread Paul B Mahol
On 9/13/22, Andreas Rheinhardt wrote: > Paul B Mahol: >> +case 3: >> +for (int n = 0; n < st->codecpar->sample_rate; n++) >> +AV_WL24(pkt->data + n * 3, AV_RL24(s->data + n * s->nb_stored >> * 3 + s->stored_index * 3));

Re: [FFmpeg-devel] [PATCH] avcodec/bonk: Actually clip when using av_clip()

2022-09-12 Thread Paul B Mahol
On 9/12/22, Andreas Rheinhardt wrote: > Also fixes a "statement with no effect [-Wunused-value]" > warning from GCC. > > Signed-off-by: Andreas Rheinhardt > --- > libavcodec/bonk.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/libavcodec/bonk.c b/libavcodec/bonk.c >

Re: [FFmpeg-devel] [PATCH] avformat: add Limitless Audio Format demuxer

2022-09-12 Thread Paul B Mahol
On 9/12/22, Paul B Mahol wrote: > Patch attached. > Updated patch attached. From 33efa252db96d9eac7f162f17b22c1cd8b3b1c14 Mon Sep 17 00:00:00 2001 From: Paul B Mahol Date: Sun, 11 Sep 2022 20:10:27 +0200 Subject: [PATCH] avformat: add LAF demuxer Signed-off-by: Paul B Mahol --- libav

[FFmpeg-devel] [PATCH] avcodec/x86/audiodsp: add scalarproduct avx2

2022-09-12 Thread Paul B Mahol
Patch attached. How to get more speed? From 55eb5a18b4bf029f52f9d9108a750c576ba780ee Mon Sep 17 00:00:00 2001 From: Paul B Mahol Date: Mon, 12 Sep 2022 18:53:31 +0200 Subject: [PATCH] avcodec/x86/audiodsp: add scalarproduct avx2 Signed-off-by: Paul B Mahol --- libavcodec/x86/audiodsp.asm

[FFmpeg-devel] [PATCH] avutil/x86/float_dsp: add fma3 for scalarproduct

2022-09-12 Thread Paul B Mahol
Patch attached. From f7c47b8eefa1c06a74d17f13b4e9010785dc6430 Mon Sep 17 00:00:00 2001 From: Paul B Mahol Date: Wed, 20 Jan 2021 16:58:31 +0100 Subject: [PATCH] avutil/x86/float_dsp: add fma3 for scalarproduct Signed-off-by: Paul B Mahol --- libavutil/x86/float_dsp.asm| 127

[FFmpeg-devel] [PATCH] avformat: add Limitless Audio Format demuxer

2022-09-12 Thread Paul B Mahol
Patch attached. From d867b825507b5f38a051dd0ccf4612b7570a2088 Mon Sep 17 00:00:00 2001 From: Paul B Mahol Date: Sun, 11 Sep 2022 20:10:27 +0200 Subject: [PATCH] avformat: add LAF demuxer Signed-off-by: Paul B Mahol --- libavformat/Makefile | 1 + libavformat/allformats.c | 1

Re: [FFmpeg-devel] [PATCH] Bonk, Bonk

2022-09-11 Thread Paul B Mahol
On 9/7/22, Paul B Mahol wrote: > Patches attached. > > Could decoder be made faster? > Will apply soon. ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link abo

Re: [FFmpeg-devel] [PATCH] avcodec: Micronas SC-4 decoder and parser

2022-09-10 Thread Paul B Mahol
On 9/10/22, Paul B Mahol wrote: > On 9/10/22, James Almer wrote: >> On 9/10/2022 4:11 PM, Paul B Mahol wrote: >>> On 9/10/22, James Almer wrote: >>>> On 9/10/2022 3:27 PM, Paul B Mahol wrote: >>>>> Patches attached. >>>> >&

Re: [FFmpeg-devel] [PATCH] avcodec: Micronas SC-4 decoder and parser

2022-09-10 Thread Paul B Mahol
On 9/10/22, James Almer wrote: > On 9/10/2022 4:11 PM, Paul B Mahol wrote: >> On 9/10/22, James Almer wrote: >>> On 9/10/2022 3:27 PM, Paul B Mahol wrote: >>>> Patches attached. >>> >>> This looks like it would fit in adpcm.c as an ADPCM cod

Re: [FFmpeg-devel] [PATCH] avcodec: Micronas SC-4 decoder and parser

2022-09-10 Thread Paul B Mahol
On 9/10/22, James Almer wrote: > On 9/10/2022 3:27 PM, Paul B Mahol wrote: >> Patches attached. > > This looks like it would fit in adpcm.c as an ADPCM codec. Nope > ___ > ffmpeg-devel mailing list > ffmpeg-devel@ffmpeg.

[FFmpeg-devel] [PATCH] avcodec: Micronas SC-4 decoder and parser

2022-09-10 Thread Paul B Mahol
Patches attached. From 9a85823ed8a616491b9da280f75e03103eb7d38f Mon Sep 17 00:00:00 2001 From: Paul B Mahol Date: Thu, 8 Sep 2022 20:44:49 +0200 Subject: [PATCH 1/2] avcodec: add MI-SC4 audio decoder Signed-off-by: Paul B Mahol --- libavcodec/Makefile | 1 + libavcodec/allcodecs.c | 1

Re: [FFmpeg-devel] [PATCH v4 0/2] 32bps FLAC patches

2022-09-10 Thread Paul B Mahol
On Sat, Sep 10, 2022 at 12:33 PM Martijn van Beurden wrote: > Op za 3 sep. 2022 om 11:21 schreef Martijn van Beurden : > > > Recently libFLAC gained the ability (not in any released version yet > > though) to create FLAC files containing 32-bit int PCM samples. To > > keep complexity reasonable,

[FFmpeg-devel] [PATCH] avcodec/flac_parser: fix triggered assert

2022-09-08 Thread Paul B Mahol
Patch attached. From a726d0a26c9f60d65167a83789f9c222cfda5728 Mon Sep 17 00:00:00 2001 From: Paul B Mahol Date: Thu, 8 Sep 2022 09:59:09 +0200 Subject: [PATCH] avcodec/flac_parser: avoid returning too negative number If return value is very small parser code will assert. Signed-off-by: Paul B

Re: [FFmpeg-devel] [PATCH] avcodec: Vorbis decode: don't use a flag to determine if frames have been output

2022-09-08 Thread Paul B Mahol
On 9/8/22, jyrk...@nekonyansoft.com wrote: > From: Jyrki Vesterinen > > If a developer using FFmpeg libraries seeks into an earlier position and > calls > avcodec_flush_buffers() afterwards as recommended, the Vorbis decoder will > drop > the next frame, since buffer flushing clears the

Re: [FFmpeg-devel] [PATCH] avcodec: Vorbis decode: don't use a flag to determine if frames have been output

2022-09-08 Thread Paul B Mahol
On Thu, Sep 8, 2022 at 10:26 AM wrote: > From: Jyrki Vesterinen > > If a developer using FFmpeg libraries seeks into an earlier position and > calls > avcodec_flush_buffers() afterwards as recommended, the Vorbis decoder will > drop > the next frame, since buffer flushing clears the first_frame

[FFmpeg-devel] [PATCH] Bonk, Bonk

2022-09-07 Thread Paul B Mahol
Patches attached. Could decoder be made faster? From 65a3956af251d296d88181db26fdfc8510be7031 Mon Sep 17 00:00:00 2001 From: Paul B Mahol Date: Wed, 7 Sep 2022 14:01:42 +0200 Subject: [PATCH 2/2] avformat: add bonk demuxer Signed-off-by: Paul B Mahol --- libavformat/Makefile | 1

Re: [FFmpeg-devel] [PATCH] avocdec/flac_parser: another fix

2022-09-07 Thread Paul B Mahol
On Wed, Sep 7, 2022 at 12:31 PM Mattias Wadman wrote: > On Mon, Sep 5, 2022 at 8:16 PM Paul B Mahol wrote: > > > Patch attached. > > > > Thanks and can confirm that the patch produces the same samples as the flac > reference decoder for the original file in > https

Re: [FFmpeg-devel] [PATCH] speexdec fix

2022-09-06 Thread Paul B Mahol
On Tue, Sep 6, 2022 at 9:57 AM Anton Khirnov wrote: > Quoting Paul B Mahol (2022-09-03 18:24:51) > > Patch attached. > > > > From 6a90e5d582ba2fc3a08fb08fb1b5f3f38d315b3f Mon Sep 17 00:00:00 2001 > > From: Paul B Mahol > > Date: Sat, 3 Sep 2022 18:17:23 +

[FFmpeg-devel] [PATCH] avocdec/flac_parser: another fix

2022-09-05 Thread Paul B Mahol
Patch attached. From 01e931d2c7f50727d8893268cdc3ae0dbe75c250 Mon Sep 17 00:00:00 2001 From: Paul B Mahol Date: Mon, 5 Sep 2022 20:16:13 +0200 Subject: [PATCH] avcodec/flac_parser: add missed opportunity to check crc Fixes #9621 Signed-off-by: Paul B Mahol --- libavcodec/flac_parser.c | 11

[FFmpeg-devel] [PATCH] avcodec/flac_parser: ensure there are more headers for scoring

2022-09-05 Thread Paul B Mahol
Patch attached. From 81656532bdf649b43e3ac777637433b033b56d03 Mon Sep 17 00:00:00 2001 From: Paul B Mahol Date: Mon, 5 Sep 2022 18:12:10 +0200 Subject: [PATCH] avcodec/flac_parser: ensure there are more headers for scoring Previously invalid frame may be returned, happened when seeking. Fixes

Re: [FFmpeg-devel] [PATCH 5/5] avcodec/cfhddata: Reduce stack usage

2022-09-05 Thread Paul B Mahol
On Sat, Sep 3, 2022 at 11:56 PM Andreas Rheinhardt < andreas.rheinha...@outlook.com> wrote: > Paul B Mahol: > > The FATE does not cover 9 (old) codebook, so make sure it is still > working. > > > > It's CRC checksum didn't change in patches 2-5

[FFmpeg-devel] [PATCH] avcodec/flac: critical fix

2022-09-04 Thread Paul B Mahol
Another critical fix for decoder. From e61c05f721eee756739ba7cd864486ea9704b3c9 Mon Sep 17 00:00:00 2001 From: Paul B Mahol Date: Sun, 4 Sep 2022 20:50:16 +0200 Subject: [PATCH] avcodec/flac: smallest frame is 10 bytes Fixes #9270 Signed-off-by: Paul B Mahol --- libavcodec/flac.h| 2

Re: [FFmpeg-devel] [PATCH 5/5] avcodec/cfhddata: Reduce stack usage

2022-09-03 Thread Paul B Mahol
The FATE does not cover 9 (old) codebook, so make sure it is still working. ___ 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

[FFmpeg-devel] [PATCH] avcodec: flac x86 asm fix

2022-09-03 Thread Paul B Mahol
Patch attached. From 0f220489eb6402c6be3bc1d897c95fa9bc10431c Mon Sep 17 00:00:00 2001 From: Paul B Mahol Date: Sat, 3 Sep 2022 23:41:38 +0200 Subject: [PATCH] avcodec/x86/flacdsp: fix bug in decorrelation Fixes #9297 Signed-off-by: Paul B Mahol --- libavcodec/x86/flacdsp.asm| 23

[FFmpeg-devel] [PATCH] speexdec fix

2022-09-03 Thread Paul B Mahol
Patch attached. From 6a90e5d582ba2fc3a08fb08fb1b5f3f38d315b3f Mon Sep 17 00:00:00 2001 From: Paul B Mahol Date: Sat, 3 Sep 2022 18:17:23 +0200 Subject: [PATCH] avcodec/speexdec: improve support for speex in non-ogg Signed-off-by: Paul B Mahol --- libavcodec/speexdec.c | 16 +++- 1

Re: [FFmpeg-devel] [PATCH] avfilter: add 3D scope multimedia filter

2022-09-03 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 1/1] avcodec/mpegutils: add motion_vec debug mode

2022-09-03 Thread Paul B Mahol
On Sat, Sep 3, 2022 at 2:46 AM Chema Gonzalez wrote: > Hi again, > > On Fri, Sep 2, 2022 at 2:05 PM Paul B Mahol wrote: > > > > > So is there a filter that already dumps this information? > > > > Not in text but in visual, note that you can write own code

[FFmpeg-devel] [PATCH] cfhd decoder fixes for old codebook

2022-09-03 Thread Paul B Mahol
Attached. From 485600a2bd216a92b7035caaa1992dd5a9438848 Mon Sep 17 00:00:00 2001 From: Paul B Mahol Date: Sat, 3 Sep 2022 09:23:39 +0200 Subject: [PATCH 1/2] avcodec/cfhddata: remove unused defines Signed-off-by: Paul B Mahol --- libavcodec/cfhddata.c | 8 1 file changed, 8 deletions

Re: [FFmpeg-devel] [PATCH 1/1] avcodec/mpegutils: add motion_vec debug mode

2022-09-02 Thread Paul B Mahol
On Fri, Sep 2, 2022 at 8:04 PM Chema Gonzalez wrote: > Hi again, > > On Fri, Sep 2, 2022 at 9:10 AM Paul B Mahol wrote: > > > > On Fri, Sep 2, 2022 at 5:12 PM Chema Gonzalez > wrote: > > > > > So is there a filter that already dumps this information?

Re: [FFmpeg-devel] [PATCH 2/3] avcodec/fmvc: buffer size is stride based not 4*width

2022-09-02 Thread Paul B Mahol
On Fri, Sep 2, 2022 at 6:32 PM Michael Niedermayer wrote: > On Mon, Jun 13, 2022 at 09:13:19PM +0200, Michael Niedermayer wrote: > > On Mon, Jun 13, 2022 at 12:10:44PM +0200, Paul B Mahol wrote: > > > On Mon, Jun 13, 2022 at 11:48 AM Anton Khirnov > wrote: > > >

Re: [FFmpeg-devel] [PATCH 1/1] avcodec/mpegutils: add motion_vec debug mode

2022-09-02 Thread Paul B Mahol
ks, > -Chema > > On Fri, Sep 2, 2022 at 12:56 AM Paul B Mahol wrote: > > > > On Thu, Sep 1, 2022 at 8:43 PM Chema Gonzalez > wrote: > > > > > Hi Paul, > > > > > > Can you please describe how you can get the MV values? > > > > > >

Re: [FFmpeg-devel] [PATCH] avcodec/libtheoraenc: Do not use invalid error code

2022-09-02 Thread Paul B Mahol
On Thu, Sep 1, 2022 at 11:50 PM Andreas Rheinhardt < andreas.rheinha...@outlook.com> wrote: > Signed-off-by: Andreas Rheinhardt > --- > libavcodec/libtheoraenc.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > So it currently does not compile or? > diff --git

Re: [FFmpeg-devel] [PATCH] avcodec/amr*bdec: return only number of consumed bytes

2022-09-02 Thread Paul B Mahol
On Fri, Sep 2, 2022 at 10:15 AM Anton Khirnov wrote: > Quoting Paul B Mahol (2022-09-02 10:14:49) > > On Fri, Sep 2, 2022 at 10:04 AM Anton Khirnov wrote: > > > > > Quoting Paul B Mahol (2022-09-02 10:00:22) > > > > On Fri, Sep 2, 20

Re: [FFmpeg-devel] [PATCH] avcodec/amr*bdec: return only number of consumed bytes

2022-09-02 Thread Paul B Mahol
On Fri, Sep 2, 2022 at 10:04 AM Anton Khirnov wrote: > Quoting Paul B Mahol (2022-09-02 10:00:22) > > On Fri, Sep 2, 2022 at 9:27 AM Anton Khirnov wrote: > > > > > Quoting Paul B Mahol (2022-08-31 18:40:32) > > > > Patch attached. > > > > >

Re: [FFmpeg-devel] [PATCH] avcodec/amr*bdec: return only number of consumed bytes

2022-09-02 Thread Paul B Mahol
On Fri, Sep 2, 2022 at 9:27 AM Anton Khirnov wrote: > Quoting Paul B Mahol (2022-08-31 18:40:32) > > Patch attached. > > > > From c539fcd63ca339c0299029f9de1b2aff613e3da8 Mon Sep 17 00:00:00 2001 > > From: Paul B Mahol > > Date: Wed, 31 Aug 2022 18:36:04 +0200

Re: [FFmpeg-devel] [PATCH 1/1] avcodec/mpegutils: add motion_vec debug mode

2022-09-02 Thread Paul B Mahol
On Thu, Sep 1, 2022 at 8:43 PM Chema Gonzalez wrote: > Hi Paul, > > Can you please describe how you can get the MV values? > See how filters do it. They visualize MV but using similar logic one could dump them to ton of texts. > > Thanks, > -Chema > > > On Thu,

Re: [FFmpeg-devel] [PATCH 1/1] avcodec/mpegutils: add motion_vec debug mode

2022-09-01 Thread Paul B Mahol
On Thu, Sep 1, 2022 at 5:06 PM Chema Gonzalez wrote: > Hi, > > All the other debug modes (qp, skip, mb_type) use the same approach. > > This adds to much code for something that is already possible. > -Chema > > > On Thu, Sep 1, 2022 at 6:30 AM Ronald S. Bultje > wrote: > > > > Hi, > > > > On

Re: [FFmpeg-devel] [PATCH] FTR decoder

2022-08-31 Thread Paul B Mahol
On Wed, Aug 31, 2022 at 9:15 PM Andreas Rheinhardt < andreas.rheinha...@outlook.com> wrote: > Paul B Mahol: > > diff --git a/libavcodec/ftr.c b/libavcodec/ftr.c > > new file mode 100644 > > index 00..03d490a0c9 > > --- /dev/null > > ++

Re: [FFmpeg-devel] [PATCH] FTR decoder

2022-08-31 Thread Paul B Mahol
New patch updated from feedback received. From c605f6799daeff65d7379c3d10ea7542d9b0ab39 Mon Sep 17 00:00:00 2001 From: Paul B Mahol Date: Tue, 30 Aug 2022 17:14:46 +0200 Subject: [PATCH] avcodec: add FTR audio decoder Signed-off-by: Paul B Mahol --- libavcodec/Makefile | 2 + libavcodec

[FFmpeg-devel] [PATCH] FTR decoder

2022-08-31 Thread Paul B Mahol
Patch attached. From d56c7b938f5a1a291f7a46b0d06ed45f6e723b82 Mon Sep 17 00:00:00 2001 From: Paul B Mahol Date: Tue, 30 Aug 2022 17:14:46 +0200 Subject: [PATCH] avcodec: add FTR audio decoder Signed-off-by: Paul B Mahol --- libavcodec/Makefile | 2 + libavcodec/allcodecs.c | 1

[FFmpeg-devel] [PATCH] avcodec/amr*bdec: return only number of consumed bytes

2022-08-31 Thread Paul B Mahol
Patch attached. From c539fcd63ca339c0299029f9de1b2aff613e3da8 Mon Sep 17 00:00:00 2001 From: Paul B Mahol Date: Wed, 31 Aug 2022 18:36:04 +0200 Subject: [PATCH] avcodec/amr*bdec: return only number of consumed bytes Signed-off-by: Paul B Mahol --- libavcodec/amrnbdec.c | 2 +- libavcodec

Re: [FFmpeg-devel] [PATCH] avfilter/af_alimiter: fix misbehavior when nb_channels != 2

2022-08-31 Thread Paul B Mahol
Already applied long ago. ___ 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] External Library Dependencies and Testability

2022-08-27 Thread Paul B Mahol
On Sat, Aug 27, 2022 at 11:30 AM Soft Works wrote: > Hi, > > I don’t want to get involved in the ipfsgateway discussion, but the part > about > external library version dependencies and testability reminded me of some > recent thoughts: I wonder whether it wouldn’t make sense to maintain a >

Re: [FFmpeg-devel] [PATCH] ipfsgateway: Remove default gateway

2022-08-27 Thread Paul B Mahol
On Sat, Aug 27, 2022 at 9:30 AM Tomas Härdin wrote: > ons 2022-08-24 klockan 23:03 +0200 skrev Michael Niedermayer: > > On Wed, Aug 24, 2022 at 06:35:04PM +0200, Tomas Härdin wrote: > > [...] > > > > > > This goes especially for formats like MXF, which I have made the > > > case > > > on here

Re: [FFmpeg-devel] [PATCH] avcodec/gif: fix duration of last packet/frame

2022-08-24 Thread Paul B Mahol
On Wed, Aug 24, 2022 at 6:15 PM Tomas Härdin wrote: > tis 2022-08-23 klockan 14:18 +0200 skrev Andreas Rheinhardt: > > Paul B Mahol: > > > Hi, > > > > > > patch attached. > > > > > > return ret; > > > } > >

Re: [FFmpeg-devel] [PATCH] Fix wavpack decoding regression

2022-08-24 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] Add support for ICMV audio in wav

2022-08-24 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] Fix wavpack decoding regression

2022-08-23 Thread Paul B Mahol
Better fix attached. From 8d0a8dee32c2d51c6bf1bcd58e5e96ba92e6341b Mon Sep 17 00:00:00 2001 From: Paul B Mahol Date: Tue, 23 Aug 2022 22:39:41 +0200 Subject: [PATCH] avcodec/wavpack: fix regression in decoding Regression introduced in c6831e2a70f734c71f483d69d46d0635963530. Fix it by using

[FFmpeg-devel] [PATCH] Fix wavpack decoding regression

2022-08-23 Thread Paul B Mahol
Patch attached. From 217f31c5eb9355bb8fc61a9f46595ee06628c8b9 Mon Sep 17 00:00:00 2001 From: Paul B Mahol Date: Tue, 23 Aug 2022 22:39:41 +0200 Subject: [PATCH] avcodec/wavpack: unbreak regression in decoding Signed-off-by: Paul B Mahol --- libavcodec/wavpack.c | 2 +- 1 file changed, 1

Re: [FFmpeg-devel] [PATCH] avcodec/gif: fix duration of last packet/frame

2022-08-23 Thread Paul B Mahol
On Tue, Aug 23, 2022 at 2:18 PM Andreas Rheinhardt < andreas.rheinha...@outlook.com> wrote: > Paul B Mahol: > > Hi, > > > > patch attached. > > > > return ret; > > } > > > > +pkt->

[FFmpeg-devel] [PATCH] avcodec/gif: fix duration of last packet/frame

2022-08-23 Thread Paul B Mahol
Hi, patch attached. From f126c6ef9e5fa8b51272508af6603f05c26a3f26 Mon Sep 17 00:00:00 2001 From: Paul B Mahol Date: Tue, 23 Aug 2022 11:51:24 +0200 Subject: [PATCH] avcodec/gif: fix duration of last packet/frame Fixes #6294 Signed-off-by: Paul B Mahol --- libavcodec/gif.c | 2

[FFmpeg-devel] Add support for ICMV audio in wav

2022-08-23 Thread Paul B Mahol
Hi, patch attached. From 7d421f86b3f1f8fcb8effba04dc37d724caa2455 Mon Sep 17 00:00:00 2001 From: Paul B Mahol Date: Tue, 23 Aug 2022 10:11:55 +0200 Subject: [PATCH] avformat: add support for ICMV files Signed-off-by: Paul B Mahol --- libavformat/riff.c | 1 + 1 file changed, 1 insertion

Re: [FFmpeg-devel] [PATCH 4/4] avcodec/speedhq: Check width

2022-08-21 Thread Paul B Mahol
On Fri, Aug 19, 2022 at 12:36 AM Michael Niedermayer wrote: > Fixes: out of array access > Fixes: > 50014/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_SPEEDHQ_fuzzer-4748914632294400 > > Alternatively the buffer size can be increased > > Found-by: continuous fuzzing process >

Re: [FFmpeg-devel] [PATCH v5 00/25] Subtitle Filtering 2022

2022-08-21 Thread Paul B Mahol
On Fri, Aug 12, 2022 at 12:51 AM Soft Works wrote: > > > > -Original Message- > > From: ffmpegagent > > Sent: Saturday, June 25, 2022 11:58 AM > > To: ffmpeg-devel@ffmpeg.org > > Cc: Michael Niedermayer ; Andreas Rheinhardt > > ; Soft Works ; > > Andriy Gelman ; softworkz > > > >

Re: [FFmpeg-devel] framepool width and potential patch for bug 9873

2022-08-20 Thread Paul B Mahol
On Sat, Aug 20, 2022 at 2:30 PM Timo Rothenpieler wrote: > On 20.08.2022 14:27, Brendan Hack wrote: > > Oh, I think I've got the wrong end of the stick here in regards to what > > align does in ff_frame_pool_video_init. Frei0r only needs the start of > > the buffer to be aligned to 16 bytes. It

Re: [FFmpeg-devel] [PATCH 2/2] doc/plans: add AVWriter

2022-08-18 Thread Paul B Mahol
Why reinventing yet another ad-hoc thing. ___ 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] lavu/tx: implement aarch64 NEON SIMD

2022-08-16 Thread Paul B Mahol
On Tue, Aug 16, 2022 at 1:07 PM Anton Khirnov wrote: > Quoting Lynne (2022-08-14 06:31:50) > > New - Total for len 131072 reps 4096 = 1.942836 s > > Old - Segfaults > > ??? > It is trivial. The fft code in lavc crashes in such case. > > -- > Anton Khirnov >

Re: [FFmpeg-devel] [PATCH] avcodec: deprecate AYUV codec id, decoder and encoder

2022-08-08 Thread Paul B Mahol
What about ISOM mappings? ___ 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/vf_zscale: Add smpte240m transfer option and fix matrix option typo

2022-07-27 Thread Paul B Mahol
lgtm, please someone push this. ___ 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 2/2] avcodec/hdrdec: lines can be empty

2022-07-20 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] Development opportunity: LTC noise on files created from videotape source: filter idea

2022-07-18 Thread Paul B Mahol
On Mon, Jul 18, 2022 at 7:14 PM Michael Niedermayer wrote: > On Mon, Jul 18, 2022 at 09:53:14AM +, Stephen McConnachie wrote: > > Hi FFMPEG developers, > > > > I have a proposal for a paid development opportunity to add a filter to > FFMPEG. > > > > I followed the advice on the FFMPEG

Re: [FFmpeg-devel] [PATCH] add HDR image format test coverage

2022-07-18 Thread Paul B Mahol
On Mon, Jul 18, 2022 at 1:16 PM Anton Khirnov wrote: > Quoting Paul B Mahol (2022-07-17 16:51:20) > > Patch attached. > > > > From 7080795a572f8f741d4a00b2db02c8e00ce6aaf2 Mon Sep 17 00:00:00 2001 > > From: Paul B Mahol > > Date: Sun, 17 Jul 2022 15:12:12 +02

[FFmpeg-devel] [PATCH] add HDR image format test coverage

2022-07-17 Thread Paul B Mahol
Patch attached. From 7080795a572f8f741d4a00b2db02c8e00ce6aaf2 Mon Sep 17 00:00:00 2001 From: Paul B Mahol Date: Sun, 17 Jul 2022 15:12:12 +0200 Subject: [PATCH] fate: add Radiance HDR image test Signed-off-by: Paul B Mahol --- tests/fate/lavf-image.mak | 1 + tests/ref/lavf/hdr| 3

Re: [FFmpeg-devel] [PATCH] avcodec/libspeexdec: initialize channels

2022-07-16 Thread Paul B Mahol
Please fix native decoder instead. ___ 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] avcodec/libspeexdec: initialize channels

2022-07-16 Thread Paul B Mahol
use native decoder ___ 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 v4] ffmpeg: add option -isync

2022-07-14 Thread Paul B Mahol
On Thu, Jul 14, 2022 at 12:21 PM Gyan Doshi wrote: > Pushed as 882aac99d2a7d15492ce1da9859676b0c04295b8 > and cherry-picked to 5.1 > Why? > > On 2022-07-14 01:46 pm, Gyan Doshi wrote: > > This is a per-file input option that adjusts an input's timestamps > > with reference to another input, so

Re: [FFmpeg-devel] [PATCH] avfilter/xstack: Add support for fixed size grid

2022-07-13 Thread Paul B Mahol
It is merged already. ___ 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] Performances improvement in "image_copy_plane"

2022-07-13 Thread Paul B Mahol
.381) > I think the results are very good.What do you think about? > Thank You > > First stop top posting. Where is patch? > > Il mercoledì 13 luglio 2022 11:52:23 CEST, Paul B Mahol < > one...@gmail.com> ha scritto: > > On Wed, Jul 13, 2022 at 11:38 AM Marco Via

Re: [FFmpeg-devel] Performances improvement in "image_copy_plane"

2022-07-13 Thread Paul B Mahol
On Wed, Jul 13, 2022 at 11:38 AM Marco Vianini < marco_vianini-at-yahoo...@ffmpeg.org> wrote: > You can get a very big improvement of performances in the special (but > very likely) case of: "(dst_linesize == bytewidth && src_linesize == > bytewidth)" > > In this case in fact We can "Coalesce

Re: [FFmpeg-devel] [PATCH 1/3] avcodec/lagarith: Check dst/src in zero run code

2022-07-13 Thread Paul B Mahol
On Tue, Jul 12, 2022 at 8:43 PM Michael Niedermayer wrote: > Fixes: out of array access > Fixes: > 48799/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_LAGARITH_fuzzer-4764457825337344 > > Found-by: continuous fuzzing process > https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg >

Re: [FFmpeg-devel] [PATCH 1/3] avfilter/vf_zscale: remove some unneeded initializations

2022-07-10 Thread Paul B Mahol
This was not critical at all, please revert. ___ 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 1/3] avcodec/pcm-dvdenc: Remove unused extra_sample(s|_count)

2022-07-10 Thread Paul B Mahol
LGTM to whole set. ___ 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".

<    4   5   6   7   8   9   10   11   12   13   >