Re: [FFmpeg-devel] [PATCH] avformat/utils: fix logic error in ff_mkdir_p

2022-02-12 Thread Peter Ross
On Tue, Jan 25, 2022 at 06:30:03PM +1100, Peter Ross wrote: > Fix ticket# 9605 > > Signed-off-by: Peter Ross > --- > libavformat/utils.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/libavformat/utils.c b/libavformat/utils.c > index e643821fc9..1164cebe68 100644 >

Re: [FFmpeg-devel] [PATCH 1/6] avcodec/vp6: Check initializing VP6A context

2022-02-12 Thread Peter Ross
On Fri, Feb 11, 2022 at 09:47:43AM +0100, Andreas Rheinhardt wrote: > Signed-off-by: Andreas Rheinhardt > --- > libavcodec/vp6.c | 8 +--- > 1 file changed, 5 insertions(+), 3 deletions(-) > > diff --git a/libavcodec/vp6.c b/libavcodec/vp6.c > index d75e717082..95ed5eba0f 100644 > ---

[FFmpeg-devel] Ping re patchset to resolve Trac #9611 and #9623

2022-02-12 Thread Pierre-Anthony Lemieux
Hi all, Quick ping on patchset #5873 [1], which address trac #9611 and #9623 [2-3]. These two issues are major IMHO. The single comment filed against the initial version of the patchset has been addressed and the patchset has been revised to update the FATE reference files. Any further

Re: [FFmpeg-devel] [PATCH 2/2] avcodec/jpeglsdec: Check get_ur_golomb_jpegls() for error

2022-02-12 Thread Paul B Mahol
Please follow code style. ___ 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 2/2] avcodec/jpeglsdec: Check get_ur_golomb_jpegls() for error

2022-02-12 Thread Michael Niedermayer
Fixes: Timeout Fixes: Invalid shift Fixes: 44548/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_JPEGLS_fuzzer-556487680891289 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer --- libavcodec/jpeglsdec.c |

[FFmpeg-devel] [PATCH 1/2] tools/target_dec_fuzzer: Adjust threshold for TQI

2022-02-12 Thread Michael Niedermayer
Fixes: Timeout Fixes: 44455/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_EATQI_fuzzer-6069950551293952 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer --- tools/target_dec_fuzzer.c | 1 + 1 file

Re: [FFmpeg-devel] [PATCH] avformat/img2dec: Option to play sequence backwards

2022-02-12 Thread Michael Niedermayer
On Sat, Feb 12, 2022 at 12:57:11PM +0100, Sergio Acereda wrote: > This patch should allow playing an image sequence in backwards direction, > without needing to apply a reverse filter. > > ffmpeg -i sequence%05d.png forward.mkv > ffmpeg -reverse 1 -i sequence%05d.png backward.mkv > >

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

2022-02-12 Thread Mark Gaiser
On Sat, Feb 12, 2022 at 6:57 PM Mark Gaiser wrote: > > > On Sat, Feb 12, 2022 at 1:19 PM Tomas Härdin wrote: > >> tor 2022-02-10 klockan 02:13 +0100 skrev Mark Gaiser: >> > This patch adds support for: >> > - ffplay ipfs:// >> > - ffplay ipns:// >> > >> > IPFS data can be played from so called

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

2022-02-12 Thread Mark Gaiser
On Sat, Feb 12, 2022 at 1:19 PM Tomas Härdin wrote: > tor 2022-02-10 klockan 02:13 +0100 skrev Mark Gaiser: > > This patch adds support for: > > - ffplay ipfs:// > > - ffplay ipns:// > > > > IPFS data can be played from so called "ipfs gateways". > > A gateway is essentially a webserver that

[FFmpeg-devel] off: How to merge multiple H.264 streams into a single H.264 stream in HW/FPGA?

2022-02-12 Thread Tamás Forgács
Sorry about posting somewhat off-topic here, but I do not have much chance to get help from elsewhere. I encode camera images with several parallel H.264 baseline I-frame only encoder cores in FPGA (more parallel cores are required to get the encoding done fast enough without external memory). I

Re: [FFmpeg-devel] How to add bug fix code in old version 4.4 ?

2022-02-12 Thread Timo Rothenpieler
On 12.02.2022 04:47, Loken wrote: I am a newguard,I want to ask a question. I find some bug in ffmpeg 4.4 version, I fix it, How to add bug fix code in old version 4.4 If the bug still exists in master, post the fix here. If it's fixed on master, find the fix and request a backport. Also

Re: [FFmpeg-devel] [RFC][PATCH 1/4] avutil/frame: add an internal field to store the size of AVFrame

2022-02-12 Thread Paul B Mahol
On Sat, Feb 12, 2022 at 1:33 PM James Almer wrote: > On 2/12/2022 9:32 AM, Paul B Mahol wrote: > > On Sat, Feb 12, 2022 at 1:28 PM James Almer wrote: > > > >> On 2/12/2022 9:25 AM, Paul B Mahol wrote: > >>> On Sat, Feb 12, 2022 at 1:14 AM James Almer wrote: > >>> > This is unfortunately

Re: [FFmpeg-devel] [RFC][PATCH 1/4] avutil/frame: add an internal field to store the size of AVFrame

2022-02-12 Thread James Almer
On 2/12/2022 9:32 AM, Paul B Mahol wrote: On Sat, Feb 12, 2022 at 1:28 PM James Almer wrote: On 2/12/2022 9:25 AM, Paul B Mahol wrote: On Sat, Feb 12, 2022 at 1:14 AM James Almer wrote: This is unfortunately needed to remove (or reduce the awfulness) of certain modules violating the

