Clemente Tort Barbero wrote:
> I still cant get imgconvert :(:(:(
You need to understand the concept, not to blindly copy the code.
The important information you need to get from the tutorial is that the
frame must be converted to YUV420P, and then you can use the frame for
SDL output (so, the important part here is in the lines above the
img_convert() call).
When the tutorial was written, there was a function for colorspace
conversion named img_convert(); today it is sws_<something>.
Look at output_example.c for an example. Or at swscale-example.c.
Luca
_______________________________________________
libav-user mailing list
[email protected]
https://lists.mplayerhq.hu/mailman/listinfo/libav-user