Re: [FFmpeg-devel] [PATCH 1/8] libavcodec/jpeg2000_parser: Speed up long skips

2022-06-10 Thread Tomas Härdin
Pushed all except patch 8/8 because I'm working on something better /Tomas ___ 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

Re: [FFmpeg-devel] [PATCH] ffmpeg: add option fps_mode

2022-06-10 Thread Anton Khirnov
It seems pointless to have two options that do the same thing. If this option is added, -vsync should be deprecated. -- Anton Khirnov ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe,

[FFmpeg-devel] [PATCH] avfilter: add virtualbass filter

2022-06-10 Thread Paul B Mahol
Hi, Patch attached. From 68b1edf19c441a59fd53c0286eee841244cf5f11 Mon Sep 17 00:00:00 2001 From: Paul B Mahol Date: Mon, 30 May 2022 11:36:22 +0200 Subject: [PATCH] avfilter: add virtualbass filter Signed-off-by: Paul B Mahol --- doc/filters.texi | 20 libavfilter/Makefile

Re: [FFmpeg-devel] [PATCH] ffmpeg: add option fps_mode

2022-06-10 Thread Gyan Doshi
On 2022-06-10 02:54 pm, Anton Khirnov wrote: It seems pointless to have two options that do the same thing. If this option is added, -vsync should be deprecated. Will do. Regards, Gyan ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://

Re: [FFmpeg-devel] [PATCH v13 2/4] libavformat/avisynth.c: Remove MAX_PATH limit

2022-06-10 Thread Soft Works
> -Original Message- > From: ffmpeg-devel On Behalf Of Nil > Admirari > Sent: Thursday, June 9, 2022 9:04 PM > To: ffmpeg-devel@ffmpeg.org > Subject: [FFmpeg-devel] [PATCH v13 2/4] libavformat/avisynth.c: > Remove MAX_PATH limit > > --- > libavformat/avisynth.c | 12 +++- > 1

Re: [FFmpeg-devel] [PATCH v1] lavc/vaapi_hevc: fill rext luma/chroma offset in the right way

2022-06-10 Thread Wang, Fei W
> -Original Message- > From: Xiang, Haihao > Sent: Friday, June 10, 2022 11:49 AM > To: ffmpeg-devel@ffmpeg.org > Cc: Wang, Fei W ; Xu, Guangxin > ; linjie.justin...@gmail.com > Subject: Re: [FFmpeg-devel] [PATCH v1] lavc/vaapi_hevc: fill rext luma/chroma > offset in the right way > > On

[FFmpeg-devel] [PATCH v2] lavc/vaapi_hevc: fill rext luma/chroma offset in the right way

2022-06-10 Thread Fei Wang
From: Xu Guangxin For range extension, the luma/chroma offset is larger than 8 bits, we need fill the 16 bits version. Signed-off-by: Xu Guangxin Signed-off-by: Linjie Fu Signed-off-by: Fei Wang --- update: 1. Add some warning log. libavcodec/vaapi_hevc.c | 55 +-

[FFmpeg-devel] [PATCH v2] ffmpeg: add option fps_mode

2022-06-10 Thread Gyan Doshi
fps_mode sets video sync per output stream. Overrides vsync for matching streams. vsync is deprecated. --- doc/ffmpeg.texi | 14 -- fftools/ffmpeg.c | 9 + fftools/ffmpeg.h | 3 +++ fftools/ffmpeg_mux.c | 2 +- fftools/ffmpeg_opt.c | 42

[FFmpeg-devel] [PATCH 3/3] avcodec/avs2_parser: parse more info

2022-06-10 Thread Zhao Zhili
Including video resolution, framerate and picture type, etc. Signed-off-by: Zhao Zhili --- libavcodec/avs2.h| 27 ++ libavcodec/avs2_parser.c | 103 +++ 2 files changed, 130 insertions(+) diff --git a/libavcodec/avs2.h b/libavcodec/avs2.h ind

[FFmpeg-devel] [PATCH 2/3] avcodec/avs2_parser: split data into frames

2022-06-10 Thread Zhao Zhili
From: Zhao Zhili Before the patch, the parser split data into units, not frames. Signed-off-by: Zhao Zhili --- libavcodec/avs2.h| 2 +- libavcodec/avs2_parser.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/libavcodec/avs2.h b/libavcodec/avs2.h index 7b66f519

