Re: [FFmpeg-devel] [PATCH] RK Audio demuxer and decoder

2023-02-10 Thread Paul B Mahol
will apply ___ 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: use ff_inlink_make_frame_writable()

2023-02-08 Thread Paul B Mahol
New patch attached. From 86203516a4d38f312ea5319315aa79841a39a45b Mon Sep 17 00:00:00 2001 From: Paul B Mahol Date: Mon, 6 Feb 2023 14:57:50 +0100 Subject: [PATCH] avfilter: use ff_inlink_make_frame_writable() Signed-off-by: Paul B Mahol --- libavfilter/avf_abitscope.c | 11

[FFmpeg-devel] [PATCH] swresample: try to fix regression

2023-02-08 Thread Paul B Mahol
This one should pass FATE. From ca54f241756e764f70c919acd0c99c811762dcb1 Mon Sep 17 00:00:00 2001 From: Paul B Mahol Date: Wed, 8 Feb 2023 18:35:38 +0100 Subject: [PATCH] swresample: do not attempt to rematrix if channel map is provided Signed-off-by: Paul B Mahol --- libavfilter/af_pan.c

Re: [FFmpeg-devel] [PATCH] avfilter: use ff_inlink_make_frame_writable()

2023-02-07 Thread Paul B Mahol
On 2/6/23, Paul B Mahol wrote: > Patch attached. > Better patch attached. From 15f004ccb196e39c6c429e2c93041444c1a1e419 Mon Sep 17 00:00:00 2001 From: Paul B Mahol Date: Mon, 6 Feb 2023 14:57:50 +0100 Subject: [PATCH] avfilter: use ff_inlink_make_frame_writable() Signed-off-by: Paul B

Re: [FFmpeg-devel] [PATCH] avfilter: fix af_pan regression

2023-02-07 Thread Paul B Mahol
On 2/5/23, Paul B Mahol wrote: > On 2/5/23, Michael Niedermayer wrote: >> On Sat, Feb 04, 2023 at 09:48:38PM +0100, Paul B Mahol wrote: >>> Patch attached. >> >>> af_pan.c |3 +++ >>> 1 file changed, 3 insertions(+) >>> bf878b3bd193e6462d

[FFmpeg-devel] [PATCH] avfilter: use ff_inlink_make_frame_writable()

2023-02-06 Thread Paul B Mahol
Patch attached. From 8d2d4d35a54d0a3ddf300ef7196489898c3efc4e Mon Sep 17 00:00:00 2001 From: Paul B Mahol Date: Mon, 6 Feb 2023 14:57:50 +0100 Subject: [PATCH] avfilter: use ff_inlink_make_frame_writable() Signed-off-by: Paul B Mahol --- libavfilter/avf_abitscope.c | 11

Re: [FFmpeg-devel] [PATCH] avfilter: add QSV variants of the stack filters

2023-02-06 Thread Paul B Mahol
On 2/6/23, Xiang, Haihao wrote: > On Ma, 2023-01-30 at 09:48 +0100, Paul B Mahol wrote: >> On 1/30/23, Xiang, Haihao wrote: >> > From: Haihao Xiang >> > >> > Include hstack_qsv, vstack_qsv and xstack_qsv. They may accept input >> > streams with diffe

Re: [FFmpeg-devel] Hardware purchase request Apple M2

2023-02-06 Thread Paul B Mahol
On 2/6/23, Thilo Borgmann wrote: > Hi, > > the M2 chip recently made it from the laptops into the mini as well. > It's the generation of the Chip, I think we should buy one and have that > running FATE as well. > > Kieran agreed on hosting this one like he does for the existing M1 > machines. >

Re: [FFmpeg-devel] [PATCH] avfilter: fix af_pan regression

2023-02-05 Thread Paul B Mahol
On 2/5/23, Michael Niedermayer wrote: > On Sat, Feb 04, 2023 at 09:48:38PM +0100, Paul B Mahol wrote: >> Patch attached. > >> af_pan.c |3 +++ >> 1 file changed, 3 insertions(+) >> bf878b3bd193e6462d1babf5e6e45a056a3a0f65 >> 0001-avfilter-af_pan-fix-re

[FFmpeg-devel] [PATCH] RK Audio demuxer and decoder

2023-02-05 Thread Paul B Mahol
On 2/4/23, Paul B Mahol wrote: > Hi, > > Patches attached, decoder is not bit by bit exact yet for lossless > mode because some samples are not properly rounded. > Now lossless mode is bit exact. From 232125e5bbbd6ac0b8049cc32e5ca61c484d1bd8 Mon Sep 17 00:00:00 2001 From: Paul B M

Re: [FFmpeg-devel] [PATCH v2 2/2] avformat/flvenc: add option to read metadata from file

2023-02-05 Thread Paul B Mahol
On 2/5/23, Gyan Doshi wrote: > > > On 2023-02-04 04:12 pm, Gyan Doshi wrote: >> >> >> On 2023-02-04 04:02 pm, Paul B Mahol wrote: >>> On 2/4/23, Gyan Doshi wrote: >>>> >>>> On 2023-02-04 03:46 pm, Paul B Mahol wrote: >>>&g

[FFmpeg-devel] [PATCH] avfilter: fix af_pan regression

2023-02-04 Thread Paul B Mahol
Patch attached. From b53fa290876af0f540a99f733193f270103bf8ad Mon Sep 17 00:00:00 2001 From: Paul B Mahol Date: Sat, 4 Feb 2023 21:46:15 +0100 Subject: [PATCH] avfilter/af_pan: fix regression introduced with switch to new channel layout API Fixes #10168 Signed-off-by: Paul B Mahol

