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

2022-04-03 Thread 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 support (ipfs and ipns) therefore translates ipfs:// and ipns:// to a http:/

[FFmpeg-devel] [PATCH v12 0/1] Add IPFS protocol support.

2022-04-03 Thread Mark Gaiser
Hi, This patch series adds support for IPFS. V12: - Removed last ifdef, we only need stat for "file exists" purposes. - To be sure, added back os_support.h as it does change stat to _stati64 on windows. V11: - Cleaned up the headers. What's there is actually needed now. - Some more strict check

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

2022-04-03 Thread Mark Gaiser
On Sun, Apr 3, 2022 at 8:00 PM Mark Gaiser wrote: > > On Sun, Apr 3, 2022 at 7:54 PM Mark Gaiser wrote: > >> On Fri, Apr 1, 2022 at 5:39 PM Michael Niedermayer < >> [email protected]> wrote: >> >>> On Fri, Apr 01, 2022 at 02:23:23AM +0200, Mark Gaiser wrote: >>> > On Fri, Apr 1, 2022 at 2:0

Re: [FFmpeg-devel] [EXT] [PATCH v5 7/7] avcodec/v4l2_m2m_dec: setup capture queue before enqueue the first frame

2022-04-03 Thread Andriy Gelman
Hi Ming, Sorry for the late reply. On Tue, 29. Mar 06:51, Ming Qian wrote: > > From: Andriy Gelman [mailto:[email protected]] > > Sent: Saturday, March 26, 2022 11:43 PM > > To: FFmpeg development discussions and patches > > Cc: Ming Qian > > Subject: Re: [FFmpeg-devel] [EXT] [PATCH v5 7/

[FFmpeg-devel] [PATCH] avcodec/ituh263enc: Add AV_CODEC_CAP_SLICE_THREADS to old H.263

2022-04-03 Thread Michael Niedermayer
It is supported by the H.263+ AVCodec already Is there any case where this does not work ? Fixes regression of some command lines Signed-off-by: Michael Niedermayer --- libavcodec/ituh263enc.c | 1 + 1 file changed, 1 insertion(+) diff --git a/libavcodec/ituh263enc.c b/libavcodec/ituh263enc.c

Re: [FFmpeg-devel] [PATCH 5/5] avcodec/exr: Avoid signed overflow in displayWindow

2022-04-03 Thread Michael Niedermayer
On Tue, Mar 22, 2022 at 11:42:52AM +0100, Paul B Mahol wrote: > probably ok will apply thx [...] -- Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB It is dangerous to be right in matters on which the established authorities are wrong. -- Voltaire signature.asc Descrip

Re: [FFmpeg-devel] [PATCH 4/5] avcodec/diracdec: avoid signed integer overflow in global mv

2022-04-03 Thread Michael Niedermayer
On Mon, Mar 21, 2022 at 09:19:45PM +0100, Michael Niedermayer wrote: > Fixes: signed integer overflow: -128275513086 * -76056576 cannot be > represented in type 'long' > Fixes: > 45818/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_DIRAC_fuzzer-5129799149944832 > > Found-by: continuous fuzzin

Re: [FFmpeg-devel] [PATCH 1/2] avcodec/apedec: fix a integer overflow in long_filter_high_3800()

2022-04-03 Thread Michael Niedermayer
On Mon, Mar 28, 2022 at 01:52:50PM +0200, Michael Niedermayer wrote: > Fixes: signed integer overflow: -2146549696 - 3923884 cannot be represented > in type 'int' > Fixes: > 45907/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_APE_fuzzer-5992380584558592 > > Found-by: continuous fuzzing proce

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

2022-04-03 Thread Mark Gaiser
On Sun, Apr 3, 2022 at 7:54 PM Mark Gaiser wrote: > On Fri, Apr 1, 2022 at 5:39 PM Michael Niedermayer > wrote: > >> On Fri, Apr 01, 2022 at 02:23:23AM +0200, Mark Gaiser wrote: >> > On Fri, Apr 1, 2022 at 2:09 AM Mark Gaiser wrote: >> > >> > > This patch adds support for: >> > > - ffplay ipfs:

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

2022-04-03 Thread Mark Gaiser
On Fri, Apr 1, 2022 at 5:39 PM Michael Niedermayer wrote: > On Fri, Apr 01, 2022 at 02:23:23AM +0200, Mark Gaiser wrote: > > On Fri, Apr 1, 2022 at 2:09 AM Mark Gaiser wrote: > > > > > This patch adds support for: > > > - ffplay ipfs:// > > > - ffplay ipns:// > > > > > > IPFS data can be played

Re: [FFmpeg-devel] [PATCH] ffmpeg: document -d option

2022-04-03 Thread Gyan Doshi
On 2022-04-03 08:57 pm, Stefano Sabatini wrote: Option was added in commit 39aafa5ee90e10382e. Fix trac issue: http://trac.ffmpeg.org/ticket/1698 --- doc/ffmpeg.texi | 12 fftools/ffmpeg_opt.c | 3 +++ 2 files changed, 15 insertions(+) diff --git a/doc/ffmpeg.texi b/do

Re: [FFmpeg-devel] [PATCH 2/2] ffprobe: add -o option

2022-04-03 Thread Stefano Sabatini
On date Wednesday 2021-04-21 23:57:04 +0200, Stefano Sabatini wrote: > On date Monday 2021-04-19 11:26:49 +0200, Michael Niedermayer wrote: > > On Sun, Apr 18, 2021 at 11:30:58PM +0200, Stefano Sabatini wrote: > > > This enables printing to a resource specified with -o OUTPUT. > > > > > > Address

Re: [FFmpeg-devel] [PATCH 1/2] lavf/avio: add avio_vprintf()

2022-04-03 Thread Stefano Sabatini
On date Wednesday 2021-04-21 23:53:35 +0200, Stefano Sabatini wrote: > On date Sunday 2021-04-18 23:30:57 +0200, Stefano Sabatini wrote: > > This new function makes it possible to use avio_printf() functionality from > > a function taking a variable list of arguments. > > --- > > doc/APIchanges

[FFmpeg-devel] [PATCH 3/3] tests: add README.md file with simple instructions

2022-04-03 Thread Stefano Sabatini
--- tests/README.md | 48 1 file changed, 48 insertions(+) create mode 100644 tests/README.md diff --git a/tests/README.md b/tests/README.md new file mode 100644 index 00..4bcae0b403 --- /dev/null +++ b/tests/README.md @@ -0,0 +1,48 @@ +FF

[FFmpeg-devel] [PATCH] ffmpeg: document -d option

2022-04-03 Thread Stefano Sabatini
Option was added in commit 39aafa5ee90e10382e. Fix trac issue: http://trac.ffmpeg.org/ticket/1698 --- doc/ffmpeg.texi | 12 fftools/ffmpeg_opt.c | 3 +++ 2 files changed, 15 insertions(+) diff --git a/doc/ffmpeg.texi b/doc/ffmpeg.texi index 164419cad3..bf738da0c1 100644 --- a/

[FFmpeg-devel] [PATCH] hwcontext_vulkan: properly enable sync2 and make prepare_frame compatible

2022-04-03 Thread Lynne
This was meant to be present before the first patch. I'll move the fixes to the first patch when I apply/resubmit. Patch attached. >From e09d026eedbd4c30f4bf3cfa9ffe547906781d3b Mon Sep 17 00:00:00 2001 From: Lynne Date: Sun, 3 Apr 2022 17:47:58 +0200 Subject: [PATCH] hwcontext_vulkan: properly

[FFmpeg-devel] [PATCH 3/3] lavu: bump version and add APIchanges for Vulkan API changes

2022-04-03 Thread Lynne
Patch attached. >From 9ed7e627d25a664611ab85c4f220637109228f86 Mon Sep 17 00:00:00 2001 From: Lynne Date: Sun, 3 Apr 2022 16:48:54 +0200 Subject: [PATCH 3/3] lavu: bump version and add APIchanges for Vulkan API changes --- doc/APIchanges | 5 + libavutil/version.h | 4 ++-- 2 files ch

[FFmpeg-devel] [PATCH 2/3] hwcontext_vulkan: add queue and frame locking functions

2022-04-03 Thread Lynne
This allows for multiple threads to access the same frame. This is unfortunately necessary, as in Vulkan, queues are considered to be up to the user to synchronize, while frames often have their layout changed upon reading. Patch attached. >From d8bd429859f9dc90325dbd0a7355b21ad5a80b6f Mon Sep 17

[FFmpeg-devel] [PATCH 1/3] hwcontext_vulkan: expose image queue families

2022-04-03 Thread Lynne
This allows for queue transition operations to be signalled. Patch attached. >From e1ddb02864a772a0c9ce117c3f68a248c2550853 Mon Sep 17 00:00:00 2001 From: Lynne Date: Sun, 3 Apr 2022 16:40:17 +0200 Subject: [PATCH 1/3] hwcontext_vulkan: expose image queue families --- libavutil/hwcontext_vulka

[FFmpeg-devel] [PATCH] libavformat/mpegts.c: ignore a section with next flag

2022-04-03 Thread TADANO Tokumei
'current_next_indicator' of 0 (next) on each section header indicates the service information is for immediate future one. ffmpeg doesn't need to parse it but current (1) one. ref: section 5.1.1 of DVB BlueBook A038 (EN 300 468) Signed-off-by: TADANO Tokumei --- libavformat/mpegts.c | 8 +++

[FFmpeg-devel] [PATCH] libavformat/mpegts.c: fix to check end of each descriptor of SDT

2022-04-03 Thread TADANO Tokumei
Current code incorrectly check against end of section rather than end of descriptor. Signed-off-by: TADANO Tokumei --- libavformat/mpegts.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/libavformat/mpegts.c b/libavformat/mpegts.c index da77b50669..ecffb01562 100644 --