Hi!
TL;DR: I am encoding AVFrames using h264_nvenc on my GPU-enabled computer,
and now I wish to send these packets to a computer without a GPU/hardware
acceleration and decode them there. How can I decode these packets and
convert them to YUV420 pixel format?
---
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