[FFmpeg-user] pix format change

Carl Zwanzig cpz at tuunq.com
Fri Dec 4 17:57:19 EET 2020

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)



More information about the ffmpeg-user mailing list