Re: [FFmpeg-devel] Unable to compile with cuda

2021-05-23 Thread Dylan Fernando
I got it to work, with --enable-cuda as well, using: PKG_CONFIG_PATH="/home/dylan/Files/nv-codec-headers" ./configure --enable-opencl --enable-vulkan --enable-libglslang --disable-stripping --enable-nonfree --enable-cuda --enable-cuda-nvcc --extra-cflags=-I/opt/local/cuda/include --nvccflags="-gen

[FFmpeg-devel] [PATCH]avfilter: add Intel IPP library based x86 optimized video scaling filter

2021-05-23 Thread Zhislina, Victoria
>From b01b4130d7301a289b3ad771eaeaf1ca2839045a Mon Sep 17 00:00:00 2001 From: Zhislina Date: Mon, 3 May 2021 21:53:54 +0300 Subject: [PATCH] avfilter: add Intel IPP library based x86 optimized video scaling filter. Uses vector instructions from SSE2 (default) up to AVX512 for the suitable CPUs a

Re: [FFmpeg-devel] [PATCH 3/3] avutil/mem_internal: use av_max_alloc_get() in ff_fast_malloc()

2021-05-23 Thread James Almer
On 5/22/2021 7:09 PM, James Almer wrote: This puts ff_fast_malloc() and av_fast_malloc() in line with ff_fast_realloc() Signed-off-by: James Almer --- The alternative to this set would be to move av_fast_padded_malloc() from avcodec to avutil, and moving ff_fast_malloc() from mem_internal.h to

Re: [FFmpeg-devel] [PATCH] avfilter/yadif: Fix time base for large denominators

2021-05-23 Thread Michael Niedermayer
On Fri, May 21, 2021 at 11:45:01AM -0400, Tom Boshoven wrote: > On Fri, May 21, 2021 at 11:28 AM Tom Boshoven wrote: > > > +outlink->time_base = av_mul_q(outlink->time_base, (AVRational){2, 1}); > > > > This should be {1, 2} . > I'll fix this after I get some feedback. yes, av_mul_q() is be

Re: [FFmpeg-devel] Unable to compile with cuda

2021-05-23 Thread Timo Rothenpieler
On 24.05.2021 00:08, Dylan Fernando wrote: I got it to work, with --enable-cuda as well, using: PKG_CONFIG_PATH="/home/dylan/Files/nv-codec-headers" ./configure --enable-opencl --enable-vulkan --enable-libglslang --disable-stripping --enable-nonfree --enable-cuda --enable-cuda-nvcc --extra-cflag

[FFmpeg-devel] FSB File Version 5 Support

2021-05-23 Thread Michael Tonks
Hello I am trying to convert some files that have the .fsb extension using ffmpeg, and received an error: version 5 is not implemented along with the following message: If you want to help, upload a sample of this file to ftp://upload.ffmpeg.org/incoming/ and contact the ffmpeg-devel mailing lis

Re: [FFmpeg-devel] [PATCH 3/3] avutil/mem_internal: use av_max_alloc_get() in ff_fast_malloc()

2021-05-23 Thread Andreas Rheinhardt
James Almer: > On 5/22/2021 7:09 PM, James Almer wrote: >> This puts ff_fast_malloc() and av_fast_malloc() in line with >> ff_fast_realloc() >> >> Signed-off-by: James Almer >> --- >> The alternative to this set would be to move av_fast_padded_malloc() from >> avcodec to avutil, and moving ff_fast

Re: [FFmpeg-devel] [PATCH] web/contact: Add libera.chat

2021-05-23 Thread Tomas Härdin
fre 2021-05-21 klockan 21:42 +0200 skrev Michael Niedermayer: > See the internets about the whole freenode vs. libera drama > > This is a bit a RFC, i would assume that we will move forward with only > one set of official IRC channels. > But maybe its too early to ask for RFC, iam not sure how muc

Re: [FFmpeg-devel] [PATCH 1/3] avutil/mem: make max_alloc_size an atomic type

2021-05-23 Thread Andreas Rheinhardt
James Almer: > This is in preparation for the following commit. > > Signed-off-by: James Almer > --- > libavutil/mem.c | 17 +++-- > 1 file changed, 11 insertions(+), 6 deletions(-) > > diff --git a/libavutil/mem.c b/libavutil/mem.c > index fa227f5e12..c12c24aa90 100644 > --- a/liba

[FFmpeg-devel] [PATCH 1/3] avcodec/utils: don't use ff_fast_mallocz in av_fast_padded_malloc()

2021-05-23 Thread James Almer
It will be removed in the next commit. Signed-off-by: James Almer --- libavcodec/utils.c | 16 +++- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/libavcodec/utils.c b/libavcodec/utils.c index c08f9a7da3..5394a179b0 100644 --- a/libavcodec/utils.c +++ b/libavcodec/uti

