Re: [FFmpeg-devel] [PATCH v2 3/3] libavcodec/qsvdec: using suggested num to set init_pool_size

2022-03-27 Thread Xiang, Haihao
On Fri, 2022-03-18 at 07:40 +, Soft Works wrote: > > -Original Message- > > From: ffmpeg-devel On Behalf Of > > Wenbin Chen > > Sent: Friday, March 18, 2022 7:25 AM > > To: ffmpeg-devel@ffmpeg.org > > Subject: [FFmpeg-devel] [PATCH v2 3/3] libavcodec/qsvdec: using > > suggested num to

Re: [FFmpeg-devel] [PATCH 1/4] avutil: add ambient viewing environment metadata side data

2022-03-27 Thread lance . lmwang
On Sun, Mar 27, 2022 at 08:30:30PM -0300, James Almer wrote: > > > On 3/27/2022 8:25 PM, lance.lmw...@gmail.com wrote: > > From: Limin Wang > > > > Signed-off-by: Limin Wang > > --- > > libavutil/Makefile | 2 + > > libavutil/ambient_viewing_env_metadata.c | 47 ++

[FFmpeg-devel] [PATCH 2/2] avcodec/cbs_av1: also copy the last frame header's decomposed content when parsing redundant frame headers

2022-03-27 Thread James Almer
This prevents CBS from propagating zeroed AV1RawFrameHeader units in reading scenarios. Writing scenarios remain unaffected as the content of these units is not used to assemble the bitstream. Signed-off-by: James Almer --- libavcodec/cbs_av1.c | 11 +++ libavcodec/cbs_av

[FFmpeg-devel] [PATCH 1/2] avcodec/cbs_av1: rename the private frame_header fields to frame_header_data

2022-03-27 Thread James Almer
It doesn't contain the decomposed struct, but the raw bitstream. This is in preparation for the following patch. Signed-off-by: James Almer --- libavcodec/cbs_av1.c | 6 +++--- libavcodec/cbs_av1.h | 6 +++--- libavcodec/cbs_av1_syntax_template.c | 28 ++

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

2022-03-27 Thread Mark Gaiser
On Wed, Mar 23, 2022 at 12:24 PM Mark Gaiser wrote: > On Fri, Mar 18, 2022 at 3:59 PM Mark Gaiser wrote: > >> On Fri, Mar 18, 2022 at 3:50 PM Mark Gaiser wrote: >> >>> This patch adds support for: >>> - ffplay ipfs:// >>> - ffplay ipns:// >>> >>> IPFS data can be played from so called "ipfs gat

Re: [FFmpeg-devel] [PATCH 1/4] avutil: add ambient viewing environment metadata side data

2022-03-27 Thread James Almer
On 3/27/2022 8:25 PM, lance.lmw...@gmail.com wrote: From: Limin Wang Signed-off-by: Limin Wang --- libavutil/Makefile | 2 + libavutil/ambient_viewing_env_metadata.c | 47 + libavutil/ambient_viewing_env_metadata.h | 72

[FFmpeg-devel] [PATCH 4/4] fftools/ffprobe: add support for ambient viewing environment metadata

2022-03-27 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- fftools/ffprobe.c | 6 ++ tests/ref/fate/hevc-dv-rpu | 6 ++ 2 files changed, 12 insertions(+) diff --git a/fftools/ffprobe.c b/fftools/ffprobe.c index 05c167e..5abe496 100644 --- a/fftools/ffprobe.c +++ b/fftools/ffprobe.c @@ -52

[FFmpeg-devel] [PATCH 3/4] avfilter/vf_showinfo: add support for ambient viewing environment metadata

2022-03-27 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- libavfilter/vf_showinfo.c | 13 + 1 file changed, 13 insertions(+) diff --git a/libavfilter/vf_showinfo.c b/libavfilter/vf_showinfo.c index 12d3931..ad86251 100644 --- a/libavfilter/vf_showinfo.c +++ b/libavfilter/vf_showinfo.c @@ -42,

[FFmpeg-devel] [PATCH 2/4] avcodec: add support for hevc ambient viewing environment SEI message

2022-03-27 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- libavcodec/hevc_sei.c | 19 +++ libavcodec/hevc_sei.h | 8 libavcodec/hevcdec.c | 11 +++ tests/ref/fate/hevc-dv-rpu | 6 ++ 4 files changed, 44 insertions(+) diff --git a/libavcodec/hevc_sei.

[FFmpeg-devel] [PATCH 1/4] avutil: add ambient viewing environment metadata side data

2022-03-27 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- libavutil/Makefile | 2 + libavutil/ambient_viewing_env_metadata.c | 47 + libavutil/ambient_viewing_env_metadata.h | 72 libavutil/frame.c| 1 + l