Re: [FFmpeg-devel] [PATCH v2 2/2] avformat/flvenc: add option to read metadata from file

2023-02-04 Thread Paul B Mahol
On 2/4/23, Gyan Doshi wrote: > > > On 2023-02-04 03:46 pm, Paul B Mahol wrote: >> On 2/4/23, Gyan Doshi wrote: >>> >>> On 2023-02-03 09:04 pm, Andreas Rheinhardt wrote: >>>> Gyan Doshi: >>>>> Useful, in conjuntion with option meta_pe

Re: [FFmpeg-devel] [PATCH v2 2/2] avformat/flvenc: add option to read metadata from file

2023-02-04 Thread Paul B Mahol
On 2/4/23, Gyan Doshi wrote: > > > On 2023-02-03 09:04 pm, Andreas Rheinhardt wrote: >> Gyan Doshi: >>> Useful, in conjuntion with option meta_period, to vary metadata during >>> stream. >>> >>> File format is ffmetadata. >>> --- >>> configure| 2 +- >>> doc/muxers.texi |

[FFmpeg-devel] [RFC][WIP][PATCH] RK Audio demuxer and decoder

2023-02-04 Thread Paul B Mahol
Hi, Patches attached, decoder is not bit by bit exact yet for lossless mode because some samples are not properly rounded. From 71bfdb9eadc988b1154f8202b12a380839096d48 Mon Sep 17 00:00:00 2001 From: Paul B Mahol Date: Tue, 31 Jan 2023 19:27:09 +0100 Subject: [PATCH 1/2] avformat: add RKA

Re: [FFmpeg-devel] [PATCH] Waveform Archiver decoder and demuxer

2023-02-01 Thread Paul B Mahol
On 2/1/23, Tomas Härdin wrote: >> +if (avctx->extradata_size < 44) >> +return AVERROR_INVALIDDATA; >> +if (AV_RL32(avctx->extradata + 16) != MKTAG('R','I','F','F')) >> +return AVERROR_INVALIDDATA; >> +if (AV_RL32(avctx->extradata + 24) != MKTAG('W','A','V','E')) >> +

Re: [FFmpeg-devel] [PATCH] Waveform Archiver decoder and demuxer

2023-01-31 Thread Paul B Mahol
On 1/29/23, 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] add media100 bsf and use it

2023-01-31 Thread Paul B Mahol
Improved patch attached. From ef7436580ce401917abab5114ff2ff8a1fdd9d61 Mon Sep 17 00:00:00 2001 From: Paul B Mahol Date: Tue, 31 Jan 2023 10:18:17 +0100 Subject: [PATCH] avcodec: add media100_to_mjpegb bitstream filter and use it Signed-off-by: Paul B Mahol --- configure

Re: [FFmpeg-devel] [PATCH] avcodec/mlpdec: parse and use substream_info bits

2023-01-31 Thread Paul B Mahol
On 1/31/23, Paul B Mahol wrote: > On 1/31/23, Andreas Rheinhardt wrote: >> Paul B Mahol: >>> +///< Which substream of substreams carry 16-channel presentation >>> +uint8_t extended_substream_info; >>> + >>> +///< Which subst

Re: [FFmpeg-devel] [PATCH] lavfi: get rid of FF_INTERNAL_FIELDS

2023-01-31 Thread Paul B Mahol
On 1/31/23, Nicolas George wrote: > Paul B Mahol (12023-01-31): >> No, you do not. Calling your libavfilter framework code "complex" is >> disgrace >> to really complex code in non-framework part of libavfilter or else in >> FFmpeg libraries. >> >

Re: [FFmpeg-devel] [PATCH] lavfi: get rid of FF_INTERNAL_FIELDS

2023-01-31 Thread Paul B Mahol
On 1/31/23, Nicolas George wrote: > Anton Khirnov (12023-01-31): >> I find this a significant improvement in code quality, making it easier >> to maintain. > > You can say that, you do not maintain it. > >> Making it obvious which field is private and which is public is a >> feature, not a bug. >

Re: [FFmpeg-devel] [PATCH] avcodec/mlpdec: parse and use substream_info bits

2023-01-31 Thread Paul B Mahol
On 1/31/23, Andreas Rheinhardt wrote: > Paul B Mahol: >> +///< Which substream of substreams carry 16-channel presentation >> +uint8_t extended_substream_info; >> + >> +///< Which substream of substreams carry 2/6/8-channel presentation &

[FFmpeg-devel] [PATCH] add media100 bsf and use it

2023-01-31 Thread Paul B Mahol
Patch attached. From c9ec824211cccb745b3a4ab014d6be726c8ef1b9 Mon Sep 17 00:00:00 2001 From: Paul B Mahol Date: Tue, 31 Jan 2023 10:18:17 +0100 Subject: [PATCH] avcodec: add media100_to_mjpegb bitstream filter and use it Signed-off-by: Paul B Mahol --- libavcodec/Makefile

[FFmpeg-devel] [PATCH] avcodec/media100: fix regression

2023-01-30 Thread Paul B Mahol
Patch attached. From 5b578bc4bef6932a19e39c0da93a9e2d4cf90d7b Mon Sep 17 00:00:00 2001 From: Paul B Mahol Date: Mon, 30 Jan 2023 22:24:24 +0100 Subject: [PATCH] avcodec/media100: pass pix_fmt to upper context Signed-off-by: Paul B Mahol --- libavcodec/media100.c | 1 + 1 file changed, 1

[FFmpeg-devel] [PATCH] avcodec/mlpdec: parse and use substream_info bits

