Re: [Libav-user] av_hwframe_transfer_data does not succeed from NV12 to YUV420P - How to get YUV420P from cuvid?

2018-06-06 Thread Mark Thompson
On 06/06/18 08:46, Sergio Basurco wrote:> On 05/06/2018 22:23, Mark Thompson wrote: >> On 05/06/18 11:15, Sergio Basurco wrote: >>> I'm decoding h264 with ffmpeg. I want to use the hwaccel decoders. I'm >>> using the cuvid decoder via API. In the fftools code there's a function >>> "hwaccel_retr

Re: [Libav-user] av_hwframe_transfer_data does not succeed from NV12 to YUV420P - How to get YUV420P from cuvid?

2018-06-06 Thread Sergio Basurco
Hi Mark, I did misread that bit of documentation, thanks! I'm trying to understand the supported_formats array found in hwcontext_cuda.c . Can the hw context be initialized so that the decoder returns YUV420P instea

Re: [Libav-user] av_hwframe_transfer_data does not succeed from NV12 to YUV420P - How to get YUV420P from cuvid?

2018-06-05 Thread Mark Thompson
On 05/06/18 11:15, Sergio Basurco wrote: > I'm decoding h264 with ffmpeg. I want to use the hwaccel decoders. I'm using > the cuvid decoder via API. In the fftools code there's a function > "hwaccel_retrieve_data" that is supposed to convert the decoded frame (NV12) > into any other format, I'm

[Libav-user] av_hwframe_transfer_data does not succeed from NV12 to YUV420P - How to get YUV420P from cuvid?

2018-06-05 Thread Sergio Basurco
I'm decoding h264 with ffmpeg. I want to use the hwaccel decoders. I'm using the cuvid decoder via API. In the fftools code there's a function "hwaccel_retrieve_data" that is supposed to convert the decoded frame (NV12) into any other format, I'm trying YUV420P. The conversion does not return