Yes, understood...my question was more about changing the pixel format from 
AV_PIX_FMT_CUDA to YUV420P. If I understand correctly, a frame encoded using 
h264_nvenc will have the CUDA pixel format (I specified this when I created the 
hardware frame context). When I decode the frame, how do I get it to YUV?

Thanks!

Sent from my iPhone

> On Jan 19, 2020, at 5:24 PM, Timo Rothenpieler <t...@rothenpieler.org> wrote:
> 
> Using a hardware encoder to encode h264 has absolutely no impact on what can 
> decode the result. It produces absolutely standard h264.
> 
> Also, this should be on ffmpeg- or libav-user.
> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel@ffmpeg.org
> https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
> 
> To unsubscribe, visit link above, or email
> ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".
_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel

To unsubscribe, visit link above, or email
ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".

Reply via email to