Re: [FFmpeg-devel] [RFC][PATCH 1/4] avutil/frame: add an internal field to store the size of AVFrame

2022-02-12 Thread Paul B Mahol
On Sat, Feb 12, 2022 at 1:28 PM James Almer wrote: > On 2/12/2022 9:25 AM, Paul B Mahol wrote: > > On Sat, Feb 12, 2022 at 1:14 AM James Almer wrote: > > > >> This is unfortunately needed to remove (or reduce the awfulness) of > certain > >> modules violating the AVFrame API and using

Re: [FFmpeg-devel] [RFC][PATCH 1/4] avutil/frame: add an internal field to store the size of AVFrame

2022-02-12 Thread James Almer
On 2/12/2022 9:25 AM, Paul B Mahol wrote: On Sat, Feb 12, 2022 at 1:14 AM James Almer wrote: This is unfortunately needed to remove (or reduce the awfulness) of certain modules violating the AVFrame API and using sizeof(AVFrame). Which modules? Anything using wrapped_avframe, so

Re: [FFmpeg-devel] [RFC][PATCH 1/4] avutil/frame: add an internal field to store the size of AVFrame

2022-02-12 Thread Paul B Mahol
On Sat, Feb 12, 2022 at 1:14 AM James Almer wrote: > This is unfortunately needed to remove (or reduce the awfulness) of certain > modules violating the AVFrame API and using sizeof(AVFrame). > Which modules? > With this, the sizeof(AVFrame) value of the libavutil loaded at runtime > can be >

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

2022-02-12 Thread Tomas Härdin
tor 2022-02-10 klockan 02:13 +0100 skrev Mark Gaiser: > This patch adds support for: > - ffplay ipfs:// > - ffplay ipns:// > > IPFS data can be played from so called "ipfs gateways". > A gateway is essentially a webserver that gives access to the > distributed IPFS network. > > This protocol

Re: [FFmpeg-devel] [RFC][PATCH 1/4] avutil/frame: add an internal field to store the size of AVFrame

2022-02-12 Thread James Almer
On 2/12/2022 9:08 AM, Michael Niedermayer wrote: On Fri, Feb 11, 2022 at 09:12:58PM -0300, James Almer wrote: This is unfortunately needed to remove (or reduce the awfulness) of certain modules violating the AVFrame API and using sizeof(AVFrame). With this, the sizeof(AVFrame) value of the

Re: [FFmpeg-devel] [RFC][PATCH 1/4] avutil/frame: add an internal field to store the size of AVFrame

2022-02-12 Thread Michael Niedermayer
On Fri, Feb 11, 2022 at 09:12:58PM -0300, James Almer wrote: > This is unfortunately needed to remove (or reduce the awfulness) of certain > modules violating the AVFrame API and using sizeof(AVFrame). > With this, the sizeof(AVFrame) value of the libavutil loaded at runtime can be > used instead

[FFmpeg-devel] [PATCH] avformat/img2dec: Option to play sequence backwards

2022-02-12 Thread Sergio Acereda
This patch should allow playing an image sequence in backwards direction, without needing to apply a reverse filter. ffmpeg -i sequence%05d.png forward.mkv ffmpeg -reverse 1 -i sequence%05d.png backward.mkv Signed-off-by: Sergio Acereda --- libavformat/img2.h| 1 + libavformat/img2dec.c

Re: [FFmpeg-devel] [RFC][PATCH 1/4] avutil/frame: add an internal field to store the size of AVFrame

2022-02-12 Thread James Almer
On 2/12/2022 3:45 AM, Andreas Rheinhardt wrote: James Almer: This is unfortunately needed to remove (or reduce the awfulness) of certain modules violating the AVFrame API and using sizeof(AVFrame). With this, the sizeof(AVFrame) value of the libavutil loaded at runtime can be used instead of

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

2022-02-12 Thread Tomas Härdin
ons 2022-02-09 klockan 18:36 +0100 skrev Mark Gaiser: > > > Thank you so much for all the valuable feedback! It's much > appreciated :) > > I'll fix all the still open issues and send another patch mail > somewhere > later this week. > Question though, as this seems to be heading towards the

Re: [FFmpeg-devel] [RFC][PATCH 1/4] avutil/frame: add an internal field to store the size of AVFrame

2022-02-12 Thread James Almer
On 2/12/2022 2:29 AM, Andreas Rheinhardt wrote: James Almer: This is unfortunately needed to remove (or reduce the awfulness) of certain modules violating the AVFrame API and using sizeof(AVFrame). With this, the sizeof(AVFrame) value of the libavutil loaded at runtime can be used instead of

Re: [FFmpeg-devel] [PATCH] avfilter: Added siti filter

2022-02-12 Thread Thilo Borgmann
Am 31.01.22 um 12:55 schrieb James Almer: On 1/31/2022 8:53 AM, Anton Khirnov wrote: Quoting Thilo Borgmann (2022-01-18 14:58:07) Violations of code style. Enhanced. Not enough. There are still many remaining, e.g. * opening brace of a function definition should be on its own line * the

[FFmpeg-devel] [PATCH] avfilter/f_perms: add commands support

2022-02-12 Thread Paul B Mahol
Signed-off-by: Paul B Mahol --- libavfilter/f_perms.c | 30 +++--- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/libavfilter/f_perms.c b/libavfilter/f_perms.c index 6e75b2517b..5e2f4ecdf4 100644 --- a/libavfilter/f_perms.c +++ b/libavfilter/f_perms.c @@