[FFmpeg-devel] How to Decode Packet Encoded in Hardware (nvenc)?
Ming Ying
ming_ying at college.harvard.edu
Mon Jan 20 01:50:23 EET 2020
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 <timo at 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 at ffmpeg.org
> https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
>
> To unsubscribe, visit link above, or email
> ffmpeg-devel-request at ffmpeg.org with subject "unsubscribe".
More information about the ffmpeg-devel
mailing list