2023-01-30 Thread Paul B Mahol
Patch attached. Fixes relative recent thd regression. From 1715a7f4b0487c9ecebfedfc796377022a85baec Mon Sep 17 00:00:00 2001 From: Paul B Mahol Date: Mon, 30 Jan 2023 19:35:36 +0100 Subject: [PATCH] avcodec/mlpdec: parse and use substream info bits Signed-off-by: Paul B Mahol --- libavcodec

Re: [FFmpeg-devel] [PATCH] XMD demuxer and decoder

2023-01-30 Thread Paul B Mahol
On 1/27/23, Michael Niedermayer wrote: > On Wed, Jan 25, 2023 at 10:28:38PM +0100, Paul B Mahol wrote: >> Patch attached. > > breaks probetest > > tools/probetest 256 4096 > testing size=1 > testing size=2 > testing size=4 > testing size=8 > testing size=16

Re: [FFmpeg-devel] [PATCH v2] avutil/{color_utils, csp}: merge color_utils into csp and expose API

2023-01-30 Thread Paul B Mahol
On 1/30/23, Zhao Zhili wrote: > > >> -Original Message- >> From: ffmpeg-devel On Behalf Of Leo Izen >> Sent: 2023年1月31日 0:50 >> To: ffmpeg-devel@ffmpeg.org >> Cc: Leo Izen >> Subject: [FFmpeg-devel] [PATCH v2] avutil/{color_utils, csp}: merge >> color_utils into csp and expose API >> >>

Re: [FFmpeg-devel] [PATCH] frame durations for framesync

2023-01-30 Thread Paul B Mahol
On 1/30/23, Nicolas George wrote: > Paul B Mahol (12023-01-30): >> libavfilter support overlapping frames and frames with gaps, look into >> aresample filter and its async options. > > aresample is a very special case. And for audio filters, the duration is > carried by

Re: [FFmpeg-devel] [PATCH] lavfi: get rid of FF_INTERNAL_FIELDS

2023-01-30 Thread Paul B Mahol
On 1/30/23, Anton Khirnov wrote: > This hack is used to limit the visibility of some AVFilterLink fields to > only certain files. Replace it with the same pattern that is used e.g. > in lavf AVStream/FFstream and avoid exposing these internal fields in a > public header completely. Looks fine on

Re: [FFmpeg-devel] [PATCH] frame durations for framesync

2023-01-30 Thread Paul B Mahol
On 1/30/23, Nicolas George wrote: > Paul B Mahol (12023-01-30): >> > The duration of a frame is equal to the difference between its >> > timestamp >> > and the timestamp of the next frame. >> Only in special cases. > > No, in libavfilter, always; libavfi

Re: [FFmpeg-devel] [PATCH] frame durations for framesync

2023-01-30 Thread Paul B Mahol
On 1/30/23, Nicolas George wrote: > Paul B Mahol (12023-01-30): >> It is not redundant, it describes how much frame lasts. >> There is no other way to derive it. > > The duration of a frame is equal to the difference between its timestamp > and the timestamp of the next

Re: [FFmpeg-devel] drawtext filter

2023-01-30 Thread Paul B Mahol
On 1/30/23, Francesco Carusi wrote: > On 28/01/2023 16:32, Paul B Mahol wrote: >> On 1/28/23, Francesco Carusi wrote: >>> On 27/01/2023 18:31, Paul B Mahol wrote: >>>> On 1/27/23, Francesco Carusi wrote: >>>>> On 26/01/2023 17:37, Paul B Mahol wrot

Re: [FFmpeg-devel] [PATCH] frame durations for framesync

2023-01-30 Thread Paul B Mahol
On 1/30/23, Nicolas George wrote: > Paul B Mahol (12023-01-27): >> From b4f835c4ef6e0e0bbe6adef8235381e56f3f91df Mon Sep 17 00:00:00 2001 >> From: Paul B Mahol >> Date: Fri, 27 Jan 2023 23:34:02 +0100 >> Subject: [PATCH 1/4] avfilter/framesync: calculate frame du

Re: [FFmpeg-devel] [PATCH] avfilter: add QSV variants of the stack filters

2023-01-30 Thread Paul B Mahol
On 1/30/23, Xiang, Haihao wrote: > From: Haihao Xiang > > Include hstack_qsv, vstack_qsv and xstack_qsv. They may accept input > streams with different sizes. > > Examples: > $ ffmpeg -hwaccel qsv -hwaccel_output_format qsv -i input.mp4 \ > -filter_complex "[0:v][0:v]hstack_qsv" -f null - > > $

Re: [FFmpeg-devel] [PATCH] lavc: add null codecs

2023-01-29 Thread Paul B Mahol
On 1/27/23, Anton Khirnov wrote: > They discard all input without ever returning any output. Useful for > development. > --- > libavcodec/Makefile | 4 ++ > libavcodec/allcodecs.c | 6 +++ > libavcodec/codec_desc.c | 12 ++ > libavcodec/codec_id.h | 10 + > libavcodec/null.c

[FFmpeg-devel] [PATCH] fftools/ffmpeg: fix clearing previous output

2023-01-29 Thread Paul B Mahol
Patch attached. From 95efe0d6d7e6fe5e29e6372f2da38cfbc4453a83 Mon Sep 17 00:00:00 2001 From: Paul B Mahol Date: Sun, 29 Jan 2023 20:46:50 +0100 Subject: [PATCH] fftools/ffmpeg: fix clearing previous output Signed-off-by: Paul B Mahol --- fftools/ffmpeg.c | 6 +- 1 file changed, 5

[FFmpeg-devel] [PATCH] Waveform Archiver decoder and demuxer

