<div dir="ltr"><div>I hope I managed to avoid top-posting in gmail ^^</div><div><br></div><div>Trying to convert it to RGB with sws_scale(), but can't properly provide it with AVFrames. Here is 3 different ways I try to create AVFrames: <a href="https://paste.ubuntu.com/p/fdqFNVpJBM/">https://paste.ubuntu.com/p/fdqFNVpJBM/</a></div><div>What could be the problem? Thanks in advance!<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">ср, 11 мар. 2020 г. в 03:34, Carl Eugen Hoyos <<a href="mailto:ceffmpeg@gmail.com">ceffmpeg@gmail.com</a>>:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Am Di., 10. März 2020 um 15:41 Uhr schrieb Slav <<a href="mailto:slavmfm@gmail.com" target="_blank">slavmfm@gmail.com</a>>:<br>
><br>
> Thank you for your answer!<br>
> It is exactly so: 3 smaller images in the middle and even smaller and more below.<br>
<br>
Maybe not yuv420p but probably the wrong pix_fmt<br>
<br>
> How can I convert it to RGB (24 bits)? And overall, how can I always get RGB images from any video file I open?<br>
<br>
There is a filtering / scaling example in doc/examples (the scale filter is<br>
able to do pix_fmt conversion).<br>
<br>
Please find out what top-posting means and avoid it here.<br>
<br>
Carl Eugen<br>
_______________________________________________<br>
Libav-user mailing list<br>
<a href="mailto:Libav-user@ffmpeg.org" target="_blank">Libav-user@ffmpeg.org</a><br>
<a href="https://ffmpeg.org/mailman/listinfo/libav-user" rel="noreferrer" target="_blank">https://ffmpeg.org/mailman/listinfo/libav-user</a><br>
<br>
To unsubscribe, visit link above, or email<br>
<a href="mailto:libav-user-request@ffmpeg.org" target="_blank">libav-user-request@ffmpeg.org</a> with subject "unsubscribe".</blockquote></div>