[FFmpeg-devel] [PATCH] lavc/nvenc: enable nvenc encoder instance reuse after draining

2018-06-06 Thread Pavel Koshevoy
--- libavcodec/nvenc.c | 6 ++ 1 file changed, 6 insertions(+) diff --git a/libavcodec/nvenc.c b/libavcodec/nvenc.c index b4186c0bec..8928eacc70 100644 --- a/libavcodec/nvenc.c +++ b/libavcodec/nvenc.c @@ -2181,6 +2181,12 @@ int ff_nvenc_receive_packet(AVCodecContext *avctx, AVPacket *pkt)

Re: [FFmpeg-devel] [PATCH 11/26] vaapi_encode: Add common options between all encoders

2018-06-06 Thread Xiang, Haihao
On Sat, 2018-05-26 at 17:26 +0100, Mark Thompson wrote: > On 25/05/18 07:01, Xiang, Haihao wrote: > > > > Hi Mark > > > > Do you plan to merge this commit any time soon? > > There are quite a few changes throughout the set, I'll resend it soon. > Thanks for your reply, I'd like to give a try w

Re: [FFmpeg-devel] [PATCH] lavu: add calling convention for OpenCL callback.

2018-06-06 Thread Hendrik Leppkes
On Thu, Jun 7, 2018 at 12:21 AM, Mark Thompson wrote: > On 06/06/18 16:31, Ruiling Song wrote: >> This fix a build error on Windows: >> C2440: connot convert from 'void (__cdecl *) (...)' to 'void (__stdcall >> *)(...)'. >> >> Signed-off-by: Ruiling Song >> --- >> libavutil/hwcontext_opencl.c |

Re: [FFmpeg-devel] [PATCH] lavu: add calling convention for OpenCL callback.

2018-06-06 Thread Mark Thompson
On 06/06/18 16:31, Ruiling Song wrote: > This fix a build error on Windows: > C2440: connot convert from 'void (__cdecl *) (...)' to 'void (__stdcall > *)(...)'. > > Signed-off-by: Ruiling Song > --- > libavutil/hwcontext_opencl.c | 7 --- > 1 file changed, 4 insertions(+), 3 deletions(-) >

Re: [FFmpeg-devel] [PATCH 3/4] avcodec/vc1: rewrite vc1_decode_i_blocks to align with VC-1 spec

2018-06-06 Thread Michael Niedermayer
On Wed, Jun 06, 2018 at 08:47:27PM +0200, Jerome Borsboom wrote: > Change vc1_decode_i_blocks to use vc1_put_blocks_clamped and > ff_vc1_i_loop_filter. > > Signed-off-by: Jerome Borsboom > --- > libavcodec/vc1_block.c | 77 > ++ > 1 file changed,

Re: [FFmpeg-devel] [PATCH] Limited timecode support for lavd/decklink

