[FFmpeg-devel] [PATCH v4 1/2] libavcodec: Added DFPWM1a codec

2022-02-27 Thread Jack Bruienne
From the wiki page (https://wiki.vexatos.com/dfpwm): DFPWM (Dynamic Filter Pulse Width Modulation) is an audio codec created by Ben “GreaseMonkey” Russell in 2012, originally to be used as a voice codec for asiekierka's pixmess, a C remake of 64pixels. It is a 1-bit-per-sample codec which uses a

[FFmpeg-devel] [PATCH v4 2/2] libavformat: Add DFPWM raw format

2022-02-27 Thread Jack Bruienne
This patch builds on my previous DFPWM codec patch, adding a raw audio format to be able to read/write the raw files that are most commonly used (as no other container format supports it yet). The muxers are mostly copied from the PCM demuxer and the raw muxers, as DFPWM is typically stored as r

[FFmpeg-devel] [PATCH] avcodec/argo: Check packet size

2022-02-27 Thread Michael Niedermayer
Fixes: Timeout Fixes: 45052/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_ARGO_fuzzer-6033489206575104 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer --- libavcodec/argo.c | 3 +++ 1 file changed, 3 ins

Re: [FFmpeg-devel] [FFmpeg-cvslog] avfilter/vf_tpad: if there is no frame to clone return early

2022-02-27 Thread Paul B Mahol
On Fri, Feb 25, 2022 at 10:08 PM Thierry Foucu wrote: > On Thu, Feb 24, 2022 at 11:50 PM Paul B Mahol wrote: > > > On Thu, Feb 24, 2022 at 11:21 PM Thierry Foucu wrote: > > > > > On Thu, Feb 24, 2022 at 2:19 PM Thierry Foucu > wrote: > > > > > > > > > > > > > > > On Thu, Feb 24, 2022 at 1:50 P

Re: [FFmpeg-devel] [PATCH v4 2/2] libavformat: Add DFPWM raw format

2022-02-27 Thread Paul B Mahol
Please change long description for demuxer and muxer to be same, currently one is 'audio' and another one is 'data'. ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above,

Re: [FFmpeg-devel] [PATCH v4 1/2] libavcodec: Added DFPWM1a codec

2022-02-27 Thread Paul B Mahol
Please add check for <=0 channels in 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 1/2] libavcodec: Added DFPWM1a codec

