Re: [FFmpeg-devel] [PATCH] avfilter/vf_fps: extend support for expressions

2021-06-19 Thread Gyan Doshi
On 2021-06-20 01:29, James Almer wrote: On 6/19/2021 4:56 PM, Gyan Doshi wrote: On 2021-06-05 21:22, James Almer wrote: +static const double ntsc_fps = 3.0 / 1001.0; +static const double pal_fps = 25.0; +static const double qntsc_fps = 3.0 / 1001.0; +static const double qpal_fps =

[FFmpeg-devel] [PATCH 2/2] avcodec/libx264: Separate headers not supported in AVC-Intra mode

2021-06-19 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- libavcodec/libx264.c | 5 + 1 file changed, 5 insertions(+) diff --git a/libavcodec/libx264.c b/libavcodec/libx264.c index 89f5c7b..caabc4e 100644 --- a/libavcodec/libx264.c +++ b/libavcodec/libx264.c @@ -891,6 +891,11 @@ static av_cold int X2

[FFmpeg-devel] [PATCH 1/2] avcodec/libx264: Add support for Sony XAVC Class 300 and 480

2021-06-19 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- libavcodec/libx264.c | 13 - 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/libavcodec/libx264.c b/libavcodec/libx264.c index 36fdb56..89f5c7b 100644 --- a/libavcodec/libx264.c +++ b/libavcodec/libx264.c @@ -749,6 +749,17

Re: [FFmpeg-devel] [PATCH v2] avfilter: compress CUDA PTX code if possible

2021-06-19 Thread Philip Langdale
On Fri, 18 Jun 2021 23:07:58 +0200 Timo Rothenpieler wrote: > >> + > >> +if (inflateInit2(&stream, 32 + 15) != Z_OK) { > > > > Can you add a comment explaining the magic numbers? > > I have no idea what those numbers do, I copied them from http.c and > they work. Heh. So, I read this:

[FFmpeg-devel] [PATCH] avformat/aaxdec: Check avio_seek() in header reading

2021-06-19 Thread Michael Niedermayer
Fixes: Timeout Fixes: 32450/clusterfuzz-testcase-minimized-ffmpeg_dem_AAX_fuzzer-4875522262827008 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer --- libavformat/aaxdec.c | 15 +++ 1 file changed

Re: [FFmpeg-devel] [PATCH] avfilter: add format_cuda filter

2021-06-19 Thread Timo Rothenpieler
On 11.06.2021 16:43, Timo Rothenpieler wrote: --- configure | 2 + doc/filters.texi| 46 ++ libavfilter/Makefile| 1 + libavfilter/allfilters.c| 1 + libavfilter/cuda/vector_helpers.cuh | 14 +- libavfilter/v

Re: [FFmpeg-devel] [PATCH] avcodec/hevc_sei: Use get_bits_long() for time_offset_value

2021-06-19 Thread Michael Niedermayer
On Sat, Jun 19, 2021 at 03:55:35PM +0200, Michael Niedermayer wrote: > Fixes: assertion failure > Fixes: crash_1 > > Found-by: Thuan Pham > Signed-off-by: Michael Niedermayer > --- > libavcodec/hevc_sei.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) will apply [...] -- Michael

Re: [FFmpeg-devel] [PATCH] avfilter/vf_fps: extend support for expressions

2021-06-19 Thread James Almer
On 6/19/2021 4:56 PM, Gyan Doshi wrote: On 2021-06-05 21:22, James Almer wrote: +static const double ntsc_fps = 3.0 / 1001.0; +static const double pal_fps = 25.0; +static const double qntsc_fps = 3.0 / 1001.0; +static const double qpal_fps = 25.0; +static const double sntsc_fps = 3

Re: [FFmpeg-devel] [PATCH] avfilter/vf_fps: extend support for expressions

2021-06-19 Thread Gyan Doshi
On 2021-06-05 21:22, James Almer wrote: AV_OPT_TYPE_VIDEO_RATE AVOption types are parsed as expressions, but in a limited way. For example, name constants can only be parsed alone and not as part of a longer expression. This change allows usage like ffmpeg -i IN -vf fps="if(eq(source_fps\,fi

[FFmpeg-devel] [PATCH] avformat: add a concat protocol using a files recipe

2021-06-19 Thread James Almer
Suggested-by: ffm...@fb.com Signed-off-by: James Almer --- libavformat/Makefile| 1 + libavformat/concat.c| 111 libavformat/protocols.c | 1 + 3 files changed, 113 insertions(+) diff --git a/libavformat/Makefile b/libavformat/Makefile index c

[FFmpeg-devel] Getting started

2021-06-19 Thread Mihir Shah
Hi, I would be interested in contributing to ffmpeg, can you please provide me suggestions on how to get started/any good first issues? Thank you so much! -Mihir ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/f

Re: [FFmpeg-devel] [PATCH] web: add news about IRC move (stolen from twitter)

2021-06-19 Thread Michael Niedermayer
On Fri, Jun 18, 2021 at 04:24:02PM -0300, James Almer wrote: > On 6/18/2021 11:18 AM, Michael Niedermayer wrote: > > Feel free to suggest better wording > > > > Signed-off-by: Michael Niedermayer > > --- > > src/index | 7 +++ > > 1 file changed, 7 insertions(+) > > > > diff --git a/src/i

[FFmpeg-devel] [PATCH] avcodec/hevc_sei: Use get_bits_long() for time_offset_value

2021-06-19 Thread Michael Niedermayer
Fixes: assertion failure Fixes: crash_1 Found-by: Thuan Pham Signed-off-by: Michael Niedermayer --- libavcodec/hevc_sei.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/hevc_sei.c b/libavcodec/hevc_sei.c index c881c4338c..e6ae777852 100644 --- a/libavcodec/hevc_s