2018-06-06 Thread Marton Balint
On Wed, 6 Jun 2018, Dave Rice wrote: On Jun 6, 2018, at 4:50 PM, Marton Balint wrote: On Mon, 4 Jun 2018, Dave Rice wrote: In my testing the timecode value set here has corrected been associated with the first video frame (maintaining the timecode-to-first-frame relationship as found

Re: [FFmpeg-devel] [PATCH] Limited timecode support for lavd/decklink

2018-06-06 Thread Dave Rice
> On Jun 6, 2018, at 4:50 PM, Marton Balint wrote: > > On Mon, 4 Jun 2018, Dave Rice wrote: > >> In my testing the timecode value set here has corrected been associated with the first video frame (maintaining the timecode-to-first-frame relationship as found on the source vide

Re: [FFmpeg-devel] [PATCH] Limited timecode support for lavd/decklink

2018-06-06 Thread Marton Balint
On Mon, 4 Jun 2018, Dave Rice wrote: In my testing the timecode value set here has corrected been associated with the first video frame (maintaining the timecode-to-first-frame relationship as found on the source video stream). Although only having first timecode value known is limiting,

Re: [FFmpeg-devel] [PATCH]lavc/profiles: Mention AAC-LC only once

2018-06-06 Thread Carl Eugen Hoyos
2018-05-31 1:47 GMT+02:00, Carl Eugen Hoyos : > I noticed that AAC-LC is listed twice in ff_aac_profiles[] Patch applied. Carl Eugen ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

[FFmpeg-devel] [PATCH]ffmpeg: Fail if the user requested impossible subtitle encoding

2018-06-06 Thread Carl Eugen Hoyos
Hi! Attached patch is meant to fix ticket #7239. Please comment, Carl Eugen From 309b7855f663053a5d11c5403a811bd723e472b9 Mon Sep 17 00:00:00 2001 From: Carl Eugen Hoyos Date: Wed, 6 Jun 2018 21:09:38 +0200 Subject: [PATCH] ffmpeg: Fail if the user requested impossible subtitle encoding. ---

Re: [FFmpeg-devel] [PATCH 1/4] avcodec/vc1: fix overlap filtering for Simple and Main profile

2018-06-06 Thread Carl Eugen Hoyos
2018-06-06 20:47 GMT+02:00, Jerome Borsboom : > Overlap filtering I and BI frames for Simple and Main profile is only > dependent on PQUANT. Restrict testing for CONDOVER and OVERFLAGS to > advanced profile. > > Signed-off-by: Jerome Borsboom > --- > This patch set should fix decoding of the SSL00

Re: [FFmpeg-devel] [PATCH 1/3] avcodec/truemotion2: Fix overflow in tm2_apply_deltas()

2018-06-06 Thread Michael Niedermayer
On Tue, Jun 05, 2018 at 02:47:44AM +0200, Michael Niedermayer wrote: > Fixes: signed integer overflow: 1077952576 + 1077952576 cannot be represented > in type 'int' > Fixes: > 7712/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_TRUEMOTION2_fuzzer-5056281753681920 > > Found-by: continuous fuzz

[FFmpeg-devel] [PATCH 4/4] avcodec/vc1: remove unused ff_vc1_loop_filter_iblk

2018-06-06 Thread Jerome Borsboom
Signed-off-by: Jerome Borsboom --- libavcodec/vc1.h| 1 - libavcodec/vc1_loopfilter.c | 30 -- 2 files changed, 31 deletions(-) diff --git a/libavcodec/vc1.h b/libavcodec/vc1.h index 1d283f8589..69f6ca9e4d 100644 --- a/libavcodec/vc1.h +++ b/libavcodec/vc

[FFmpeg-devel] [PATCH 2/4] avcodec/vc1: add Simple and Main profile to vc1_put_signed_blocks_clamped

2018-06-06 Thread Jerome Borsboom
Simple and Main profile also need unsigned put_pixels_clamped. Add an argument to choose between signed and unsigned put_pixels and change function name to vc1_put_blocks_clamped. Signed-off-by: Jerome Borsboom --- libavcodec/vc1_block.c | 54 ++ 1

[FFmpeg-devel] [PATCH 3/4] avcodec/vc1: rewrite vc1_decode_i_blocks to align with VC-1 spec

2018-06-06 Thread Jerome Borsboom
Change vc1_decode_i_blocks to use vc1_put_blocks_clamped and ff_vc1_i_loop_filter. Signed-off-by: Jerome Borsboom --- libavcodec/vc1_block.c | 77 ++ 1 file changed, 28 insertions(+), 49 deletions(-) diff --git a/libavcodec/vc1_block.c b/libavcode

[FFmpeg-devel] [PATCH 1/4] avcodec/vc1: fix overlap filtering for Simple and Main profile

2018-06-06 Thread Jerome Borsboom
Overlap filtering I and BI frames for Simple and Main profile is only dependent on PQUANT. Restrict testing for CONDOVER and OVERFLAGS to advanced profile. Signed-off-by: Jerome Borsboom --- This patch set should fix decoding of the SSL0015.rcv test file to make it bit-equal to the reference deco

Re: [FFmpeg-devel] Evolution of lavfi's design and API

2018-06-06 Thread Nicolas George
Michael Niedermayer (2018-06-04): > If noone, who has time to reply knows the awnser then you probably have to > find it out from the code and any unfinished patchsets > > sending nicolas a private mail may also be more vissible to him than the ML > in case he is busy In terms of design, the big

Re: [FFmpeg-devel] [PATCH 6/6] avformat/mxfdec: add support for recognizing timed text streams

2018-06-06 Thread Tomas Härdin
tis 2018-06-05 klockan 20:33 +0200 skrev Marton Balint: > > On Tue, 5 Jun 2018, Tomas Härdin wrote: > > > tor 2018-05-31 klockan 02:05 +0200 skrev Marton Balint: > > > > Signed-off-by: Marton Balint > > > > > > --- > > >  libavformat/mxfdec.c | 8 > > >  1 file changed, 8 insertions(+)

[FFmpeg-devel] [PATCH] lavu: add calling convention for OpenCL callback.

2018-06-06 Thread Ruiling Song
This fix a build error on Windows: C2440: connot convert from 'void (__cdecl *) (...)' to 'void (__stdcall *)(...)'. Signed-off-by: Ruiling Song --- libavutil/hwcontext_opencl.c | 7 --- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/libavutil/hwcontext_opencl.c b/libavutil/h

Re: [FFmpeg-devel] [GSOC] [PATCH] TensorFlow backend introduction for DNN module

2018-06-06 Thread Pedro Arthur
Hi, 2018-06-05 20:23 GMT-03:00 Sergey Lavrushkin : > Here is the patch, that fixes described issues. When I try to run (video input), when tf is not enabled in configure it crashes. $ffmpeg -i in.mp4 -vf srcnn=dnn_backend=tensorflow out.mp4 ffmpeg version N-91232-g256386fd3e Copyright (c) 2000-

Re: [FFmpeg-devel] [PATCH v2] configure fix arm inline defines

2018-06-06 Thread James Almer
On 6/6/2018 6:19 AM, John Cox wrote: >> Hi >> >> Actually this is the same patch as before but master has been fixed s.t. >> enabling arm inline asm no longer breaks it: >> >> I believe there is a bug in the arm feature detection for inline asm in >> configure and I have a patch for it. >> >> Curre

Re: [FFmpeg-devel] [PATCH] configure: Change license required for NewTek SDK

2018-06-06 Thread Carl Eugen Hoyos
2018-06-06 8:50 GMT+02:00, Gyan Doshi : > configure, at present, allows all libraries in the nonfree > list to be built with the LGPL license without having to > pass --enable-nonfree. Is that intended? Yes, this is intended. Carl Eugen ___ ffmpeg-deve

Re: [FFmpeg-devel] [PATCH v2] configure fix arm inline defines

2018-06-06 Thread John Cox
>Hi > >Actually this is the same patch as before but master has been fixed s.t. >enabling arm inline asm no longer breaks it: > >I believe there is a bug in the arm feature detection for inline asm in >configure and I have a patch for it. > >Currently using a command line like: > >./configure --ena

Re: [FFmpeg-devel] [PATCH 1/1] fftools/ffmpeg: fix for all forced key frames when 'copyts' is enabled

2018-06-06 Thread Dixit, Vishwanath
On 6/5/18 2:09 AM, Michael Niedermayer wrote: > On Sun, May 06, 2018 at 10:38:59PM +0530, vdi...@akamai.com wrote: >> From: Vishwanath Dixit >> >> Forced key frames generation functionality was assuming the first PTS >> value as zero, but, when 'copyts' is enabled, the first PTS can be any >> big

[FFmpeg-devel] [PATCH v3 2/2] lavfi: make vf_colorspace use functions from colorspace.c

2018-06-06 Thread Ruiling Song
These functions are shared among colorspace related filters. Signed-off-by: Ruiling Song --- libavfilter/Makefile| 2 +- libavfilter/vf_colorspace.c | 118 +--- 2 files changed, 23 insertions(+), 97 deletions(-) diff --git a/libavfilter/Makefile

[FFmpeg-devel] [PATCH v3 1/2] lavfi: add opencl tonemap filter.

2018-06-06 Thread Ruiling Song
This filter does HDR(HDR10/HLG) to SDR conversion with tone-mapping. An example command to use this filter with vaapi codecs: FFMPEG -init_hw_device vaapi=va:/dev/dri/renderD128 -init_hw_device \ opencl=ocl@va -hwaccel vaapi -hwaccel_device va -hwaccel_output_format \ vaapi -i INPUT -filter_hw_dev

Re: [FFmpeg-devel] [PATCH] configure: Change license required for NewTek SDK

2018-06-06 Thread Gyan Doshi
On 06-06-2018 12:05 PM, Roger Pack wrote: FWIW. It might be compatible with the LGPL. configure, at present, allows all libraries in the nonfree list to be built with the LGPL license without having to pass --enable-nonfree. Is that intended? Libav's script disables them if the flag isn'