[FFmpeg-devel] [PATCH 1/3] avcodec/avs2: add AVS2 related definitions

2022-06-10 Thread Zhao Zhili
Replace magic numbers by enum values. Signed-off-by: Zhao Zhili --- libavcodec/avs2.h| 41 libavcodec/avs2_parser.c | 6 +- 2 files changed, 42 insertions(+), 5 deletions(-) create mode 100644 libavcodec/avs2.h diff --git a/libavcodec/avs2.

Re: [FFmpeg-devel] [PATCH] swscale: add NV16 input/output

2022-06-10 Thread Matthieu Bouron
On Thu, Jun 2, 2022 at 9:13 PM Michael Niedermayer wrote: > On Wed, Jun 01, 2022 at 10:33:37PM +0200, Matthieu Bouron wrote: > > --- > > libswscale/input.c | 1 + > > libswscale/utils.c | 1 + > > libswscale/version.h | 2 +- > > te

Re: [FFmpeg-devel] [PATCH 05/41] avcodec/videodsp: Make ff_emulated_edge_mc_16 static

2022-06-10 Thread Ronald S. Bultje
Hi, On Thu, Jun 9, 2022 at 7:56 PM Andreas Rheinhardt < andreas.rheinha...@outlook.com> wrote: > Only ff_emulated_edge_mc_8() is used outside of lavc/videodsp.c. > > Signed-off-by: Andreas Rheinhardt > --- > libavcodec/videodsp.c | 4 > libavcodec/videodsp.h | 1 - > liba

Re: [FFmpeg-devel] [PATCH 05/41] avcodec/videodsp: Make ff_emulated_edge_mc_16 static

2022-06-10 Thread Andreas Rheinhardt
Ronald S. Bultje: > Hi, > > On Thu, Jun 9, 2022 at 7:56 PM Andreas Rheinhardt < > andreas.rheinha...@outlook.com> wrote: > >> Only ff_emulated_edge_mc_8() is used outside of lavc/videodsp.c. >> >> Signed-off-by: Andreas Rheinhardt >> --- >> libavcodec/videodsp.c | 4 >> libavcodec

[FFmpeg-devel] [PATCH] avformat/mov: Only read the primary item for AVIF

2022-06-10 Thread Vignesh Venkatasubramanian
Update the still AVIF parser to only read the primary item. With this patch, AVIF still images with exif/icc/alpha channel will no longer fail to parse. For example, this patch enables parsing of files in: https://github.com/AOMediaCodec/av1-avif/tree/master/testFiles/Microsoft Adding two fate te

Re: [FFmpeg-devel] [PATCH] avformat/mov: Only read the primary item for AVIF

2022-06-10 Thread Andreas Rheinhardt
Vignesh Venkatasubramanian: > Update the still AVIF parser to only read the primary item. With this > patch, AVIF still images with exif/icc/alpha channel will no longer > fail to parse. > > For example, this patch enables parsing of files in: > https://github.com/AOMediaCodec/av1-avif/tree/master

Re: [FFmpeg-devel] [PATCH] avformat/mov: Only read the primary item for AVIF

2022-06-10 Thread Vignesh Venkatasubramanian
On Thu, Jun 9, 2022 at 12:50 AM Gyan Doshi wrote: > > > > On 2022-06-08 10:51 pm, Vignesh Venkatasubramanian wrote: > > On Thu, Jun 2, 2022 at 1:35 PM James Zern wrote: > >> On Wed, Jun 1, 2022 at 1:38 PM Vignesh Venkatasubramanian > >> wrote: > >>> On Wed, Jun 1, 2022 at 10:30 AM James Zern wr

Re: [FFmpeg-devel] [PATCH] avformat/mov: Only read the primary item for AVIF

2022-06-10 Thread Vignesh Venkatasubramanian
On Fri, Jun 10, 2022 at 10:33 AM Andreas Rheinhardt wrote: > > Vignesh Venkatasubramanian: > > Update the still AVIF parser to only read the primary item. With this > > patch, AVIF still images with exif/icc/alpha channel will no longer > > fail to parse. > > > > For example, this patch enables pa

Re: [FFmpeg-devel] [PATCH v13 3/4] compat/w32dlfcn.h: Remove MAX_PATH limit and replace LoadLibraryExA with LoadLibraryExW

