Re: [FFmpeg-devel] [PATCH 1/4] avutil: add support for CUVA HDR Vivid metadata

2022-02-14 Thread lance . lmwang
On Tue, Feb 15, 2022 at 08:08:51AM +0100, Andreas Rheinhardt wrote: > lance.lmw...@gmail.com: > > From: Limin Wang > > > > Signed-off-by: Limin Wang > > --- > > libavutil/Makefile | 2 + > > libavutil/frame.c | 1 + > > libavutil/frame.h

Re: [FFmpeg-devel] [PATCH 1/4] avutil: add support for CUVA HDR Vivid metadata

2022-02-14 Thread Andreas Rheinhardt
lance.lmw...@gmail.com: > From: Limin Wang > > Signed-off-by: Limin Wang > --- > libavutil/Makefile | 2 + > libavutil/frame.c | 1 + > libavutil/frame.h | 7 + > libavutil/hdr_dynamic_vivid_metadata.c | 47 ++ >

[FFmpeg-devel] [PATCH v2] libavcodec/qsvenc_hevc: encode RGB format rawvideo

2022-02-14 Thread Wenbin Chen
Add support for hevc_qsv to input RGB format frame. It will transform frame to yuv inside MediaSDK instead of using auto scale. Now hevc_qsv supports directly encoding BGRA and X2RGB10 format. X2RGB10 is only supported in VDENC (-low_power 1). The X2RGB10 correspond to the A2RGB20 format in

Re: [FFmpeg-devel] [PATCH] libavcodec/qsvenc_hevc: encode RGB format rawvideo

2022-02-14 Thread Chen, Wenbin
> Wenbin Chen: > > Add support for hevc_qsv to input RGB format frame. It will > > transform frame to yuv inside MediaSDK instead of using auto > > scale. Now hevc_qsv supports directly encoding BGRA and X2RGB10 > > format. X2RGB10 is only supported in VDENC (-low_power 1). > > The X2RGB10

Re: [FFmpeg-devel] Optimize HEVC decoding for loongarch

2022-02-14 Thread 殷时友
> 2022年2月14日 下午4:25,Hao Chen 写道: > > ffmpeg -i 5_h265_1080p_60fps_3Mbps.mkv -f rawvideo -y /dev/null -an > before: 94fps > after : 191fps > > [PATCH v1 1/5] avutil: [loongarch] Update loongson_intrinsics.h to > [PATCH v1 2/5] avcodec: [loongarch] Optimize Hevcdsp with LSX. > [PATCH v1 3/5]

Re: [FFmpeg-devel] [PATCH 4/4] avformat: add Argonaut Games CVG muxer

