I hope I managed to avoid top-posting in gmail ^^

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:
https://paste.ubuntu.com/p/fdqFNVpJBM/
What could be the problem? Thanks in advance!

ср, 11 мар. 2020 г. в 03:34, Carl Eugen Hoyos <[email protected]>:

> Am Di., 10. März 2020 um 15:41 Uhr schrieb Slav <[email protected]>:
> >
> > Thank you for your answer!
> > It is exactly so: 3 smaller images in the middle and even smaller and
> more below.
>
> Maybe not yuv420p but probably the wrong pix_fmt
>
> > How can I convert it to RGB (24 bits)? And overall, how can I always get
> RGB images from any video file I open?
>
> There is a filtering / scaling example in doc/examples (the scale filter is
> able to do pix_fmt conversion).
>
> Please find out what top-posting means and avoid it here.
>
> Carl Eugen
> _______________________________________________
> Libav-user mailing list
> [email protected]
> https://ffmpeg.org/mailman/listinfo/libav-user
>
> To unsubscribe, visit link above, or email
> [email protected] with subject "unsubscribe".
_______________________________________________
Libav-user mailing list
[email protected]
https://ffmpeg.org/mailman/listinfo/libav-user

To unsubscribe, visit link above, or email
[email protected] with subject "unsubscribe".

Reply via email to