[Libav-user] pix format change

mjl 766091683 at qq.com
Sat Dec 5 04:15:51 EET 2020

I am using h264_vapppi to decode video. The output pix_format is vappi_vld,
I want to change its pix_format so that I can get the picture data.
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.

So how can I do this, thank you!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://ffmpeg.org/pipermail/libav-user/attachments/20201205/5f9f0e84/attachment.html>

More information about the Libav-user mailing list