2023-01-29 Thread Paul B Mahol
Patches attached From 5516601630ae83098e2a3d27823f21e86bc0e60d Mon Sep 17 00:00:00 2001 From: Paul B Mahol Date: Sat, 21 Jan 2023 19:25:41 +0100 Subject: [PATCH 1/2] avcodec: add WavArc decoder Signed-off-by: Paul B Mahol --- libavcodec/Makefile | 1 + libavcodec/allcodecs.c | 1

Re: [FFmpeg-devel] drawtext filter

2023-01-28 Thread Paul B Mahol
On 1/28/23, Francesco Carusi wrote: > On 27/01/2023 18:31, Paul B Mahol wrote: >> On 1/27/23, Francesco Carusi wrote: >>> On 26/01/2023 17:37, Paul B Mahol wrote: >>>> On 1/26/23, Francesco Carusi wrote: >>>>> On 26/01/2023 14:21, Paul B Mahol wrot

Re: [FFmpeg-devel] [PATCH 1/3] fftools/ffmpeg: add an AVClass to Muxer/OutputFile

2023-01-28 Thread Paul B Mahol
Probably ok ___ 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/3] fftools/ffmpeg: add an AVClass to MuxStream/OutputStream

2023-01-28 Thread Paul B Mahol
Probably ok ___ 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] doc/ffmpeg: drop non-existent -dc option

2023-01-28 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".

[FFmpeg-devel] [PATCH] frame durations for framesync

2023-01-27 Thread Paul B Mahol
Patches attached. From b4f835c4ef6e0e0bbe6adef8235381e56f3f91df Mon Sep 17 00:00:00 2001 From: Paul B Mahol Date: Fri, 27 Jan 2023 23:34:02 +0100 Subject: [PATCH 1/4] avfilter/framesync: calculate frame duration too Signed-off-by: Paul B Mahol --- libavfilter/framesync.c | 20

Re: [FFmpeg-devel] [PATCH] lavc: add null codecs

2023-01-27 Thread Paul B Mahol
On 1/27/23, Anton Khirnov wrote: > They discard all input without ever returning any output. Useful for > development. > --- > libavcodec/Makefile | 4 ++ > libavcodec/allcodecs.c | 6 +++ > libavcodec/codec_desc.c | 12 ++ > libavcodec/codec_id.h | 10 + > libavcodec/null.c

Re: [FFmpeg-devel] [PATCH] avcodec: add CBD2 DPCM decoder

2023-01-27 Thread Paul B Mahol
On 1/24/23, Paul B Mahol wrote: > Hi, > > 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 ffmpe

Re: [FFmpeg-devel] drawtext filter

2023-01-27 Thread Paul B Mahol
On 1/27/23, Francesco Carusi wrote: > On 26/01/2023 17:37, Paul B Mahol wrote: >> On 1/26/23, Francesco Carusi wrote: >>> On 26/01/2023 14:21, Paul B Mahol wrote: >>>> On 1/26/23, Francesco Carusi wrote: >>>>> The drawtext reinit c

Re: [FFmpeg-devel] [PATCH] avfilter/vf_cropdetect: fix type for old_limit

2023-01-27 Thread Paul B Mahol
On 1/27/23, Jeffrey Chapuis wrote: > patch attached. applied ___ 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] avformat: add SDNS demuxer

2023-01-27 Thread Paul B Mahol
Patch attached. From f98e8a2931327c0b45aa7183d4ae3bd780382806 Mon Sep 17 00:00:00 2001 From: Paul B Mahol Date: Fri, 27 Jan 2023 17:00:36 +0100 Subject: [PATCH] avformat: add SDNS demuxer Signed-off-by: Paul B Mahol --- libavformat/Makefile | 1 + libavformat/allformats.c | 1

Re: [FFmpeg-devel] [PATCH 3/4] lavfi/framesync: add syncing via external timestamp map

2023-01-27 Thread Paul B Mahol
On 1/27/23, Anton Khirnov wrote: > Useful when there is some external process that determines canonical > frame synchronization. E.g. the framerate conversion code in ffmpeg CLI. > --- > doc/filters.texi| 6 ++ > libavfilter/framesync.c | 121 ++-- >

[FFmpeg-devel] [PATCH] avformat/rawdec: set correct timebase and framerate for raw video demuxers

2023-01-26 Thread Paul B Mahol
Patch attached. From b3e0b2efa3055be6b78d28345c816c560ddb556e Mon Sep 17 00:00:00 2001 From: Paul B Mahol Date: Thu, 26 Jan 2023 17:43:49 +0100 Subject: [PATCH] avformat/rawdec: set correct timebase and framerate for raw video demuxers Signed-off-by: Paul B Mahol --- libavformat/rawdec.c | 4

Re: [FFmpeg-devel] drawtext filter

2023-01-26 Thread Paul B Mahol
On 1/26/23, Francesco Carusi wrote: > On 26/01/2023 14:21, Paul B Mahol wrote: >> On 1/26/23, Francesco Carusi wrote: >>> The drawtext reinit command is also used in the docs as an example for >>> the sendcmd filter, so I thought it was fine to use commands in

Re: [FFmpeg-devel] drawtext filter

2023-01-26 Thread Paul B Mahol
uld the command match the name of a filter option instead? > Please do not top post. It is much better to use already existing options for commands that is more intuitive to users. Also multiple options can be set at runtime, there is no such limitation. > > On 26/01/2023 11:50, Paul B Ma

Re: [FFmpeg-devel] drawtext filter

