Re: [FFmpeg-devel] [PATCH] cuvid : add support to force intra frames as in input source

2018-01-20 Thread Timo Rothenpieler
Shouldn't we generally recommend people use the new NVDEC implementation instead? It already has all these features and more. :) There are still features missing from nvdec which will take a while to implement, if it's possible at all. Like deinterlacing/cropping. Also, cuviddec is still

Re: [FFmpeg-devel] [PATCH] cuvid : add support to force intra frames as in input source

2018-01-20 Thread Hendrik Leppkes
On Fri, Jan 19, 2018 at 11:33 PM, Timo Rothenpieler wrote: > Am 19.01.2018 um 19:47 schrieb Michael Niedermayer: >> >> On Fri, Jan 19, 2018 at 11:09:51AM +0100, Timo Rothenpieler wrote: >>> >>> Am 18.01.2018 um 07:52 schrieb Yogender Gupta: Improved the patch by

Re: [FFmpeg-devel] [PATCH] cuvid : add support to force intra frames as in input source

2018-01-19 Thread Timo Rothenpieler
Am 19.01.2018 um 19:47 schrieb Michael Niedermayer: On Fri, Jan 19, 2018 at 11:09:51AM +0100, Timo Rothenpieler wrote: Am 18.01.2018 um 07:52 schrieb Yogender Gupta: Improved the patch by dynamic allocation. Thanks, Yogender @@ -1072,6 +1083,8 @@ static void cuvid_flush(AVCodecContext

Re: [FFmpeg-devel] [PATCH] cuvid : add support to force intra frames as in input source

2018-01-19 Thread Michael Niedermayer
On Fri, Jan 19, 2018 at 11:09:51AM +0100, Timo Rothenpieler wrote: > Am 18.01.2018 um 07:52 schrieb Yogender Gupta: > >Improved the patch by dynamic allocation. > > > >Thanks, > >Yogender > > > > > @@ -1072,6 +1083,8 @@ static void cuvid_flush(AVCodecContext *avctx) > > if (ret < 0) > >

Re: [FFmpeg-devel] [PATCH] cuvid : add support to force intra frames as in input source

2018-01-19 Thread Timo Rothenpieler
Am 18.01.2018 um 07:52 schrieb Yogender Gupta: Improved the patch by dynamic allocation. Thanks, Yogender > @@ -1072,6 +1083,8 @@ static void cuvid_flush(AVCodecContext *avctx) > if (ret < 0) > goto error; > > +av_free(ctx->key_frame); > + > ctx->prev_pts = INT64_MIN;

Re: [FFmpeg-devel] [PATCH] cuvid : add support to force intra frames as in input source

2018-01-17 Thread Yogender Gupta
Improved the patch by dynamic allocation. Thanks, Yogender --- This email message is for the sole use of the intended recipient(s) and may contain confidential information. Any unauthorized review, use, disclosure

Re: [FFmpeg-devel] [PATCH] cuvid : add support to force intra frames as in input source

2018-01-17 Thread Timo Rothenpieler
Am 17.01.2018 um 06:12 schrieb Yogender Gupta: Please find attached a patch for setting key frames. "-force_key_frames" can then use this option. Thanks, Yogender > diff --git a/libavcodec/cuviddec.c b/libavcodec/cuviddec.c > index c23033c..54f6cb7 100644 > --- a/libavcodec/cuviddec.c > +++

[FFmpeg-devel] [PATCH] cuvid : add support to force intra frames as in input source

2018-01-16 Thread Yogender Gupta
Please find attached a patch for setting key frames. "-force_key_frames" can then use this option. Thanks, Yogender --- This email message is for the sole use of the intended recipient(s) and may contain