[FFmpeg-devel] [PATCH] avcodec/libsvtav1: give svtav1-params priority over avctx values

2022-03-27 Thread James Almer
If the svt equivalent option to an avctx AVOption is passed by the user then it should have priority. The exception are fields like dimensions, bitdepth and pixel format, which must match what lavc will feed the encoder after init. This addresses libsvt-av1 issue #1858. Signed-off-by: James Almer

Re: [FFmpeg-devel] [PATCH] avfilter/alimiter: Add "flush_buffer" option to flush the remaining valid data to the output

2022-03-27 Thread Marton Balint
On Sat, 26 Mar 2022, Wang Cao wrote: The change in the commit will add some samples to the end of the audio stream. The intention is to add a "zero_delay" option eventually to not have the delay in the begining the output from alimiter due to lookahead. I was very much suprised to see that

[FFmpeg-devel] [PATCH 2/2] avcodec/libsvtav1: clean up unconditional override of avctx bit rate

2022-03-27 Thread Jan Ekström
This value is only documented to be utilized if rate control is set to one of the bit rate based modes. These modes are not the default and thus the wrapper itself configures a bit rate according to the avctx if bit rate based encoding is requested, making the relevant value already be set when rel

[FFmpeg-devel] [PATCH 1/2] avcodec/libsvtav1: signal CPB properties through side data

2022-03-27 Thread Jan Ekström
This way values such as maxrate/bufsize can be utilized further down the chain. The libavcodec values are utilized instead of from the encoder configuration struct since: 1) both utilize bits per second, so no loss of precision occured. 2) the struct defaults various values to nonzero - even thou

[FFmpeg-devel] [PATCH] Add decoding of > 32-bit residuals to FLAC

2022-03-27 Thread Martijn van Beurden
The size of residuals in a FLAC file coding for 24-bit PCM can exceed the range of a 32-bit signed integer. One pathological example with residuals exceeding [-2^33,2^33) can be found here: http://www.audiograaf.nl/misc_stuff/Extreme%20residual%20LPC%20order%2014.flac The theorectical maximum bit

Re: [FFmpeg-devel] [PATCH] Add and use cli options for v4l2

2022-03-27 Thread Neal Gompa
On Fri, Mar 25, 2022 at 10:40 PM wrote: > > Oops, accidentally submitted with the wrong title so not in the right thread. > Is submitted with the right one now. > > A re-submit of a re-base of a formerly proposed patch to align with ffmpeg > github > commit 8ae15b565533944d042d3caf25f7262e002e895

Re: [FFmpeg-devel] [PATCH v4 1/2] lavc/vaapi_encode: add support for maxframesize

2022-03-27 Thread Wang, Fei W
> -Original Message- > From: Andriy Gelman > Sent: Saturday, March 26, 2022 11:21 PM > To: Wang, Fei W > Cc: ffmpeg-devel@ffmpeg.org > Subject: Re: [PATCH v4 1/2] lavc/vaapi_encode: add support for maxframesize > > On Wed, 23. Mar 08:51, Wang, Fei W wrote: > > > -Original Message-

Re: [FFmpeg-devel] [PATCH 1/4] avformat/alp: Check num_channels

2022-03-27 Thread Michael Niedermayer
On Sun, Mar 20, 2022 at 02:47:36PM +0100, Michael Niedermayer wrote: > Fixes: division by 0 > Fixes: > 45615/clusterfuzz-testcase-minimized-ffmpeg_dem_ALP_fuzzer-582660348405350 > Fixes: > 45625/clusterfuzz-testcase-minimized-ffmpeg_dem_ALP_fuzzer-4821437943250944 > > Found-by: continuous fuzzin

Re: [FFmpeg-devel] [PATCH 2/2] avformat: Do not search through the AVOption table for a option not in it repeatedly on each packet

2022-03-27 Thread Michael Niedermayer
On Sat, Mar 26, 2022 at 03:25:09PM +0100, Paul B Mahol wrote: > probably fine will apply thx [...] -- Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB In fact, the RIAA has been known to suggest that students drop out of college or go to community college in order to be

Re: [FFmpeg-devel] web/consulting: add myself

2022-03-27 Thread Michael Niedermayer
On Sun, Mar 27, 2022 at 10:02:47AM +0530, Gyan Doshi wrote: > > > On 2022-03-27 05:15 am, Michael Niedermayer wrote: > > On Thu, Mar 24, 2022 at 03:53:56PM +0100, Tomas Härdin wrote: > > > consulting | 12 > > > 1 file changed, 12 insertions(+) > > > 901f8f38d654798a4fcb579ac2e5