2023-01-26 Thread Paul B Mahol
On 1/26/23, Francesco Carusi wrote: > Hi, I'm new to contributing to ffmpeg! > > I modified the drawtext filter to improve text rendering and add some > features. You can find a high level description of the changes at this > link: > >

Re: [FFmpeg-devel] [PATCH 00/26] Major library version bump

2023-01-25 Thread Paul B Mahol
On 1/25/23, Jean-Baptiste Kempf wrote: > > > On Wed, 25 Jan 2023, at 22:29, Paul B Mahol wrote: >> On 1/25/23, Jean-Baptiste Kempf wrote: >>> >>> >>> On Wed, 25 Jan 2023, at 22:20, Paul B Mahol wrote: >>>> On 1/25/23, Jean-Baptiste Kempf wro

Re: [FFmpeg-devel] [PATCH 00/26] Major library version bump

2023-01-25 Thread Paul B Mahol
On 1/25/23, Jean-Baptiste Kempf wrote: > > > On Wed, 25 Jan 2023, at 22:20, Paul B Mahol wrote: >> On 1/25/23, Jean-Baptiste Kempf wrote: >>> On Wed, 25 Jan 2023, at 22:03, Marton Balint wrote: >>>> On Wed, 25 Jan 2023, Jean-Baptiste Kempf wrote: >>>

[FFmpeg-devel] [PATCH] XMD demuxer and decoder

2023-01-25 Thread Paul B Mahol
Patch attached. From 8a48d62c020d6361a0ae1d4a4124c0594ecfe669 Mon Sep 17 00:00:00 2001 From: Paul B Mahol Date: Wed, 25 Jan 2023 19:31:44 +0100 Subject: [PATCH 1/2] avcodec: add ADPCM XMD decoder Signed-off-by: Paul B Mahol --- libavcodec/Makefile | 1 + libavcodec/adpcm.c | 44

Re: [FFmpeg-devel] [PATCH 00/26] Major library version bump

2023-01-25 Thread Paul B Mahol
On 1/25/23, Jean-Baptiste Kempf wrote: > On Wed, 25 Jan 2023, at 22:03, Marton Balint wrote: >> On Wed, 25 Jan 2023, Jean-Baptiste Kempf wrote: >> >>> On Wed, 25 Jan 2023, at 21:08, Marton Balint wrote: On Wed, 25 Jan 2023, James Almer wrote: > On 1/24/2023 12:45 PM, Anton Khirnov

Re: [FFmpeg-devel] [PATCH v4] avcodec: add Actimagine VX video decoder

2023-01-25 Thread Paul B Mahol
On 3/19/21, Florian Nouwt wrote: > Signed-off-by: Florian Nouwt > --- > * fixed style issues > * ff_h264_cavlc_data_init_vlc now only uses ff_thread_once if the vx > decoder is enabled > * made tables static which are not used outside h264_cavlc_data.c What happened to this? It is hard to

Re: [FFmpeg-devel] [PATCH 4/5] lavfi/graphparser: reimplement avfilter_graph_parse* using new API

2023-01-24 Thread Paul B Mahol
On 1/20/23, Nicolas George wrote: > Nicolas George (12023-01-20): >> - Writing a large patch for a part of the code you know well or for a >> new feature is fine, of course. > > In fact, even for code we know well, we should consult, as long as we > are not the only one who knows it well: as

[FFmpeg-devel] [PATCH] avcodec: add CBD2 DPCM decoder

2023-01-24 Thread Paul B Mahol
Hi, Patch attached. From 0c4254ed685660fe1bb714a32ea378ddbb23e64e Mon Sep 17 00:00:00 2001 From: Paul B Mahol Date: Tue, 24 Jan 2023 16:14:25 +0100 Subject: [PATCH] avcodec: add CBD2 DPCM decoder Signed-off-by: Paul B Mahol --- libavcodec/Makefile | 1 + libavcodec/allcodecs.c | 1

Re: [FFmpeg-devel] [PATCH] add WADY demuxer and decoder

2023-01-24 Thread Paul B Mahol
On 1/21/23, Paul B Mahol wrote: > Hi, > > Patches attached. > gonna apply ___ 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..

Re: [FFmpeg-devel] [PATCH] trailing padding

2023-01-21 Thread Paul B Mahol
On 1/16/23, Tobias Rapp wrote: > On 12/01/2023 10:41, Paul B Mahol wrote: > >> Patches attached, ffmpeg.c should really not ignore initial padding >> and trailing padding. > > I guess ffprobe.xsd should be updated, too. Did you run FATE? > Yes, it s

[FFmpeg-devel] [PATCH] add WADY demuxer and decoder

2023-01-21 Thread Paul B Mahol
Hi, Patches attached. From 5f4f4a77e19fe12bc44ab32021cc3690610d03b9 Mon Sep 17 00:00:00 2001 From: Paul B Mahol Date: Sat, 21 Jan 2023 12:21:44 +0100 Subject: [PATCH 1/3] avcodec: add WADY DPCM decoder Signed-off-by: Paul B Mahol --- libavcodec/Makefile | 1 + libavcodec/allcodecs.c

Re: [FFmpeg-devel] [PATCH] avfilter/vf_cropdetect: add ability to change limit/reset at runtime

2023-01-17 Thread Paul B Mahol
On 1/17/23, Jeffrey Chapuis wrote: > I'm getting there, don't give up on me. > > Now 'limit_upscaled' become the variable used in filter_frame() and > 'limit' is never change, unless by user > We only have to update 'limit_upscaled' if 'limit' really changes. probably ok

Re: [FFmpeg-devel] [PATCH] avfilter/vf_cropdetect: add ability to change limit/reset at runtime

