[Libav-user] Problems converting raw camera frames

Bogdan Popa popa.bogdanp at gmail.com
Wed Apr 10 10:54:55 CEST 2013


I'm receiving raw camera frames in the RGB32 little endian format and converting them to YUV420P frames which I then encode to H264 and it's working fine except for one thing: the colors are all messed up [1]. I'm a complete noob at this so I'm probably doing something very wrong. A stripped down version of the code I'm using is available here [2].

[1]: http://i.imgur.com/2EmLbPj.png
[2]: http://pastebin.com/raw.php?i=UMvFQPiW


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://ffmpeg.org/pipermail/libav-user/attachments/20130410/9ed507c8/attachment.html>


More information about the Libav-user mailing list