2022-06-10 Thread Michael Niedermayer
On Thu, Jun 09, 2022 at 10:04:05PM +0300, Nil Admirari wrote: > --- > compat/w32dlfcn.h | 80 +-- > 1 file changed, 64 insertions(+), 16 deletions(-) breaks build on mingw64 CC libavcodec/mfenc.o In file included from /usr/share/mingw-w64/include/d

[FFmpeg-devel] [PATCH] avcodec: Fix time reporting for DFPWM streams

2022-06-10 Thread Jack Bruienne
This adds the exact bits per sample for DFPWM to av_get_exact_bits_per_sample. Previously, the DTS and PTS were set to 0 because the codec never reported them, but adding this allows libavformat to automatically set DTS and PTS from the byte position of the stream. Signed-off-by: Jack Bruienn

[FFmpeg-devel] [PATCH 1/3] avcodec/fmvc: Move frame allocation to a later stage

2022-06-10 Thread Michael Niedermayer
This way more things are checked before allocation Signed-off-by: Michael Niedermayer --- libavcodec/fmvc.c | 21 +++-- 1 file changed, 15 insertions(+), 6 deletions(-) diff --git a/libavcodec/fmvc.c b/libavcodec/fmvc.c index 4abf6d7048..912ad8fc82 100644 --- a/libavcodec/fmvc.c

[FFmpeg-devel] [PATCH 2/3] avcodec/fmvc: buffer size is stride based not 4*width

2022-06-10 Thread Michael Niedermayer
Signed-off-by: Michael Niedermayer --- libavcodec/fmvc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/fmvc.c b/libavcodec/fmvc.c index 912ad8fc82..de2bf828f4 100644 --- a/libavcodec/fmvc.c +++ b/libavcodec/fmvc.c @@ -614,7 +614,7 @@ static av_cold int decode_init

[FFmpeg-devel] [PATCH 3/3] avcodec/fmvc: Require key frames to fill a non trivial part of the buffer

2022-06-10 Thread Michael Niedermayer
Keyframes filling only part of the buffer should theoretically be invalid as they are not really keyframes. Fixes: Timeout Fixes: 47879/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_FMVC_fuzzer-6258764937822208 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/mas

[FFmpeg-devel] Trivial codec based on QOI and zstd compresses better than all lossless ffmpeg codecs on my data from screen

2022-06-10 Thread Аскар Сафин
Hi. I use Debian Linux. I always capture my screen. I do this using my own program, which takes rgb24 frames from X server and saves them lossless in my own format. At fps 4 (but duplicate frames are dropped). My codec is absolutely trivial (and lossless), it is based on ideas from QOI ( https://gi

Re: [FFmpeg-devel] [PATCH] avcodec/qsvenc: make QSV encoder encode VAAPI and D3D11 frames directly

2022-06-10 Thread Soft Works
> -Original Message- > From: ffmpeg-devel On Behalf Of > Xiang, Haihao > Sent: Thursday, June 9, 2022 8:48 AM > To: ffmpeg-devel@ffmpeg.org > Cc: Wu, Tong1 ; Chen, Wenbin > > Subject: Re: [FFmpeg-devel] [PATCH] avcodec/qsvenc: make QSV encoder > encode VAAPI and D3D11 frames directly >

Re: [FFmpeg-devel] [PATCH v2] ffmpeg: add option fps_mode

2022-06-10 Thread Gyan Doshi
Pushed as 09c53a04c5892baee88872fbce3df17a00472faa On 2022-06-10 06:39 pm, Gyan Doshi wrote: fps_mode sets video sync per output stream. Overrides vsync for matching streams. vsync is deprecated. --- doc/ffmpeg.texi | 14 -- fftools/ffmpeg.c | 9 + fftools/ffmp

Re: [FFmpeg-devel] [PATCH] avformat/os_support: use windows stat structs with 64bit time_t

2022-06-10 Thread Christopher Degawa
On Thu, Jun 9, 2022 at 6:22 PM softworkz wrote: > From: softworkz > > Signed-off-by: softworkz > --- > avformat/os_support: use windows stat structs with 64bit time_t > > Signed-off-by: softworkz softwo...@hotmail.com > > > Ping on this patch, this fixes an error with decklink due to cl