2023-01-17 Thread Paul B Mahol
On 1/17/23, Jeffrey Chapuis wrote: > On 17/01/2023 15:29, Paul B Mahol wrote: >> On 1/17/23, Jeffrey Chapuis wrote: >>> On 17/01/2023 14:45, Paul B Mahol wrote: >>>> On 1/17/23, Jeffrey Chapuis wrote: >>>>> On 17/01/2023 13:34, Paul B Mahol wro

Re: [FFmpeg-devel] [PATCH] avfilter/vf_cropdetect: add ability to change limit/reset at runtime

2023-01-17 Thread Paul B Mahol
On 1/17/23, Jeffrey Chapuis wrote: > On 17/01/2023 14:45, Paul B Mahol wrote: >> On 1/17/23, Jeffrey Chapuis wrote: >>> On 17/01/2023 13:34, Paul B Mahol wrote: >>>> On 1/17/23, Jeffrey Chapuis wrote: >>>>> On 17/01/2023 12:52, Paul B Mahol wro

Re: [FFmpeg-devel] [PATCH] avfilter/vf_cropdetect: add ability to change limit/reset at runtime

2023-01-17 Thread Paul B Mahol
On 1/17/23, Jeffrey Chapuis wrote: > On 17/01/2023 13:34, Paul B Mahol wrote: >> On 1/17/23, Jeffrey Chapuis wrote: >>> On 17/01/2023 12:52, Paul B Mahol wrote: >>>> On 1/17/23, Jeffrey Chapuis wrote: >>>>>> Le 10/01/2023 à 16:45, Paul B Mah

Re: [FFmpeg-devel] [PATCH] avfilter/vf_cropdetect: add ability to change limit/reset at runtime

2023-01-17 Thread Paul B Mahol
On 1/17/23, Jeffrey Chapuis wrote: > On 17/01/2023 12:52, Paul B Mahol wrote: >> On 1/17/23, Jeffrey Chapuis wrote: >>>> Le 10/01/2023 à 16:45, Paul B Mahol a écrit : >>>>> On 1/10/23, Jeffrey CHAPUIS wrote: >>>>>> Hello, >>>>>

Re: [FFmpeg-devel] [PATCH] avfilter/vf_cropdetect: add ability to change limit/reset at runtime

2023-01-17 Thread Paul B Mahol
On 1/17/23, Jeffrey Chapuis wrote: >>Le 10/01/2023 à 16:45, Paul B Mahol a écrit : >>> On 1/10/23, Jeffrey CHAPUIS wrote: >>>> Hello, >>>> I decided to continue on a simpler path without 'reset/reset_count', it >>>> was >>>> o

Re: [FFmpeg-devel] [PATCH 3/5] avcodec/012v: Order operations for odd size handling

2023-01-16 Thread Paul B Mahol
On 1/13/23, Michael Niedermayer wrote: > Fixes: out of array access > Fixes: > 48567/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_ZERO12V_fuzzer-6714182078955520.fuzz > Fixes: > 48567/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_ZERO12V_fuzzer-6698145212137472.fuzz > > Found-by:

Re: [FFmpeg-devel] [PATCH] trailing padding

2023-01-15 Thread Paul B Mahol
On 1/12/23, Paul B Mahol wrote: > Patches attached, ffmpeg.c should really not ignore initial padding > and trailing padding. > Will apply. ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffm

[FFmpeg-devel] [PATCH] avfilter: add FIR equalizer coefficients source filter

2023-01-15 Thread Paul B Mahol
Patch attached From 5e22b9bc08f7015853cc93a07e165155601b87fe Mon Sep 17 00:00:00 2001 From: Paul B Mahol Date: Fri, 13 Jan 2023 13:32:26 +0100 Subject: [PATCH] avfilter: add FIR equalizer coefficients source filter Signed-off-by: Paul B Mahol --- doc/filters.texi | 61

Re: [FFmpeg-devel] [PATCH] avfilter: add fractional delay IR source filter

2023-01-15 Thread Paul B Mahol
On 1/8/23, 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] Let us review and collebrate on vvc native decoder.

2023-01-14 Thread Paul B Mahol
On 1/14/23, Nuo Mi wrote: > On Sat, Jan 14, 2023 at 9:13 PM Nuo Mi wrote: > >> Hi Experts: >> I am happy to send out the first draft of vvc decoder. >> It's not ready for upstream yet, but it's a good base ground for review >> and future improvement. >> >> It has the following features: >> * C

Re: [FFmpeg-devel] [PATCH 5/5] avcodec/sonic: avoid integer overflow on quantization parameter

2023-01-13 Thread Paul B Mahol
On 1/13/23, Michael Niedermayer wrote: > Fixes: signed integer overflow: -1094995529 * 16 cannot be represented in > type 'int' > Fixes: > 48567/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_SONIC_fuzzer-6681622236233728 > > Found-by: continuous fuzzing process >

Re: [FFmpeg-devel] [PATCH] libswresample: avoid s16p internal processing format

2023-01-12 Thread Paul B Mahol
On 1/12/23, Michael Niedermayer wrote: > On Thu, Jan 12, 2023 at 03:20:06PM +0100, Paul B Mahol wrote: >> On 1/8/23, Michael Niedermayer wrote: >> > On Fri, Jan 06, 2023 at 07:04:59PM +0100, Paul B Mahol wrote: >> >> On Fri, Jan 6, 2023

Re: [FFmpeg-devel] [PATCH] libswresample: avoid s16p internal processing format

