Re: [FFmpeg-devel] [PATCH v8 3/4] avfilter/vf_showinfo: display H.26[45] user data unregistered sei message

2020-01-09 Thread Moritz Barsnick
On Wed, Jan 08, 2020 at 23:46:02 +0800, lance.lmw...@gmail.com wrote: > +/* Only print the user data details if it's string */ > +if (string_is_print(user_data)) { > +av_log(ctx, AV_LOG_INFO, "User Data="); > +av_log(ctx, AV_LOG_INFO, "%s", user_data); > +} Is this miss

Re: [FFmpeg-devel] [PATCH] lavc/qsv: adding DX11 support

2020-01-09 Thread Max Dmitrichenko
On Thu, Jan 9, 2020 at 1:04 AM Hendrik Leppkes wrote: > On Thu, Jan 9, 2020 at 12:32 AM Max Dmitrichenko > wrote: > > > Historically, QSV failed at accepting the array-textures that are used > > > by a D3D11 decoder, which is why this was not included. > > > > > > > > > > right but not anymore,

[FFmpeg-devel] [PATCH] Support for Frame Duplication (Doubling/Tripling) by FFMPEG's HEVC Decoder by parsing the picture_struct SEI value(Requirement:http://ffmpeg.org/pipermail/ffmpeg-devel/2019-June

2020-01-09 Thread Praveen Kumar
Hi, Re-sending the patch after incorporating the review comments over the previous patch sent yesterday. This patch has the implementation for supporting frame duplication (doubling/ tripling) by FFmpeg's HEVC decoder based on the picture_structre SEI value present in the encoded video. pictur

Re: [FFmpeg-devel] [PATCH v8 3/4] avfilter/vf_showinfo: display H.26[45] user data unregistered sei message

