<div dir="ltr">Hi,<div>I'm using libav from ffmpeg 4.1.1 to decode RTSP stream based on example code in doc/hw_decode.c. Now, I want to convert GPU AVFrame (NV12) to  BGR24 and download data into CPU memory. </div><div>I need a simple example code to do this work. Could anyone help me ?</div><div>Thanks !</div><div><div><br></div>-- <br><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><span style="font-size:small">Hanoi University Of Science And Technology</span></div></div></div></div></div></div>