[FFmpeg-devel] [PATCH v2 0/5] avdevice/dshow fixups

2022-01-02 Thread Diederick Niehorster
These five patches fix two regressions (one crashing bug making dshow unusable on x86, and one regression introduced by my recent patches due to which devices that seem to not behave according to spec but worked fine before my patches could no longer be used. They furthermore fix three small issues

[FFmpeg-devel] [PATCH v2 1/5] avdevice/dshow: tv_tuner_audio_dialog cleanup missing

2022-01-02 Thread Diederick Niehorster
Cleanup was missing for when the show_analog_tv_tuner_audio_dialog is true. Signed-off-by: Diederick Niehorster --- libavdevice/dshow_crossbar.c | 4 1 file changed, 4 insertions(+) diff --git a/libavdevice/dshow_crossbar.c b/libavdevice/dshow_crossbar.c index 2438683cde..961defe690 100644

[FFmpeg-devel] [PATCH v2 2/5] avdevice/dshow: proper cleanup of queried media types

2022-01-02 Thread Diederick Niehorster
Signed-off-by: Diederick Niehorster --- libavdevice/dshow.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libavdevice/dshow.c b/libavdevice/dshow.c index 30f1be1ead..4b6887881d 100644 --- a/libavdevice/dshow.c +++ b/libavdevice/dshow.c @@ -953,7 +953,7 @@ dshow_cycle_forma

[FFmpeg-devel] [PATCH v2 3/5] avdevice/dshow: fix crash on x86

2022-01-02 Thread Diederick Niehorster
fix regression introduced in 911ba8417e8881a7380842e69e11ca05fdc46575. Removal of WINAPI decoration from function signatures caused crashed when using dshow on x86. Fixes #9568 Signed-off-by: Diederick Niehorster --- libavdevice/dshow_capture.h| 120 ++--- libavd

[FFmpeg-devel] [PATCH v2 4/5] avdevice/dshow: only set pin format if wanted

2022-01-02 Thread Diederick Niehorster
Signed-off-by: Diederick Niehorster --- libavdevice/dshow.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavdevice/dshow.c b/libavdevice/dshow.c index 4b6887881d..f2d95fa470 100644 --- a/libavdevice/dshow.c +++ b/libavdevice/dshow.c @@ -1046,7 +1046,7 @@ next: // for

[FFmpeg-devel] [PATCH v2 5/5] avdevice/dshow: ensure pin's default format is set

2022-01-02 Thread Diederick Niehorster
Fixes regression in a1c4929f: there apparently are devices out there that expose a pin default format that has parameters outside the capabilities of any of the formats exposed on the pin (sic?). The VirtualCam plugin (v 2.0.5) of OBS-Studio (v 27.1.3) is such a device. Now when a default format wa

Re: [FFmpeg-devel] [PATCH] avformat/mxfdec: support MCA audio information

2022-01-02 Thread Marton Balint
On Sat, 1 Jan 2022, Pierre-Anthony Lemieux wrote: On Sat, Jan 1, 2022 at 5:11 PM Marton Balint wrote: On Sat, 1 Jan 2022, Pierre-Anthony Lemieux wrote: Minor suggestion below. In addition, will sample file(s) be added to FATE? Below are two examples: http://ffmpeg-imf-samples-public.

Re: [FFmpeg-devel] [PATCH] avformat/mxfdec: support MCA audio information

2022-01-02 Thread Marton Balint
On Sat, 1 Jan 2022, Pierre-Anthony Lemieux wrote: On Sat, Jan 1, 2022 at 5:35 PM Andreas Rheinhardt wrote: Pierre-Anthony Lemieux: Minor suggestion below. In addition, will sample file(s) be added to FATE? Below are two examples: http://ffmpeg-imf-samples-public.s3.us-west-1.amazonaws.c

Re: [FFmpeg-devel] [PATCH v9 4/6] lavc: Implement Dolby Vision RPU parsing

2022-01-02 Thread James Almer
On 1/2/2022 1:18 AM, Andreas Rheinhardt wrote: Niklas Haas: From: Niklas Haas Based on a mixture of guesswork, partial documentation in patents, and reverse engineering of real-world samples. Confirmed working for all the samples I've thrown at it. Contains some annoying machinery to persist

Re: [FFmpeg-devel] GitHub Integration

2022-01-02 Thread Lynne
2 Jan 2022, 04:28 by softwo...@hotmail.com: > > >> -Original Message- >> From: ffmpeg-devel On Behalf Of Soft Works >> Sent: Tuesday, December 28, 2021 10:58 PM >> To: FFmpeg development discussions and patches >> Subject: Re: [FFmpeg-devel] GitHub Integration >> >> One component of the

Re: [FFmpeg-devel] 5.0 release

2022-01-02 Thread Anton Khirnov
Quoting Michael Niedermayer (2021-12-31 20:40:24) > On Fri, Dec 31, 2021 at 10:45:46PM +0530, Gyan Doshi wrote: > > > > > > On 2021-12-31 10:22 pm, Michael Niedermayer wrote: > > > On Tue, Dec 28, 2021 at 12:55:14AM +0100, Michael Niedermayer wrote: > > > > On Wed, Dec 22, 2021 at 05:44:42PM +010

[FFmpeg-devel] [PATCH] lavc/flac_parser: use a custom FIFO implementation

2022-01-02 Thread Anton Khirnov
FLAC parser currently uses AVFifoBuffer in a highly non-trivial manner, modifying its "internals" (the whole struct is currently public, but no other code touches its contents directly). E.g. it does not use any av_fifo functions for reading the FIFO contents, but implements its own. Reimplement t

Re: [FFmpeg-devel] 5.0 release

2022-01-02 Thread James Almer
On 1/2/2022 11:12 AM, Anton Khirnov wrote: Quoting Michael Niedermayer (2021-12-31 20:40:24) On Fri, Dec 31, 2021 at 10:45:46PM +0530, Gyan Doshi wrote: On 2021-12-31 10:22 pm, Michael Niedermayer wrote: On Tue, Dec 28, 2021 at 12:55:14AM +0100, Michael Niedermayer wrote: On Wed, Dec 22, 20

Re: [FFmpeg-devel] 5.0 release

2022-01-02 Thread Zane van Iperen
On Monday, 3 January 2022 12:29:02 AM AEST James Almer wrote: > > There were some disagreements on IRC a few days ago about what should > > and should not go into the release because of insufficient fuzzing and > > the danger of introducing security issues. > > > > To avoid conflicts around this

[FFmpeg-devel] [PATCH 1/5] avutil/hwcontext_vulkan: fixed validation error VUID 01387

2022-01-02 Thread Wu Jianhua
This commit fixed the validation error that occurred on the Windows platform. Validation Error: [ VUID-vkCreateDevice-ppEnabledExtensionNames-01387 ] Object 0: \ handle = 0x2ab1cfa0db0, type = VK_OBJECT_TYPE_INSTANCE; | MessageID = 0x12537a2c | \ Missing extension required by the device extensio

[FFmpeg-devel] [PATCH 2/5] transpose_vulkan: add passthrough option

2022-01-02 Thread Wu Jianhua
The following command is on how to apply passthrough option: ffmpeg -init_hw_device vulkan -i input.264 -vf hwupload=extra_hw_frames=16,transpose_vulkan=passthrough=landscape,hwdownload,format=yuv420p output.264 Signed-off-by: Wu Jianhua --- libavfilter/vf_transpose_vulkan.c | 22

[FFmpeg-devel] [PATCH 3/5] avfilter/vf_scale_vulkan: align struct ScaleVulkanContext

2022-01-02 Thread Wu Jianhua
On 64 bit Operating System, sizeof(ScaleVulkanContext): reduce from 2400 to 2392 on Linux reduce from 2416 to 2408 on Windows Signed-off-by: Wu Jianhua --- libavfilter/vf_scale_vulkan.c | 8 +--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/libavfilter/vf_scale_vulka

[FFmpeg-devel] [PATCH 4/5] avfilter: add a blend_vulkan filter

2022-01-02 Thread Wu Jianhua
This commit adds a blend_vulkan filter and a normal blend mode, and reserves support for introducing the blend modes in the future. Use the commands below to test: (href: https://trac.ffmpeg.org/wiki/Blend) I. make an image for test ffmpeg -f lavfi -i color=s=256x256,geq=r='H-1-Y':g='H-1-Y':b='H-1

[FFmpeg-devel] [PATCH 5/5] avfilter/vf_blend: fix un-checked potential memory allocation failure

2022-01-02 Thread Wu Jianhua
Signed-off-by: Wu Jianhua --- libavfilter/vf_blend.c | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/libavfilter/vf_blend.c b/libavfilter/vf_blend.c index b6f3c4fed3..2d433e439f 100644 --- a/libavfilter/vf_blend.c +++ b/libavfilter/vf_blend.c @@ -279,7 +279,11 @@ static A

Re: [FFmpeg-devel] 5.0 release

2022-01-02 Thread James Almer
On 1/2/2022 11:50 AM, Zane van Iperen wrote: On Monday, 3 January 2022 12:29:02 AM AEST James Almer wrote: There were some disagreements on IRC a few days ago about what should and should not go into the release because of insufficient fuzzing and the danger of introducing security issues. To

Re: [FFmpeg-devel] 5.0 release

2022-01-02 Thread Zane van Iperen
On 3/1/22 01:09, James Almer wrote: Reverting something in the release branch is already going to be dirty no matter what, because we do a minor bump to ensure the release has its own soname. Right now that'd mean 5.0 will be lavf 59.13, while lacking a demuxer available in lavf 59.12 Depe

Re: [FFmpeg-devel] [PATCH v4 1/3] avcodec/v4l2_context: don't reinit output queue when dynamic resolution change

2022-01-02 Thread Andriy Gelman
On Thu, 19. Aug 16:55, Ming Qian wrote: > in the v4l2 stateful video document, we can see the following > description: > During the resolution change sequence, the OUTPUT queue must remain > streaming. Calling VIDIOC_STREAMOFF() on the OUTPUT queue would > abort the sequence and initiat

Re: [FFmpeg-devel] 5.0 release

2022-01-02 Thread Lynne
2 Jan 2022, 16:52 by z...@zanevaniperen.com: > > > On 3/1/22 01:09, James Almer wrote: > Reverting something in the release branch is already going to be dirty no matter what, because we do a minor bump to ensure the release has its own soname. Right now that'd mean 5.0 will be lavf

Re: [FFmpeg-devel] [PATCH v4 2/3] avcodec/v4l2_context: resume the decoding process after source change event received.

2022-01-02 Thread Andriy Gelman
On Thu, 19. Aug 16:55, Ming Qian wrote: > client need to resume the decoding process > after it dequeues the source change event. > no matter what's the return value of v4l2_resolution_changed(). > if the client doesn't resume the decoding process, > the decoder may keep waiting > > in documentati

Re: [FFmpeg-devel] [PATCH v4 3/3] avcodec/v4l2_m2m_dec: setup capture queue before enqueue the first frame

2022-01-02 Thread Andriy Gelman
On Thu, 19. Aug 16:55, Ming Qian wrote: > there are two proper ways to setup capture queue. > 1. client wait the source change event, >then setup the capture queue and streamon > 2. client setup the capture queue in advance, >but to avoid time issues, client should start >the capture qu

Re: [FFmpeg-devel] [PATCH] avcodec/v4l2_m2m_dec: dequeue frame if input isn't ready

2022-01-02 Thread Andriy Gelman
On Tue, 28. Dec 18:41, Andriy Gelman wrote: > On Mon, 27. Dec 03:18, Cameron Gutman wrote: > > On 12/27/21 00:17, Andriy Gelman wrote: > > > On Tue, 14. Dec 02:12, Cameron Gutman wrote: > > >> The V4L2M2M API operates asynchronously, so multiple packets can > > >> be enqueued before getting a batch

Re: [FFmpeg-devel] 5.0 release

2022-01-02 Thread Michael Niedermayer
On Sun, Jan 02, 2022 at 05:28:24PM +0100, Lynne wrote: > 2 Jan 2022, 16:52 by z...@zanevaniperen.com: > > > > > > > On 3/1/22 01:09, James Almer wrote: > > > Reverting something in the release branch is already going to be dirty > no matter what, because we do a minor bump to ensure the

[FFmpeg-devel] [PATCH v1] avformat/imf: Fix error handling in set_context_streams_from_tracks()

2022-01-02 Thread pal
From: Pierre-Anthony Lemieux Signed-off-by: Pierre-Anthony Lemieux --- libavformat/imfdec.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/libavformat/imfdec.c b/libavformat/imfdec.c index f17064cfcd..da8c6cddea 100644 --- a/libavformat/imfdec.c +++ b/libavformat/imfdec.c

Re: [FFmpeg-devel] [PATCH] avformat/mxfdec: support MCA audio information

2022-01-02 Thread Michael Niedermayer
On Sun, Jan 02, 2022 at 02:11:01AM +0100, Marton Balint wrote: > > > On Sat, 1 Jan 2022, Pierre-Anthony Lemieux wrote: > > > Minor suggestion below. > > > > In addition, will sample file(s) be added to FATE? Below are two examples: > > > > http://ffmpeg-imf-samples-public.s3.us-west-1.amazonaw

[FFmpeg-devel] [RFC/PATCH 2/2] lavf/imfdec: mark as experimental

2022-01-02 Thread Anton Khirnov
People have expressed concerns about its safety, so prevent it from being auto-selected without explicit user indication. --- libavformat/imfdec.c | 1 + 1 file changed, 1 insertion(+) diff --git a/libavformat/imfdec.c b/libavformat/imfdec.c index f17064cfcd..228ba494ae 100644 --- a/libavformat/i

[FFmpeg-devel] [RFC/PATCH 1/2] lavf: add a flag for experimental (de)muxers

2022-01-02 Thread Anton Khirnov
--- doc/APIchanges | 3 +++ libavformat/avformat.h | 7 +++ libavformat/format.c | 2 ++ libavformat/version.h | 2 +- 4 files changed, 13 insertions(+), 1 deletion(-) diff --git a/doc/APIchanges b/doc/APIchanges index 670a59329e..29c235630e 100644 --- a/doc/APIchanges +++ b/doc/AP

Re: [FFmpeg-devel] 5.0 release

2022-01-02 Thread Lynne
2 Jan 2022, 18:11 by mich...@niedermayer.cc: > On Sun, Jan 02, 2022 at 05:28:24PM +0100, Lynne wrote: > >> 2 Jan 2022, 16:52 by z...@zanevaniperen.com: >> >> > >> > >> > On 3/1/22 01:09, James Almer wrote: >> > >> Reverting something in the release branch is already going to be dirty >>

Re: [FFmpeg-devel] GitHub Integration

2022-01-02 Thread Soft Works
> -Original Message- > From: ffmpeg-devel On Behalf Of Lynne > Sent: Sunday, January 2, 2022 3:04 PM > To: FFmpeg development discussions and patches > Subject: Re: [FFmpeg-devel] GitHub Integration > > 2 Jan 2022, 04:28 by softwo...@hotmail.com: > > > > > > >> -Original Message-

Re: [FFmpeg-devel] [RFC/PATCH 1/2] lavf: add a flag for experimental (de)muxers

2022-01-02 Thread Lynne
2 Jan 2022, 18:46 by an...@khirnov.net: > --- > doc/APIchanges | 3 +++ > libavformat/avformat.h | 7 +++ > libavformat/format.c | 2 ++ > libavformat/version.h | 2 +- > 4 files changed, 13 insertions(+), 1 deletion(-) > > diff --git a/doc/APIchanges b/doc/APIchanges > index 670a5

Re: [FFmpeg-devel] [PATCH] avfilter/vf_libvmaf: update filter for libvmaf v2.0.0

2022-01-02 Thread Kyle Swanson
Hi, On Thu, Dec 30, 2021 at 5:03 PM Kyle Swanson wrote: > > Hi, > > On Sat, Dec 25, 2021 at 1:24 AM Paul B Mahol wrote: > > > > On Fri, Dec 24, 2021 at 9:52 PM Kyle Swanson wrote: > > > > > Hi, > > > > > > Never followed through on this vf_libvmaf patch from last June, and > > > I've had severa

[FFmpeg-devel] [PATCH v1] avformat/imf: add IMF CPL with repeated resources to FATE

2022-01-02 Thread pal
From: Pierre-Anthony Lemieux Signed-off-by: Pierre-Anthony Lemieux --- Notes: The `fate-imf-cpl-with-repeat` target currently references online resources. The following files (<256 kB) will need to be added to FATE samples: http://ffmpeg-imf-samples-public.s3-website-us-west-1

Re: [FFmpeg-devel] [PATCH v9 4/6] lavc: Implement Dolby Vision RPU parsing

2022-01-02 Thread Hendrik Leppkes
James Almer schrieb am So., 2. Jan. 2022, 13:46: > On 1/2/2022 1:18 AM, Andreas Rheinhardt wrote: > > Niklas Haas: > >> From: Niklas Haas > >> > >> Based on a mixture of guesswork, partial documentation in patents, and > >> reverse engineering of real-world samples. Confirmed working for all the

Re: [FFmpeg-devel] [PATCH v9 4/6] lavc: Implement Dolby Vision RPU parsing

2022-01-02 Thread Hendrik Leppkes
Andreas Rheinhardt schrieb am So., 2. Jan. 2022, 05:18: > Niklas Haas: > > From: Niklas Haas > > > > Based on a mixture of guesswork, partial documentation in patents, and > > reverse engineering of real-world samples. Confirmed working for all the > > samples I've thrown at it. > > > > Contains

Re: [FFmpeg-devel] [PATCH 1/5] avformat/aviobuf: set AVIOContext->error on bprint buffer ENOMEM

2022-01-02 Thread Marton Balint
On Fri, 31 Dec 2021, Marton Balint wrote: On Fri, 31 Dec 2021, Andreas Rheinhardt wrote: Marton Balint: This makes sure the error condition is kept in AVIOContext even if the user does not check the return value of avio_read_to_bprint or ff_read_line_to_bprint. Signed-off-by: Mart

Re: [FFmpeg-devel] 5.0 release

2022-01-02 Thread Michael Niedermayer
On Sun, Jan 02, 2022 at 07:12:54PM +0100, Lynne wrote: > 2 Jan 2022, 18:11 by mich...@niedermayer.cc: > > > On Sun, Jan 02, 2022 at 05:28:24PM +0100, Lynne wrote: > > > >> 2 Jan 2022, 16:52 by z...@zanevaniperen.com: > >> > >> > > >> > > >> > On 3/1/22 01:09, James Almer wrote: > >> > > >> Re

Re: [FFmpeg-devel] 5.0 release

2022-01-02 Thread Michael Niedermayer
On Sun, Jan 02, 2022 at 11:29:18PM +0100, Michael Niedermayer wrote: > On Sun, Jan 02, 2022 at 07:12:54PM +0100, Lynne wrote: > > 2 Jan 2022, 18:11 by mich...@niedermayer.cc: > > > > > On Sun, Jan 02, 2022 at 05:28:24PM +0100, Lynne wrote: > > > > > >> 2 Jan 2022, 16:52 by z...@zanevaniperen.com:

Re: [FFmpeg-devel] [RFC/PATCH 1/2] lavf: add a flag for experimental (de)muxers

2022-01-02 Thread Michael Niedermayer
On Sun, Jan 02, 2022 at 06:46:04PM +0100, Anton Khirnov wrote: > --- > doc/APIchanges | 3 +++ > libavformat/avformat.h | 7 +++ > libavformat/format.c | 2 ++ > libavformat/version.h | 2 +- > 4 files changed, 13 insertions(+), 1 deletion(-) patchset LGTM thx [...] -- Michael

Re: [FFmpeg-devel] [PATCH v1] avformat/imf: add IMF CPL with repeated resources to FATE

2022-01-02 Thread James Almer
On 1/2/2022 3:54 PM, p...@sandflow.com wrote: From: Pierre-Anthony Lemieux Signed-off-by: Pierre-Anthony Lemieux --- Notes: The `fate-imf-cpl-with-repeat` target currently references online resources. The following files (<256 kB) will need to be added to FATE samples: Please,

[FFmpeg-devel] [PATCH v2] avformat/imf: add IMF CPL with repeated resources to FATE

2022-01-02 Thread pal
From: Pierre-Anthony Lemieux Signed-off-by: Pierre-Anthony Lemieux --- Notes: The `fate-imf-cpl-with-repeat` target requires following files (<256 kB) to placed under $(TARGET_SAMPLES)/imf/countdown/: http://ffmpeg-imf-samples-public.s3-website-us-west-1.amazonaws.com/countdown

Re: [FFmpeg-devel] [PATCH v1] avformat/imf: add IMF CPL with repeated resources to FATE

2022-01-02 Thread Pierre-Anthony Lemieux
On Sun, Jan 2, 2022 at 2:48 PM James Almer wrote: > > > > On 1/2/2022 3:54 PM, p...@sandflow.com wrote: > > From: Pierre-Anthony Lemieux > > > > Signed-off-by: Pierre-Anthony Lemieux > > --- > > > > Notes: > > The `fate-imf-cpl-with-repeat` target currently references online > > resources.

Re: [FFmpeg-devel] [PATCH v2] avformat/imf: add IMF CPL with repeated resources to FATE

2022-01-02 Thread James Almer
On 1/2/2022 8:16 PM, p...@sandflow.com wrote: From: Pierre-Anthony Lemieux Signed-off-by: Pierre-Anthony Lemieux --- Notes: The `fate-imf-cpl-with-repeat` target requires following files (<256 kB) to placed under $(TARGET_SAMPLES)/imf/countdown/: http://ffmpeg-imf-sampl

Re: [FFmpeg-devel] [PATCH v2] avformat/imf: add IMF CPL with repeated resources to FATE

2022-01-02 Thread Pierre-Anthony Lemieux
On Sun, Jan 2, 2022 at 3:28 PM James Almer wrote: > > > > On 1/2/2022 8:16 PM, p...@sandflow.com wrote: > > From: Pierre-Anthony Lemieux > > > > Signed-off-by: Pierre-Anthony Lemieux > > --- > > > > Notes: > > The `fate-imf-cpl-with-repeat` target requires following files (<256 > > kB) > >

Re: [FFmpeg-devel] [PATCH v2] avformat/imf: add IMF CPL with repeated resources to FATE

2022-01-02 Thread James Almer
On 1/2/2022 8:38 PM, Pierre-Anthony Lemieux wrote: On Sun, Jan 2, 2022 at 3:28 PM James Almer wrote: On 1/2/2022 8:16 PM, p...@sandflow.com wrote: From: Pierre-Anthony Lemieux Signed-off-by: Pierre-Anthony Lemieux --- Notes: The `fate-imf-cpl-with-repeat` target requires follow

[FFmpeg-devel] [PATCH v3] avformat/imf: add IMF CPL with repeated resources to FATE

2022-01-02 Thread pal
From: Pierre-Anthony Lemieux Signed-off-by: Pierre-Anthony Lemieux --- Notes: The `fate-imf-cpl-with-repeat` target requires following files (<256 kB) to placed under $(TARGET_SAMPLES)/imf/countdown/: http://ffmpeg-imf-samples-public.s3-website-us-west-1.amazonaws.com/countdown

Re: [FFmpeg-devel] [PATCH v2] avformat/imf: add IMF CPL with repeated resources to FATE

2022-01-02 Thread Pierre-Anthony Lemieux
On Sun, Jan 2, 2022 at 3:42 PM James Almer wrote: > > > > On 1/2/2022 8:38 PM, Pierre-Anthony Lemieux wrote: > > On Sun, Jan 2, 2022 at 3:28 PM James Almer wrote: > >> > >> > >> > >> On 1/2/2022 8:16 PM, p...@sandflow.com wrote: > >>> From: Pierre-Anthony Lemieux > >>> > >>> Signed-off-by: Pierr

[FFmpeg-devel] [PATCH v10 3/6] ffprobe: Support AV_FRAME_DATA_DOVI_METADATA

2022-01-02 Thread Niklas Haas
From: Jan Ekström Co-authored-by: Niklas Haas --- fftools/ffprobe.c | 173 +- 1 file changed, 170 insertions(+), 3 deletions(-) diff --git a/fftools/ffprobe.c b/fftools/ffprobe.c index 906bb03b16..20582ca7ac 100644 --- a/fftools/ffprobe.c +++ b/fftoo

[FFmpeg-devel] [PATCH v10 5/6] fate: Limit Dolby Vision RPU test frame count

2022-01-02 Thread Niklas Haas
From: Niklas Haas To avoid the ref for this growing to a very large size when attaching the parsed RPU side data. Since this sample does not have any dynamic metadata, two frames will serve just as well as 100. Signed-off-by: Niklas Haas --- tests/fate/hevc.mak| 2 +- tests/ref/fate/

[FFmpeg-devel] [PATCH v10 2/6] lavfi/showinfo: Support AV_FRAME_DATA_DOVI_METADATA

2022-01-02 Thread Niklas Haas
From: Niklas Haas Signed-off-by: Niklas Haas --- libavfilter/vf_showinfo.c | 108 ++ 1 file changed, 108 insertions(+) diff --git a/libavfilter/vf_showinfo.c b/libavfilter/vf_showinfo.c index 62c7833247..909ad4f8d7 100644 --- a/libavfilter/vf_showinfo.c +++

[FFmpeg-devel] [PATCH v10 4/6] lavc: Implement Dolby Vision RPU parsing

2022-01-02 Thread Niklas Haas
From: Niklas Haas Based on a mixture of guesswork, partial documentation in patents, and reverse engineering of real-world samples. Confirmed working for all the samples I've thrown at it. Contains some annoying machinery to persist these values in between frames, which is needed in theory even

[FFmpeg-devel] [PATCH v10 1/6] lavu/frame: Add Dolby Vision metadata side data type

2022-01-02 Thread Niklas Haas
From: Niklas Haas In order to be able to extend this struct later (as the Dolby Vision RPU evolves), all of the structs are considered extensible, and the individual constituent fields must instead be accessed via offsets. The precedent for this style of access is set in Signed-off-by: Niklas H

[FFmpeg-devel] [PATCH v10 6/6] lavc/hevcdec: Parse DOVI RPU NALs

2022-01-02 Thread Niklas Haas
From: Niklas Haas And expose the parsed values as frame side data. Update FATE results to match. It's worth documenting that this relies on the dovi configuration record being present on the first AVPacket fed to the decoder, which in practice is the case if if the API user has called something

[FFmpeg-devel] [PATCH] lavu/videotoolbox: add support for memory mapping frames

2022-01-02 Thread Cameron Gutman
Signed-off-by: Cameron Gutman --- libavutil/hwcontext_videotoolbox.c | 25 + 1 file changed, 25 insertions(+) diff --git a/libavutil/hwcontext_videotoolbox.c b/libavutil/hwcontext_videotoolbox.c index 0a8dbe9f33..026127d412 100644 --- a/libavutil/hwcontext_videotoolbox.c

Re: [FFmpeg-devel] [PATCH] lavu/videotoolbox: add support for memory mapping frames

2022-01-02 Thread Aman Karmani
On Sun, Jan 2, 2022 at 4:33 PM Cameron Gutman wrote: > Signed-off-by: Cameron Gutman > --- > libavutil/hwcontext_videotoolbox.c | 25 + > 1 file changed, 25 insertions(+) > > diff --git a/libavutil/hwcontext_videotoolbox.c > b/libavutil/hwcontext_videotoolbox.c > index 0

Re: [FFmpeg-devel] [PATCH] lavu/videotoolbox: add support for memory mapping frames

2022-01-02 Thread Cameron Gutman
On 1/2/22 19:21, Aman Karmani wrote: > > > On Sun, Jan 2, 2022 at 4:33 PM Cameron Gutman > wrote: > > Signed-off-by: Cameron Gutman > > --- >  libavutil/hwcontext_videotoolbox.c | 25 + >  1 file

Re: [FFmpeg-devel] [PATCH 5/5] avfilter/vf_blend: fix un-checked potential memory allocation failure

2022-01-02 Thread Lynne
2 Jan 2022, 15:51 by jianhua.wu-at-intel@ffmpeg.org: > Signed-off-by: Wu Jianhua > --- > libavfilter/vf_blend.c | 6 +- > 1 file changed, 5 insertions(+), 1 deletion(-) > > diff --git a/libavfilter/vf_blend.c b/libavfilter/vf_blend.c > index b6f3c4fed3..2d433e439f 100644 > --- a/libavfil

[FFmpeg-devel] [PATCH] lavu/hwcontext_drm: don't fail mapping when dst format is unset

2022-01-02 Thread Cameron Gutman
av_hwframe_map() is documented to work with a blank dst frame, but hwcontext_drm currently fails if dst->format == AV_PIX_FMT_NONE. Signed-off-by: Cameron Gutman --- libavutil/hwcontext_drm.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/libavutil/hwcontext_drm.c b/libav

Re: [FFmpeg-devel] [RFC/PATCH 1/2] lavf: add a flag for experimental (de)muxers

2022-01-02 Thread Andreas Rheinhardt
Lynne: > 2 Jan 2022, 18:46 by an...@khirnov.net: > >> --- >> doc/APIchanges | 3 +++ >> libavformat/avformat.h | 7 +++ >> libavformat/format.c | 2 ++ >> libavformat/version.h | 2 +- >> 4 files changed, 13 insertions(+), 1 deletion(-) >> >> diff --git a/doc/APIchanges b/doc/APIch

[FFmpeg-devel] [PATCH] avformat/imfdec: Actually return error upon error

2022-01-02 Thread Andreas Rheinhardt
Signed-off-by: Andreas Rheinhardt --- libavformat/imfdec.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/libavformat/imfdec.c b/libavformat/imfdec.c index f17064cfcd..da8c6cddea 100644 --- a/libavformat/imfdec.c +++ b/libavformat/imfdec.c @@ -564,9 +564,8 @@ static int set

Re: [FFmpeg-devel] [PATCH] avfilter/vf_libvmaf: update filter for libvmaf v2.0.0

2022-01-02 Thread Andreas Rheinhardt
Kyle Swanson: > Hi, > > On Sat, Dec 25, 2021 at 1:24 AM Paul B Mahol wrote: >> >> On Fri, Dec 24, 2021 at 9:52 PM Kyle Swanson wrote: >> >>> Hi, >>> >>> Never followed through on this vf_libvmaf patch from last June, and >>> I've had several people asking about its status lately. Rebased patch >

Re: [FFmpeg-devel] [PATCH] avformat/imfdec: Actually return error upon error

2022-01-02 Thread Andreas Rheinhardt
Andreas Rheinhardt: > Signed-off-by: Andreas Rheinhardt > --- > libavformat/imfdec.c | 3 +-- > 1 file changed, 1 insertion(+), 2 deletions(-) > > diff --git a/libavformat/imfdec.c b/libavformat/imfdec.c > index f17064cfcd..da8c6cddea 100644 > --- a/libavformat/imfdec.c > +++ b/libavformat/imfde

Re: [FFmpeg-devel] 5.0 release

2022-01-02 Thread Jean-Baptiste Kempf
On Fri, 31 Dec 2021, at 20:40, Michael Niedermayer wrote: >> It would be nice to have a public date set a few days into the future. > > yes, i intended to do that, unless people wanted a ASAP/NOW branch So what are the open topics, besides the Audio Channel Layout API? Best, -- Jean-Baptiste Ke

Re: [FFmpeg-devel] [PATCH 02/11] avcodec/raw: Reduce number of avpriv symbols

2022-01-02 Thread Andreas Rheinhardt
Anton Khirnov: > Quoting Andreas Rheinhardt (2021-12-15 13:35:32) >> libavcodec currently exports four avpriv symbols that deal with >> PixelFormatTags: avpriv_get_raw_pix_fmt_tags, avpriv_find_pix_fmt, >> avpriv_pix_fmt_bps_avi and avpriv_pix_fmt_bps_mov. The latter two are >> lists of PixelFormat

Re: [FFmpeg-devel] [PATCH v9 4/6] lavc: Implement Dolby Vision RPU parsing

2022-01-02 Thread Andreas Rheinhardt
Hendrik Leppkes: > Andreas Rheinhardt schrieb am So., 2. Jan. > 2022, 05:18: > >> Niklas Haas: >>> From: Niklas Haas >>> >>> Based on a mixture of guesswork, partial documentation in patents, and >>> reverse engineering of real-world samples. Confirmed working for all the >>> samples I've thrown

[FFmpeg-devel] [PATCH] configure: Make IMF demuxer require MXF demuxer

2022-01-02 Thread Andreas Rheinhardt
The former is useless without the latter. Signed-off-by: Andreas Rheinhardt --- configure | 1 + 1 file changed, 1 insertion(+) diff --git a/configure b/configure index 6ad70b9f7b..e2ea473565 100755 --- a/configure +++ b/configure @@ -3416,6 +3416,7 @@ hls_muxer_suggest="gcrypt openssl" image2

Re: [FFmpeg-devel] [PATCH] avformat/mxfdec: support MCA audio information

2022-01-02 Thread Andreas Rheinhardt
Pierre-Anthony Lemieux: > On Sat, Jan 1, 2022 at 5:35 PM Andreas Rheinhardt > wrote: >> >> Pierre-Anthony Lemieux: >>> Minor suggestion below. >>> >>> In addition, will sample file(s) be added to FATE? Below are two examples: >>> >>> http://ffmpeg-imf-samples-public.s3.us-west-1.amazonaws.com/call