[Libav-user] Problems converting raw camera frames
popa.bogdanp at gmail.com
Wed Apr 10 11:27:55 CEST 2013
Sorry for posting the code to pastebin, I hadn't realised that that was frowned upon.
I just tried all four pixel formats that you mentioned and the results are as follows:
On Wednesday, April 10, 2013 at 12:09 PM, Carl Eugen Hoyos wrote:
> Bogdan Popa <popa.bogdanp at ...> writes:
> > 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
> Instead of PIX_FMT_RGB32 (which depends on endianess),
> try the four native pix_fmts:
> (Sorry if you feel I should point out the right one
> immediately or at least mark the one that definitely
> does not work.)
> Generally, please don't use pastebin when posting here,
> post the complete information in your email.
> Carl Eugen
> Libav-user mailing list
> Libav-user at ffmpeg.org (mailto:Libav-user at ffmpeg.org)
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Libav-user