2023-01-12 Thread Paul B Mahol
On 1/8/23, Michael Niedermayer wrote: > On Fri, Jan 06, 2023 at 07:04:59PM +0100, Paul B Mahol wrote: >> On Fri, Jan 6, 2023 at 7:01 PM Paul B Mahol wrote: >> >> > >> > >> > On Fri, Jan 6, 2023 at 6:25 PM Michael Niedermayer >> > >> >

[FFmpeg-devel] [PATCH] trailing padding

2023-01-12 Thread Paul B Mahol
Patches attached, ffmpeg.c should really not ignore initial padding and trailing padding. From 6fc1c0dfcfe5203355423d658f21a8f6c7cbfe83 Mon Sep 17 00:00:00 2001 From: Paul B Mahol Date: Thu, 12 Jan 2023 09:56:57 +0100 Subject: [PATCH 1/2] avformat/dtshddec: also read trailing padding in samples

Re: [FFmpeg-devel] [PATCH] [add video filter hsl(Hue, Saturation, Lightness)]

2023-01-11 Thread Paul B Mahol
On 1/11/23, Paul B Mahol wrote: > On 1/11/23, liuyizhuo wrote: >> From: "2498228...@qq.com" <2498228...@qq.com> >> >> --- >> libavfilter/Makefile| 1 + >> libavfilter/allfilters.c| 1 + >> libavfilter/vf_hsl.c|

Re: [FFmpeg-devel] [PATCH] [add video filter hsl(Hue, Saturation, Lightness)]

2023-01-11 Thread Paul B Mahol
On 1/11/23, liuyizhuo wrote: > From: "2498228...@qq.com" <2498228...@qq.com> > > --- > libavfilter/Makefile| 1 + > libavfilter/allfilters.c| 1 + > libavfilter/vf_hsl.c| 310 > tests/fate-run.sh | 2 + >

Re: [FFmpeg-devel] [PATCH 5/6] avcodec/bonk: Avoid undefined overflow in quant

2023-01-11 Thread Paul B Mahol
On 1/11/23, Michael Niedermayer wrote: > Fixes: signed integer overflow: -2889074 * 2048 cannot be represented in > type 'int' > Fixes: > 51363/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_BONK_fuzzer-5660734784143360 > Fixes: >

Re: [FFmpeg-devel] [PATCH 6/6] avcodec/bonk: Check ntaps against buffer size

2023-01-11 Thread Paul B Mahol
On 1/11/23, Michael Niedermayer wrote: > Fixes: out of array read > Fixes: > 48567/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_BONK_fuzzer-6739246658748416 > > Note: This issue was assigned to a unrelated theora bug > > Found-by: continuous fuzzing process >

Re: [FFmpeg-devel] [PATCH] Request for adding XPSNR avfilter

2023-01-11 Thread Paul B Mahol
rich > > Fraunhofer HHI, Video Coding and Analytics Department > > > > Von: ffmpeg-devel im Auftrag von Paul B > Mahol > Gesendet: Mittwoch, 11. Januar 2023 12:53 > An: FFmpeg development discussions and patches > Cc: Stoffers, Chri

Re: [FFmpeg-devel] [PATCH] Request for adding XPSNR avfilter

2023-01-11 Thread Paul B Mahol
On 1/11/23, Paul B Mahol wrote: > On 1/11/23, Helmrich, Christian > wrote: >> Hi, >> >> >>> So its better to use that instead of human written assembly? Does clang >>> generate faster code without this asm? >> >> >> I'm not sure

Re: [FFmpeg-devel] [PATCH] Request for adding XPSNR avfilter

2023-01-11 Thread Paul B Mahol
ompile >> without it. > > > Done, please find attached a second version (v1) of the XPSNR avfilter > patch. > > > Thanks and best, > > > Christian Helmrich > > Fraunhofer HHI, Video Coding and Analytics Department > > > ___

Re: [FFmpeg-devel] [PATCH v3 0/8] add fd protocol

2023-01-11 Thread Paul B Mahol
On 1/11/23, "zhilizhao(赵志立)" wrote: > > >> On Jan 11, 2023, at 15:53, Xiang, Haihao >> wrote: >> >> On Wo, 2023-01-11 at 11:18 +0800, zhilizhao(赵志立) wrote: On Jan 9, 2023, at 11:17, zhilizhao(赵志立) wrote: > On Dec 15, 2022, at 01:10, Zhao Zhili wrote: > > From: Zhao Zhili

Re: [FFmpeg-devel] [PATCH v2] fate/imfdec: add audio test

2023-01-11 Thread Paul B Mahol
On 1/10/23, p...@sandflow.com wrote: > From: Pierre-Anthony Lemieux > > Improves the test material by using audio and video resources whose > respective > temporal boundaries do not line up. > > https://www.sandflow.com/public/countdown-audio-2023-01-10-2.zip How big is this uncompressed?

Re: [FFmpeg-devel] [PATCH] Request for adding XPSNR avfilter

2023-01-10 Thread Paul B Mahol
On 1/10/23, Helmrich, Christian wrote: > Hi, > > please find attached a patch (relative to FFmpeg master as of early January > 10, 2023) > adding avfilter support for extended perceptually weighted peak > signal-to-noise ratio > (XPSNR) measurements for videos, as described in the related

Re: [FFmpeg-devel] [PATCH] avfilter/vf_cropdetect: add ability to change limit/reset at runtime

2023-01-10 Thread Paul B Mahol
On 1/10/23, Jeffrey CHAPUIS wrote: > Hello, > I decided to continue on a simpler path without 'reset/reset_count', it was > only to experiment anyway, 'limit' is the main goal. > 'limit' is added to the metadata to control that the result is associated to > a change at runtime, it's after scaling

Re: [FFmpeg-devel] [PATCH] libswresample: avoid s16p internal processing format