2022-02-27 Thread James Almer
On 2/27/2022 5:55 AM, Jack Bruienne wrote: From the wiki page (https://wiki.vexatos.com/dfpwm): DFPWM (Dynamic Filter Pulse Width Modulation) is an audio codec created by Ben “GreaseMonkey” Russell in 2012, originally to be used as a voice codec for asiekierka's pixmess, a C remake of 64pixels

Re: [FFmpeg-devel] [PATCH v3 1/4] avformat/movenc: fix assert failure in get_cluster_duration()

2022-02-27 Thread Paul B Mahol
On Sun, Feb 27, 2022 at 7:49 AM Gyan Doshi wrote: > > > On 2022-02-27 12:04 pm, "zhilizhao(赵志立)" wrote: > > Ping. > > > >> On Dec 31, 2021, at 7:36 PM, Zhao Zhili wrote: > >> > >> When editlist is disabled, the workaournd method of shift dts to > >> zero and increase the first sample duration do

[FFmpeg-devel] [PATCH] avcodec/g729_parser: Check channels

2022-02-27 Thread Michael Niedermayer
Fixes: signed integer overflow: 10 * 808464428 cannot be represented in type 'int' Fixes: assertion failure Fixes: ticket9651 Signed-off-by: Michael Niedermayer --- libavcodec/g729_parser.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/libavcodec/g729_parser.c b/libavcodec/g729_parser.

Re: [FFmpeg-devel] [PATCH] avcodec/g729_parser: Check channels

2022-02-27 Thread Paul B Mahol
On Sun, Feb 27, 2022 at 2:51 PM Michael Niedermayer wrote: > Fixes: signed integer overflow: 10 * 808464428 cannot be represented in > type 'int' > Fixes: assertion failure > Fixes: ticket9651 > LGTM Is it possible for parser get 0 channels as input, so it could theoretically loop forever? >

Re: [FFmpeg-devel] [PATCH v8 1/1] avformat: Add IPFS protocol support.

2022-02-27 Thread Mark Gaiser
Ping 2 I'd really like to get this merged! This kinda blocks me right now from proceeding with IPFS integration in Kodi, MPV and VLC. Implementations in those (who rely on ffmpeg) are significantly easier once this patch is finally landed in ffmpeg. On Mon, Feb 21, 2022 at 12:32 PM Mark Gaise

Re: [FFmpeg-devel] [PATCH 1/2] avformat/mpegtsenc: fix muxing pcm-bluray

2022-02-27 Thread Marton Balint
On Sat, 26 Feb 2022, Paul B Mahol wrote: Signed-off-by: Paul B Mahol --- libavformat/mpegtsenc.c | 4 1 file changed, 4 insertions(+) diff --git a/libavformat/mpegtsenc.c b/libavformat/mpegtsenc.c index 971b3f55d8..48cd54c770 100644 --- a/libavformat/mpegtsenc.c +++ b/libavformat/mpegts

Re: [FFmpeg-devel] [PATCH 1/2] avformat/mpegtsenc: fix muxing pcm-bluray

2022-02-27 Thread Paul B Mahol
On Sun, Feb 27, 2022 at 6:47 PM Marton Balint wrote: > > > On Sat, 26 Feb 2022, Paul B Mahol wrote: > > > Signed-off-by: Paul B Mahol > > --- > > libavformat/mpegtsenc.c | 4 > > 1 file changed, 4 insertions(+) > > > > diff --git a/libavformat/mpegtsenc.c b/libavformat/mpegtsenc.c > > index

Re: [FFmpeg-devel] [PATCH 1/2] avformat/mpegtsenc: fix muxing pcm-bluray

2022-02-27 Thread Marton Balint
On Sun, 27 Feb 2022, Paul B Mahol wrote: On Sun, Feb 27, 2022 at 6:47 PM Marton Balint wrote: On Sat, 26 Feb 2022, Paul B Mahol wrote: Signed-off-by: Paul B Mahol --- libavformat/mpegtsenc.c | 4 1 file changed, 4 insertions(+) diff --git a/libavformat/mpegtsenc.c b/libavformat/m

[FFmpeg-devel] [PATCH] avformat/avisynth: fix fallbacks for four frameprops

2022-02-27 Thread Stephen Hutchinson
If _FieldBased, _Matrix, _ColorRange, or _ChromaLocation haven't been set, that absence would be interpreted as 0, leading to those being set to case 0 instead of default. There is no case 0 for _Primaries and _Transfer, so those were correctly falling back to the default case. Signed-off-by: Step

Re: [FFmpeg-devel] [PATCH 1/2] avformat/mpegtsenc: fix muxing pcm-bluray

2022-02-27 Thread Paul B Mahol
On Sun, Feb 27, 2022 at 6:56 PM Marton Balint wrote: > > > On Sun, 27 Feb 2022, Paul B Mahol wrote: > > > On Sun, Feb 27, 2022 at 6:47 PM Marton Balint wrote: > > > >> > >> > >> On Sat, 26 Feb 2022, Paul B Mahol wrote: > >> > >>> Signed-off-by: Paul B Mahol > >>> --- > >>> libavformat/mpegtsenc

[FFmpeg-devel] [PATCH v5 1/2] libavcodec: Added DFPWM1a codec

2022-02-27 Thread Jack Bruienne
From the wiki page (https://wiki.vexatos.com/dfpwm): DFPWM (Dynamic Filter Pulse Width Modulation) is an audio codec created by Ben “GreaseMonkey” Russell in 2012, originally to be used as a voice codec for asiekierka's pixmess, a C remake of 64pixels. It is a 1-bit-per-sample codec which uses a

[FFmpeg-devel] [PATCH v5 2/2] libavformat: Add DFPWM raw format

2022-02-27 Thread Jack Bruienne
This patch builds on my previous DFPWM codec patch, adding a raw audio format to be able to read/write the raw files that are most commonly used (as no other container format supports it yet). The muxers are mostly copied from the PCM demuxer and the raw muxers, as DFPWM is typically stored as r

[FFmpeg-devel] [PATCH] avformat/avidec: Check height

2022-02-27 Thread Michael Niedermayer
Fixes: negation of -2147483648 cannot be represented in type 'int'; cast to an unsigned type to negate this value to itself Fixes: Ticket8486 Signed-off-by: Michael Niedermayer --- libavformat/avidec.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libavformat/avidec.c b/libavformat/avid

Re: [FFmpeg-devel] [PATCH 1/7] avutil/uuid: add utility library for manipulating UUIDs as specified in RFC 4122

2022-02-27 Thread Pierre-Anthony Lemieux
On Tue, Feb 22, 2022 at 6:21 AM James Almer wrote: > > > > On 2/22/2022 10:01 AM, Zane van Iperen wrote: > > Loosely based on libuuid > > > > Co-authored-by: Pierre-Anthony Lemieux > > Signed-off-by: Pierre-Anthony Lemieux > > Signed-off-by: Zane van Iperen > > --- > > libavutil/Makefile |

Re: [FFmpeg-devel] [PATCH v2] libavcodec/qsvenc: add more ChromaFormat support to mjpeg_qsv

2022-02-27 Thread Xiang, Haihao
On Mon, 2022-02-21 at 15:28 +0800, Wenbin Chen wrote: > ChromaForamt for mjpeg-qsv is always set to yuv420, and this will be > wrong when encode other pixel format (for example yuyv422). ChromaFormat > is changed to be adaptive to pix_fmt. > > Signed-off-by: Wenbin Chen > --- > libavcodec/qsvenc

Re: [FFmpeg-devel] [PATCH v2] libavcodec/qsvenc: add mbbrc to hevc_qsv

2022-02-27 Thread Xiang, Haihao
On Mon, 2022-02-21 at 16:56 +0800, Wenbin Chen wrote: > Add mbbrc to hevc_qsv > For detailed description, please see "mbbrc" part in: > https://github.com/Intel-Media-SDK/MediaSDK/blob/master/doc/mediasdk-man.md#mfxextcodingoption2 > > Signed-off-by: Wenbin Chen > --- > doc/encoders.texi | 5

Re: [FFmpeg-devel] [PATCH] qsv: add return value check for MFXQueryIMPL

2022-02-27 Thread Xiang, Haihao
On Thu, 2022-02-24 at 10:27 +0800, Tong Wu wrote: > add a return value check for function MFXQueryIMPL to handle the error > message. > > Signed-off-by: Tong Wu > --- > libavcodec/qsv.c | 5 - > 1 file changed, 4 insertions(+), 1 deletion(-) > > diff --git a/libavcodec/qsv.c b/libavcodec/qs

Re: [FFmpeg-devel] [PATCH] qsvenc: avoid dereferencing the null pointer

2022-02-27 Thread Xiang, Haihao
On Thu, 2022-02-24 at 10:27 +0800, Tong Wu wrote: > The variable AVFrame *frame could be a null pointer, now add a null > pointer check to avoid dereferencing the null pointer. > > Signed-off-by: Tong Wu > --- > libavcodec/qsvenc.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > dif

[FFmpeg-devel] [PATCH] avfilter/drawtext: make reload value an interval

2022-02-27 Thread Gyan Doshi
Allows user to specify a frame interval at which textfile is reloaded. --- doc/filters.texi | 6 -- libavfilter/vf_drawtext.c | 6 +++--- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/doc/filters.texi b/doc/filters.texi index b3ae139613..1ecc03eeae 100644 --- a/doc/fi