[Libav-user] (no subject)

Slav slavmfm at gmail.com
Wed Mar 11 08:12:20 EET 2020


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 <ceffmpeg at gmail.com>:

> Am Di., 10. März 2020 um 15:41 Uhr schrieb Slav <slavmfm at gmail.com>:
> >
> > 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
> Libav-user at ffmpeg.org
> https://ffmpeg.org/mailman/listinfo/libav-user
>
> To unsubscribe, visit link above, or email
> libav-user-request at ffmpeg.org with subject "unsubscribe".
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://ffmpeg.org/pipermail/libav-user/attachments/20200311/a3f4e78c/attachment.html>


More information about the Libav-user mailing list