On 12/4/2020 12:12 AM, mjl wrote:
First, I use av_hwframe_transfer_data to change format to NV12, Then, I try to change NV12 to rgb24 using sws_scale, but it turns out to be NULL.
Are you writing 'c' code or using the ffmpeg executable? The former isn't covered by this mailing list (use https://lists.ffmpeg.org/mailman/listinfo/libav-user/) and for the latter you need to show us the complete command line being used and the command output. (See also https://ffmpeg.org/mailing-list-faq.html)
Later, z! _______________________________________________ ffmpeg-user mailing list [email protected] https://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email [email protected] with subject "unsubscribe".