2023-01-09 Thread Paul B Mahol
On 1/9/23, Tobias Rapp wrote: > On 08/01/2023 15:45, Michael Niedermayer wrote: > >> On Fri, Jan 06, 2023 at 07:01:06PM +0100, Paul B Mahol wrote: >>> On Fri, Jan 6, 2023 at 6:25 PM Michael Niedermayer >>> >>> wrote: >>> >>>>

[FFmpeg-devel] [PATCH] avformat/nsvdec: add support for STARDIVA format

2023-01-08 Thread Paul B Mahol
Hi, patch attached. Apparently the AAC PCE data and sample rate are not stored in files. From c612389d5a19bd41bc7d4c58ed6a0c6722064d44 Mon Sep 17 00:00:00 2001 From: Paul B Mahol Date: Mon, 9 Jan 2023 01:57:29 +0100 Subject: [PATCH] avformat/nsvdec: add support for STARDIVA format Signed-off

Re: [FFmpeg-devel] [PATCH] libswresample: avoid s16p internal processing format

2023-01-08 Thread Paul B Mahol
On 1/8/23, Michael Niedermayer wrote: > On Fri, Jan 06, 2023 at 07:04:59PM +0100, Paul B Mahol wrote: >> On Fri, Jan 6, 2023 at 7:01 PM Paul B Mahol wrote: >> >> > >> > >> > On Fri, Jan 6, 2023 at 6:25 PM Michael Niedermayer >> > >> >

Re: [FFmpeg-devel] [PATCH] libswresample: avoid s16p internal processing format

2023-01-08 Thread Paul B Mahol
On 1/8/23, Michael Niedermayer wrote: > On Fri, Jan 06, 2023 at 07:01:06PM +0100, Paul B Mahol wrote: >> On Fri, Jan 6, 2023 at 6:25 PM Michael Niedermayer >> >> wrote: >> >> > On Thu, Jan 05, 2023 at 11:08:25PM +0100, Paul B Mahol wrote: >> > > On

[FFmpeg-devel] [PATCH] avfilter: add fractional delay IR source filter

2023-01-08 Thread Paul B Mahol
Patch attached. From 7492dad5bc3a7826e5abd67f26503c74bd5745d2 Mon Sep 17 00:00:00 2001 From: Paul B Mahol Date: Sun, 8 Jan 2023 13:53:39 +0100 Subject: [PATCH] avfilter: add fractional delay IR source filter Signed-off-by: Paul B Mahol --- doc/filters.texi | 23

Re: [FFmpeg-devel] [PATCH] libswresample: avoid s16p internal processing format

2023-01-06 Thread Paul B Mahol
On Fri, Jan 6, 2023 at 7:01 PM Paul B Mahol wrote: > > > On Fri, Jan 6, 2023 at 6:25 PM Michael Niedermayer > wrote: > >> On Thu, Jan 05, 2023 at 11:08:25PM +0100, Paul B Mahol wrote: >> > On Thu, Jan 5, 2023 at 9:53 PM Michael Niedermayer < >

Re: [FFmpeg-devel] [PATCH] libswresample: avoid s16p internal processing format

2023-01-06 Thread Paul B Mahol
On Fri, Jan 6, 2023 at 6:25 PM Michael Niedermayer wrote: > On Thu, Jan 05, 2023 at 11:08:25PM +0100, Paul B Mahol wrote: > > On Thu, Jan 5, 2023 at 9:53 PM Michael Niedermayer < > mich...@niedermayer.cc> > > wrote: > > > > > On Thu, Jan 05, 2023

Re: [FFmpeg-devel] [PATCH] libswresample: avoid s16p internal processing format

2023-01-05 Thread Paul B Mahol
On Thu, Jan 5, 2023 at 9:53 PM Michael Niedermayer wrote: > On Thu, Jan 05, 2023 at 01:44:10PM +0100, Paul B Mahol wrote: > > Patch attached. > > > swresample.c |3 ++- > > 1 file changed, 2 insertions(+), 1 deletion(-) > > eee7a0685b44aa867562138a2e2437e

Re: [FFmpeg-devel] [PATCH] swresample fixes

2023-01-05 Thread Paul B Mahol
On Thu, Jan 5, 2023 at 9:34 PM Michael Niedermayer wrote: > On Wed, Jan 04, 2023 at 05:59:14PM +0100, Paul B Mahol wrote: > > Patches attached. > > > af_aresample.c |6 ++ > > 1 file changed, 6 insertions(+) > > 94dacb46103e2bb9fbb6e1ca40675243d15069c

[FFmpeg-devel] [PATCH] libswresample: avoid s16p internal processing format

2023-01-05 Thread Paul B Mahol
Patch attached. From 9c4cd60e2dd41cf98d693c8251f4cfade0807073 Mon Sep 17 00:00:00 2001 From: Paul B Mahol Date: Thu, 5 Jan 2023 13:40:12 +0100 Subject: [PATCH] libswresample/swresample: avoid s16p internal transfer format Instead use float one by default for sample rate conversions. The s16p

Re: [FFmpeg-devel] [PATCH 4/4] lavc/decode: validate frames output by decoders

2023-01-05 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 8/8] fftools/ffmpeg: always generate CFR output when -r is used

2023-01-04 Thread Paul B Mahol
On Wed, Jan 4, 2023 at 5:46 PM Anton Khirnov wrote: > Current code may, depending on the muxer, decide to use VSYNC_VFR tagged > with the specified framerate, without actually performing framerate > conversion. This is clearly wrong and against the documentation, which > states unambiguously

<    2   3   4   5   6   7   8   9   10   11   >