2020-01-09 Thread Limin Wang
On Thu, Jan 09, 2020 at 10:37:44AM +0100, Moritz Barsnick wrote: > On Wed, Jan 08, 2020 at 23:46:02 +0800, lance.lmw...@gmail.com wrote: > > +/* Only print the user data details if it's string */ > > +if (string_is_print(user_data)) { > > +av_log(ctx, AV_LOG_INFO, "User Data="); > >

[FFmpeg-devel] [PATCH v1] avcodec/libx265: Fix Uninitialized scalar variable

2020-01-09 Thread lance . lmwang
From: Limin Wang Fixes CID 1457234 Signed-off-by: Limin Wang --- libavcodec/libx265.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libavcodec/libx265.c b/libavcodec/libx265.c index 9e4711e50b..7f18db92e4 100644 --- a/libavcodec/libx265.c +++ b/libavcodec/libx265.c @@ -549,6 +549,8 @@

Re: [FFmpeg-devel] [PATCH] Support for Frame Duplication (Doubling/Tripling) by FFMPEG's HEVC Decoder by parsing the picture_struct SEI value(Requirement:http://ffmpeg.org/pipermail/ffmpeg-devel/2019-

2020-01-09 Thread Kieran Kunhya
On Thu, 9 Jan 2020 at 10:09, Praveen Kumar wrote: > Hi, > > Re-sending the patch after incorporating the review comments over the > previous patch sent yesterday. > Hi, Leave ticks_per_frame alone. I don't see why you are changing it. Kieran ___ ffmp

[FFmpeg-devel] [PATCH] avcodec/wmalosslessdec: Fix multiple integer overflows

2020-01-09 Thread Michael Niedermayer
Fixes: left shift of 3329 by 20 places cannot be represented in type 'int' Fixes: signed integer overflow: -199378355 + -1948950833 cannot be represented in type 'int' Fixes: 19837/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_WMALOSSLESS_fuzzer-5752565837070336 Fixes: 19839/clusterfuzz-test

Re: [FFmpeg-devel] [PATCH] nvenc: implement flush to help allow an encoder to be re-used

2020-01-09 Thread Philip Langdale
On Wed, 8 Jan 2020 14:31:05 -0800 Josh Allmann wrote: > > Hi Phil, > > Flushing and resumption is documented/supported in nvenc via > NV_ENC_FLAGS_EOS, but I wasn't sure if this was a feature that > ffmpeg's integration was intentionally designed for. But if you > confirm we can expect this beha

[FFmpeg-devel] [PATCH V7 1/2] libswscale/x86/yuv2rgb: Change inline assembly into nasm code

2020-01-09 Thread Ting Fu
Signed-off-by: Ting Fu --- V7: Fix compile issue when user configure with --disable-mmx. Fix issue when running ./ffmpeg with --cpuflags mmx/ssse3. Adjust the SIMD verify logic in libswscale/x86/yuv2rgb.c libswscale/x86/Makefile | 1 + libswscale/x86/swscale.c |

[FFmpeg-devel] [PATCH V7 2/2] libswscale/x86/yuv2rgb: add ssse3 version

2020-01-09 Thread Ting Fu
Tested using this command: /ffmpeg -pix_fmt yuv420p -s 1920*1080 -i ArashRawYuv420.yuv \ -vcodec rawvideo -s 1920*1080 -pix_fmt rgb24 -f null /dev/null The fps increase from 389 to 640 on Intel(R) Core(TM) i7-8700K CPU @ 3.70GHz Signed-off-by: Ting Fu --- libswscale/x86/yuv2rgb.c | 38

Re: [FFmpeg-devel] [PATCH V6 2/2] libswscale/x86/yuv2rgb: add ssse3 version

2020-01-09 Thread Fu, Ting
> -Original Message- > From: ffmpeg-devel On Behalf Of > Michael Niedermayer > Sent: Thursday, January 9, 2020 06:17 AM > To: FFmpeg development discussions and patches de...@ffmpeg.org> > Subject: Re: [FFmpeg-devel] [PATCH V6 2/2] libswscale/x86/yuv2rgb: add > ssse3 version > > On Wed

Re: [FFmpeg-devel] [PATCH V7 1/2] libswscale/x86/yuv2rgb: Change inline assembly into nasm code

2020-01-09 Thread Fu, Ting
> -Original Message- > From: ffmpeg-devel On Behalf Of Ting > Fu > Sent: Friday, January 10, 2020 01:38 AM > To: ffmpeg-devel@ffmpeg.org > Subject: [FFmpeg-devel] [PATCH V7 1/2] libswscale/x86/yuv2rgb: Change > inline assembly into nasm code > > Signed-off-by: Ting Fu > --- > V7: >

Re: [FFmpeg-devel] [PATCH 7/7] avformat/mov: Use AV_DICT_DONT_STRDUP_VAL to avoid av_strdup

2020-01-09 Thread Andreas Rheinhardt
On Sun, Nov 10, 2019 at 5:07 AM Andreas Rheinhardt < andreas.rheinha...@gmail.com> wrote: > This will likely also fix CID 1452574 and 1452565, false positives > resulting from Coverity thinking that av_dict_set() automatically > frees its key and value parameters (even without the > AV_DICT_DONT_S

Re: [FFmpeg-devel] [PATCHv2 8/8] avformat/img2enc: add support for specifying protocol options

2020-01-09 Thread Michael Niedermayer
On Wed, Jan 01, 2020 at 08:10:06PM +0100, Marton Balint wrote: > > > On Tue, 31 Dec 2019, Michael Niedermayer wrote: > > >On Tue, Dec 31, 2019 at 12:37:02PM +0100, Nicolas George wrote: > >>Marton Balint (12019-12-28): > >>>v2: simplified example > >>> > >>>Signed-off-by: Marton Balint > >>>---

Re: [FFmpeg-devel] [PATCHv2] movenc: Write durations based on pts into mvhd/mdhd/tkhd/elst

2020-01-09 Thread Martin Storsjö
On Wed, 8 Jan 2020, Martin Storsjö wrote: On Fri, 20 Dec 2019, Michael Niedermayer wrote: On Tue, Dec 17, 2019 at 03:15:09PM +0200, Martin Storsjö wrote: Keep all the existing data fields as they are (there's lots and lots of nontrivial calculation and heuristics based on them in their curren

Re: [FFmpeg-devel] [PATCH] avformat/image2: Upon request, make available extra metadata, fields related to input path to be used by filters.

2020-01-09 Thread Marton Balint
On Sat, 4 Jan 2020, Alexandre Heitor Schmidt wrote: Hi there! I'm just writing to make sure this patch wasn't forgotten. :) Thanks, I think the patch is fine now, I will apply it tomorrow if there are no further comments. Regards, Marton Best wishes to you all! Alex. On 01/01/2020 17

Re: [FFmpeg-devel] [PATCHv2 1/3] avutil/eval: separate AVExpr state to a new AVExprState struct

2020-01-09 Thread Michael Niedermayer
On Wed, Jan 01, 2020 at 05:40:33PM +0100, Marton Balint wrote: > > > On Wed, 1 Jan 2020, Michael Niedermayer wrote: > > >On Mon, Dec 30, 2019 at 11:23:40PM +0100, Marton Balint wrote: > >>Also add helper functions to allocate and free such a struct, and make it > >>usable by providing a new av_e

Re: [FFmpeg-devel] [PATCHv2] movenc: Write durations based on pts into mvhd/mdhd/tkhd/elst

2020-01-09 Thread Michael Niedermayer
On Thu, Jan 09, 2020 at 11:32:03PM +0200, Martin Storsjö wrote: > On Wed, 8 Jan 2020, Martin Storsjö wrote: > > >On Fri, 20 Dec 2019, Michael Niedermayer wrote: > > > >>On Tue, Dec 17, 2019 at 03:15:09PM +0200, Martin Storsjö wrote: > >>>Keep all the existing data fields as they are (there's lots

Re: [FFmpeg-devel] [PATCHv2 1/3] avutil/eval: separate AVExpr state to a new AVExprState struct

2020-01-09 Thread Marton Balint
On Thu, 9 Jan 2020, Michael Niedermayer wrote: On Wed, Jan 01, 2020 at 05:40:33PM +0100, Marton Balint wrote: On Wed, 1 Jan 2020, Michael Niedermayer wrote: On Mon, Dec 30, 2019 at 11:23:40PM +0100, Marton Balint wrote: Also add helper functions to allocate and free such a struct, and ma

Re: [FFmpeg-devel] [PATCH v3 3/3] doc/encoders: add VP9 temporal scalability encoding option

2020-01-09 Thread James Zern
On Wed, Jan 8, 2020 at 3:00 PM Wonkap Jang wrote: > > Documentation change for adding support for encoding > with temporal scalability in VP9. > --- > doc/encoders.texi | 18 +++--- > 1 file changed, 15 insertions(+), 3 deletions(-) > This could be a part of the first patch in the se

Re: [FFmpeg-devel] [PATCH] avfilter/f_metadata: allow direct flushing when printing to file

2020-01-09 Thread Gyan
On 07-01-2020 05:44 pm, Gyan Doshi wrote: Useful for monitoring sparse data in realtime --- doc/filters.texi | 3 +++ libavfilter/f_metadata.c | 6 ++ 2 files changed, 9 insertions(+) diff --git a/doc/filters.texi b/doc/filters.texi index fc2d198077..e682ba62bb 100644 --- a/doc