[FFmpeg-devel] [PATCH 2/3] avutil/mem: make ff_fast_malloc() internal to mem.c

2021-05-23 Thread James Almer
Signed-off-by: James Almer --- libavutil/mem.c | 24 ++-- libavutil/mem_internal.h | 18 -- 2 files changed, 22 insertions(+), 20 deletions(-) diff --git a/libavutil/mem.c b/libavutil/mem.c index c12c24aa90..471b49f8e7 100644 --- a/libavutil/mem.c +++

[FFmpeg-devel] [PATCH 3/3] avutil/mem: check for max_alloc_size in av_fast_malloc()

2021-05-23 Thread James Almer
This puts av_fast_malloc*() in line with av_fast_realloc(). Signed-off-by: James Almer --- libavutil/mem.c | 11 ++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/libavutil/mem.c b/libavutil/mem.c index 471b49f8e7..1b0e39eb89 100644 --- a/libavutil/mem.c +++ b/libavutil/m

Re: [FFmpeg-devel] [PATCH 1/3] avutil/mem: make max_alloc_size an atomic type

2021-05-23 Thread James Almer
On 5/23/2021 11:14 AM, Andreas Rheinhardt wrote: James Almer: This is in preparation for the following commit. Signed-off-by: James Almer --- libavutil/mem.c | 17 +++-- 1 file changed, 11 insertions(+), 6 deletions(-) diff --git a/libavutil/mem.c b/libavutil/mem.c index fa227f

Re: [FFmpeg-devel] Unable to compile with cuda

2021-05-23 Thread Dennis Mungai
On Sun, 23 May 2021 at 15:08, Dylan Fernando wrote: > I got it to work, with --enable-cuda as well, using: > > PKG_CONFIG_PATH="/home/dylan/Files/nv-codec-headers" ./configure > --enable-opencl --enable-vulkan --enable-libglslang --disable-stripping > --enable-nonfree --enable-cuda --enable-cuda-

Re: [FFmpeg-devel] [PATCH 16/25] lavf/avformat.h: drop the avcodec.h include

2021-05-23 Thread Michael Niedermayer
On Fri, May 21, 2021 at 08:00:47PM +0200, Anton Khirnov wrote: > Since AVStream.codec is gone, avformat.h does not require anything from > avcodec.h. > --- > libavformat/avformat.h | 7 ++- > 1 file changed, 6 insertions(+), 1 deletion(-) seems to break alltools build here tools/uncoded_fram

[FFmpeg-devel] [PATCH] lavfi/signature: fix always true expression

2021-05-23 Thread Valerii Zapodovnikov
Otherwise since "==" has higher precedence, mode is never checked. --- libavfilter/signature_lookup.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavfilter/signature_lookup.c b/libavfilter/signature_lookup.c index 272c717c77..85e879d224 100644 --- a/libavfilter/signature_

[FFmpeg-devel] [PATCH] lavfi/signature: fix always true expression

2021-05-23 Thread Valerii Zapodovnikov
Otherwise since "==" has higher precedence, mode is never checked. --- libavfilter/signature_lookup.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavfilter/signature_lookup.c b/libavfilter/signature_lookup.c index 272c717c77..85e879d224 100644 --- a/libavfilter/signature_

[FFmpeg-devel] [PATCH] avfilter/src_movie: fix always true expression

2021-05-23 Thread Valerii Zapodovnikov
Introduced in c1f9734f977f59bc0034096afbe8e43e40d93a5d. We are in if (movie->seek_point > 0) but seek_point is timestamp. --- libavfilter/src_movie.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavfilter/src_movie.c b/libavfilter/src_movie.c index 54f6738f9a..105d1b7b54 1

[FFmpeg-devel] [PATCH] avfilter/vf_hqdn3d: fix left shift of negative numbers

2021-05-23 Thread Valerii Zapodovnikov
--- libavfilter/vf_hqdn3d.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavfilter/vf_hqdn3d.c b/libavfilter/vf_hqdn3d.c index 8d71ae316d..bd3eb2d01c 100644 --- a/libavfilter/vf_hqdn3d.c +++ b/libavfilter/vf_hqdn3d.c @@ -179,7 +179,7 @@ static void precalc_coefs(double dis

[FFmpeg-devel] [PATCH] avformat/avio: fixed AVSEEK_FORCE and documentation

2021-05-23 Thread Valerii Zapodovnikov
Always true expression: we would have returned on line 265. Because of short curcuiting force will never be checked. --- libavformat/avio.h| 1 - libavformat/aviobuf.c | 3 +-- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/libavformat/avio.h b/libavformat/avio.h index d022820a6