Hello,

> If the original video is bgr24, do you need to make a call to 
> avcodec_decode_video?  Isn't the video already decoded and you just need to 
> do a color space transformation?
Huh, did you mean : "if the original video is rawvideo, ..." ?
Well, if I don't call avcodec_decode_video, I don't know how to get frames from 
the video.
Anyway, your remark makes sense : I think the video is already decoded, but in 
my view, avcodec_decode_video should return correct values (specially the 
linesize one), no matter the codec used.

> BTW, I can't get any of the RGB or BGR formats to succeed with sws_scale, 
> I've had to revert to img_convert and then only some of them will succeed. 
> The functions don't fail, they simply put out black frames.
It's really bad news for me, I need to make conversions from any formats to 
RGB32 format :/



Thanks for your reply ;)

_______________________________________________
libav-user mailing list
[email protected]
https://lists.mplayerhq.hu/mailman/listinfo/libav-user

Reply via email to