2022-02-14 Thread Zane van Iperen
On 15/2/22 05:32, Michael Niedermayer wrote: +static int argo_cvg_write_trailer(AVFormatContext *s) +{ +ArgoCVGMuxContext *ctx = s->priv_data; +int64_t ret; + +av_log(s, AV_LOG_TRACE, "size = %zu\n", ctx->size); +av_log(s, AV_LOG_TRACE, "checksum = %u\n", ctx->checksum);

[FFmpeg-devel] [PATCH 4/4] fftool/ffprobe: support for CUVA HDR Vivid metadata

2022-02-14 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- fftools/ffprobe.c | 70 +++ 1 file changed, 70 insertions(+) diff --git a/fftools/ffprobe.c b/fftools/ffprobe.c index 8a8e3de..0e8f1d5 100644 --- a/fftools/ffprobe.c +++ b/fftools/ffprobe.c @@

[FFmpeg-devel] [PATCH 3/4] avfilter: support for CUVA HDR Vivid metadata

2022-02-14 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- libavfilter/vf_showinfo.c | 86 +++ 1 file changed, 86 insertions(+) diff --git a/libavfilter/vf_showinfo.c b/libavfilter/vf_showinfo.c index 71728bc..bee84b2 100644 --- a/libavfilter/vf_showinfo.c +++

[FFmpeg-devel] [PATCH 2/4] avcodec: support for CUVA HDR Vivid metadata

2022-02-14 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- libavcodec/Makefile| 2 +- libavcodec/dynamic_hdr_vivid.c | 139 + libavcodec/dynamic_hdr_vivid.h | 35 +++ libavcodec/hevc_sei.c | 48 +- libavcodec/hevc_sei.h

[FFmpeg-devel] [PATCH 1/4] avutil: add support for CUVA HDR Vivid metadata

2022-02-14 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- libavutil/Makefile | 2 + libavutil/frame.c | 1 + libavutil/frame.h | 7 + libavutil/hdr_dynamic_vivid_metadata.c | 47 ++ libavutil/hdr_dynamic_vivid_metadata.h | 285

[FFmpeg-devel] [PATCH 6/6] avcodec/setts_bsf: add constants to modify packet duration

2022-02-14 Thread James Almer
Signed-off-by: James Almer --- Missing doc changes. libavcodec/setts_bsf.c | 25 - 1 file changed, 24 insertions(+), 1 deletion(-) diff --git a/libavcodec/setts_bsf.c b/libavcodec/setts_bsf.c index 35266ee251..46f9a30103 100644 --- a/libavcodec/setts_bsf.c +++

[FFmpeg-devel] [PATCH 5/6] avcodec/setts_bsf: add NEXT_PTS/DTS expression constants

2022-02-14 Thread James Almer
They correspond to the relevant fields in the packet that follows the one where the expressions are being applied to. Signed-off-by: James Almer --- Missing doc changes. libavcodec/setts_bsf.c | 76 -- 1 file changed, 51 insertions(+), 25 deletions(-)

[FFmpeg-devel] [PATCH 4/6] ffmpeg: don't skip packets before a keyframe was seen if a bsf with delay is used

2022-02-14 Thread James Almer
A keyframe could be buffered in the bsf and not be output until more packets had been fed to it. Signed-off-by: James Almer --- fftools/ffmpeg.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/fftools/ffmpeg.c b/fftools/ffmpeg.c index 6aa0986f02..48d9016b4c 100644 ---

[FFmpeg-devel] [PATCH 3/6] avcodec/bsf: set delay capability on the list filter

2022-02-14 Thread James Almer
AVBitStreamFilter structures are const, so we can't set its capabilities based on the filters added to the list. Set the delay cap to ensure correct behavior if any bsf in the list sets it. Signed-off-by: James Almer --- libavcodec/bsf.c | 1 + 1 file changed, 1 insertion(+) diff --git

[FFmpeg-devel] [PATCH 2/6] avcodec/bsf: add a capabilities field to AVBitStreamFilter

2022-02-14 Thread James Almer
And a first flag to signal that the bsf buffers packets and needs to be drained Signed-off-by: James Almer --- Missing APIChanges entry and version bump. libavcodec/bsf.h | 12 1 file changed, 12 insertions(+) diff --git a/libavcodec/bsf.h b/libavcodec/bsf.h index

[FFmpeg-devel] [PATCH 1/6] ffmpeg: flush delayed frames in codec copy scenarios

2022-02-14 Thread James Almer
Bitstream filters inserted between the input and output were never drained, resulting packets being lost if the bsf had any buffered. Signed-off-by: James Almer --- fftools/ffmpeg.c| 11 +++ fftools/ffmpeg.h| 1 + fftools/ffmpeg_filter.c | 1 + fftools/ffmpeg_opt.c

Re: [FFmpeg-devel] [PATCH 3/3] configure: check avisynth header version

2022-02-14 Thread Stephen Hutchinson
On 2/14/22 6:56 AM, Gyan Doshi wrote: On 2022-02-14 05:04 am, Stephen Hutchinson wrote: On 2/8/22 6:02 AM, Stephen Hutchinson wrote: The headers from version 3.7.1 are needed in order to support parsing of frame properties. avs/version.h has been generated as part of the AviSynth+ build

Re: [FFmpeg-devel] [PATCH 1/4] avformat/matroskadec: Check duration

2022-02-14 Thread Andreas Rheinhardt
Michael Niedermayer: > Fixes: -nan is outside the range of representable values of type 'long' > Fixes: > 44614/clusterfuzz-testcase-minimized-ffmpeg_dem_WEBM_DASH_MANIFEST_fuzzer-6216204841254912 > > Found-by: continuous fuzzing process >

Re: [FFmpeg-devel] [PATCH 2/4] avcodec/movtextdec: add () to CMP() macro to avoid unexpected behavior

2022-02-14 Thread Andreas Rheinhardt
Michael Niedermayer: > Signed-off-by: Michael Niedermayer > --- > libavcodec/movtextdec.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/libavcodec/movtextdec.c b/libavcodec/movtextdec.c > index 825632ca9b..dc30fdc698 100644 > --- a/libavcodec/movtextdec.c > +++

[FFmpeg-devel] [PATCH 4/4] avformat/argo_cvg:: Fix order of operations in error check in argo_cvg_write_trailer()

2022-02-14 Thread Michael Niedermayer
Signed-off-by: Michael Niedermayer --- libavformat/argo_cvg.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavformat/argo_cvg.c b/libavformat/argo_cvg.c index e1854b4493..c5da32536d 100644 --- a/libavformat/argo_cvg.c +++ b/libavformat/argo_cvg.c @@ -350,7 +350,7 @@

[FFmpeg-devel] [PATCH 2/4] avcodec/movtextdec: add () to CMP() macro to avoid unexpected behavior

2022-02-14 Thread Michael Niedermayer
Signed-off-by: Michael Niedermayer --- libavcodec/movtextdec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/movtextdec.c b/libavcodec/movtextdec.c index 825632ca9b..dc30fdc698 100644 --- a/libavcodec/movtextdec.c +++ b/libavcodec/movtextdec.c @@ -263,7 +263,7 @@

[FFmpeg-devel] [PATCH 3/4] avformat/argo_asf: Fix order of operations in error check in argo_asf_write_trailer()

2022-02-14 Thread Michael Niedermayer
Signed-off-by: Michael Niedermayer --- libavformat/argo_asf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavformat/argo_asf.c b/libavformat/argo_asf.c index 2b3569ebc3..d26844d1e2 100644 --- a/libavformat/argo_asf.c +++ b/libavformat/argo_asf.c @@ -423,7 +423,7 @@

[FFmpeg-devel] [PATCH 1/4] avformat/matroskadec: Check duration

2022-02-14 Thread Michael Niedermayer
Fixes: -nan is outside the range of representable values of type 'long' Fixes: 44614/clusterfuzz-testcase-minimized-ffmpeg_dem_WEBM_DASH_MANIFEST_fuzzer-6216204841254912 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael

Re: [FFmpeg-devel] [PATCH 4/4] avformat: add Argonaut Games CVG muxer

2022-02-14 Thread Michael Niedermayer
On Mon, May 03, 2021 at 09:31:57PM +1000, Zane van Iperen wrote: > Signed-off-by: Zane van Iperen > --- > Changelog| 1 + > libavformat/Makefile | 1 + > libavformat/allformats.c | 1 + > libavformat/argo_cvg.c | 149 ++- >

[FFmpeg-devel] [PATCH] avutil/x86/emms: Don't unnecessarily include lavu/cpu.h

2022-02-14 Thread Andreas Rheinhardt
Only include it if it is needed, namely if __MMX__ is undefined. X86 is currently the only arch where lavu/cpu.h is basically automatically included (for internal development): #if ARCH_X86 is true, lavu/internal.h (which is basically included everywhere) includes lavu/x86/emms.h which can mask

Re: [FFmpeg-devel] [Patch] libavfilter/vf_fftfilt.c : fix missing include for av_cpu_max_align symbol

2022-02-14 Thread Andreas Rheinhardt
Pascal Massimino: > Attached. > > skal/ > Applied with a commit message that is more in line with our conventions. - Andreas ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit

[FFmpeg-devel] [Patch] libavfilter/vf_fftfilt.c : fix missing include for av_cpu_max_align symbol

2022-02-14 Thread Pascal Massimino
Attached. skal/ 0001-fix-missing-cpu.h-include.patch Description: Binary data ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email

Re: [FFmpeg-devel] [PATCH 2/3] [WIP] avcodec: add HVQM4 Video decoder

2022-02-14 Thread Andreas Rheinhardt
Paul B Mahol: > Signed-off-by: Paul B Mahol > --- > libavcodec/Makefile |1 + > libavcodec/allcodecs.c |1 + > libavcodec/codec_desc.c |7 + > libavcodec/codec_id.h |1 + > libavcodec/hvqm4.c | 1719 +++ > 5 files changed, 1729

Re: [FFmpeg-devel] [PATCH] avformat/id3v2: Add Grouping frame to id3v2.4 metadata table

2022-02-14 Thread Anton Khirnov
Quoting Wolfgang Müller (2022-02-13 14:46:33) > The ID3v2.4.0 standard defines TIT1 as the "Content group description" > tag [1]. This frame is usually referred to as the "Grouping" tag and in > de-facto use under that name by Vorbis and APEv2 [2]. > > This commit introduces a mapping from "TIT1"

Re: [FFmpeg-devel] [PATCH 1/3] avcodec: add ADPCM IMA HVQM4 decoder

2022-02-14 Thread Anton Khirnov
tests please, for all of these -- Anton Khirnov ___ 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

Re: [FFmpeg-devel] [PATCH] avformat/gnutls: Use the systems default crypto policy

2022-02-14 Thread Anton Khirnov
Quoting Andreas Schneider (2022-02-11 08:34:14) > We should use the systems crypto policy by default. If there is no > system policy, gnutls will use the "NORMAL" policy. > > Signed-off-by: Andreas Schneider > --- > libavformat/tls_gnutls.c | 2 +- > 1 file changed, 1 insertion(+), 1

Re: [FFmpeg-devel] [PATCH 275/281] avfilter: convert to new channel layout API

2022-02-14 Thread Anton Khirnov
Quoting James Almer (2022-01-13 03:09:07) > diff --git a/libavfilter/af_apulsator.c b/libavfilter/af_apulsator.c > index c2a8de0e0b..c3ca752035 100644 > --- a/libavfilter/af_apulsator.c > +++ b/libavfilter/af_apulsator.c > @@ -192,7 +192,7 @@ static int query_formats(AVFilterContext *ctx) > >

[FFmpeg-devel] [PATCH] configure: move ranlib -D test after setting defaults

2022-02-14 Thread Adrian Ratiu
In Gentoo and ChromeOS we want to allow pure LLVM builds without using GNU tools, so we block any unwanted mixed GNU/LLVM usages (GNU tools are still kept around in our chroots for projects like glibc which cannot yet be built otherwise). The default ${cross_prefix}${ranlib_default} points to GNU

[FFmpeg-devel] [PATCH] arm64: Add Armv8.3-A PAC support to assembly files

2022-02-14 Thread Andre Kempe
This patch adds optional support for Arm Pointer Authentication Codes. PAC support is turned on or off at compile time using additional compiler flags. Unless any of these is enabled explicitly, no additional code will be emitted at all. Signed-off-by: André Kempe ---

Re: [FFmpeg-devel] [PATCH 3/3] configure: check avisynth header version

2022-02-14 Thread Gyan Doshi
On 2022-02-14 05:04 am, Stephen Hutchinson wrote: On 2/8/22 6:02 AM, Stephen Hutchinson wrote: The headers from version 3.7.1 are needed in order to support parsing of frame properties. avs/version.h has been generated as part of the AviSynth+ build process for a long time, but was never

Re: [FFmpeg-devel] [PATCH 0/2] Some cleanup for header includes

2022-02-14 Thread Andreas Rheinhardt
Andreas Schneider: > Just some small header cleanup. > > Andreas Schneider (2): > avcodec/exif: Include bytestream.h for GetByteContext > avcodec/exif: Include tiff_common.h only where needed > > libavcodec/exif.c | 1 + > libavcodec/exif.h | 2 +- > libavcodec/mjpegdec.c | 1 + >

Re: [FFmpeg-devel] [patch] libavcodec/videotoolbox.c : fix missing AVCodecInternal

2022-02-14 Thread Pascal Massimino
On Mon, Feb 14, 2022 at 11:30 AM wrote: > On Mon, Feb 14, 2022 at 11:05:58AM +0100, Andreas Rheinhardt wrote: > > lance.lmw...@gmail.com: > > > On Mon, Feb 14, 2022 at 08:27:39AM +0100, Pascal Massimino wrote: > > >> attached. Just a missing include. > > > > > > I have submit a patch for it

Re: [FFmpeg-devel] [patch] libavcodec/videotoolbox.c : fix missing AVCodecInternal

2022-02-14 Thread lance . lmwang
On Mon, Feb 14, 2022 at 11:05:58AM +0100, Andreas Rheinhardt wrote: > lance.lmw...@gmail.com: > > On Mon, Feb 14, 2022 at 08:27:39AM +0100, Pascal Massimino wrote: > >> attached. Just a missing include. > > > > I have submit a patch for it already, if you think it's OK, I can push it > > soon. >

Re: [FFmpeg-devel] [patch] libavcodec/videotoolbox.c : fix missing AVCodecInternal

2022-02-14 Thread Andreas Rheinhardt
lance.lmw...@gmail.com: > On Mon, Feb 14, 2022 at 08:27:39AM +0100, Pascal Massimino wrote: >> attached. Just a missing include. > > I have submit a patch for it already, if you think it's OK, I can push it > soon. > I have already pushed your patch. - Andreas

Re: [FFmpeg-devel] [patch] libavcodec/videotoolbox.c : fix missing AVCodecInternal

2022-02-14 Thread lance . lmwang
On Mon, Feb 14, 2022 at 08:27:39AM +0100, Pascal Massimino wrote: > attached. Just a missing include. I have submit a patch for it already, if you think it's OK, I can push it soon. > > skal/ > ___ > ffmpeg-devel mailing list >

[FFmpeg-devel] [PATCH v2] Long path support for Windows (fixes #8885)

2022-02-14 Thread nihil-admirari
From: nihil-admirari <50202386+nihil-admir...@users.noreply.github.com> Long path support is enabled by adding a manifest to all of fftools. MAX_PATH-sized buffers are replaced with dynamically sized ones. --- compat/w32dlfcn.h| 61 +++-

Re: [FFmpeg-devel] [PATCH] libavcodec/qsvenc_hevc: encode RGB format rawvideo

2022-02-14 Thread Andreas Rheinhardt
Wenbin Chen: > Add support for hevc_qsv to input RGB format frame. It will > transform frame to yuv inside MediaSDK instead of using auto > scale. Now hevc_qsv supports directly encoding BGRA and X2RGB10 > format. X2RGB10 is only supported in VDENC (-low_power 1). > The X2RGB10 correspond to the

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

2022-02-14 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

[FFmpeg-devel] [PATCH v1 5/5] avcodec: [loongarch] Optimize Hevc_mc_uni/w with LSX.

2022-02-14 Thread Hao Chen
From: Lu Wang ffmpeg -i 5_h265_1080p_60fps_3Mbps.mkv -f rawvideo -y /dev/null -an before: 182fps after : 191fps --- libavcodec/loongarch/Makefile |4 +- libavcodec/loongarch/hevc_mc_uni_lsx.c| 1423 + libavcodec/loongarch/hevc_mc_uniw_lsx.c |

[FFmpeg-devel] [PATCH v1 4/5] avcodec: [loongarch] Optimize Hevc_mc_bi with LSX.

2022-02-14 Thread Hao Chen
ffmpeg -i 5_h265_1080p_60fps_3Mbps.mkv -f rawvideo -y /dev/null -an before: 124fps after : 182fps --- libavcodec/loongarch/Makefile |3 +- libavcodec/loongarch/hevc_mc_bi_lsx.c | 2289 + libavcodec/loongarch/hevcdsp_init_loongarch.c | 51 +

[FFmpeg-devel] [PATCH v1 1/5] avutil: [loongarch] Update loongson_intrinsics.h to v1.1.0

2022-02-14 Thread Hao Chen
The loongson_intrinsics.h file is updated from v1.0.3 version to v1.1.0. Some spelling mistakes are fixed and new functions are added. Signed-off-by: Hao Chen --- libavutil/loongarch/loongson_intrinsics.h | 1697 +++-- 1 file changed, 884 insertions(+), 813 deletions(-) diff

[FFmpeg-devel] Optimize HEVC decoding for loongarch

2022-02-14 Thread Hao Chen
ffmpeg -i 5_h265_1080p_60fps_3Mbps.mkv -f rawvideo -y /dev/null -an before: 94fps after : 191fps [PATCH v1 1/5] avutil: [loongarch] Update loongson_intrinsics.h to [PATCH v1 2/5] avcodec: [loongarch] Optimize Hevcdsp with LSX. [PATCH v1 3/5] avcodec: [loongarch] Optimize Hevc_idct/lpf with LSX.