LWN.net Logo

Video4Linux2 part 5b: format negotiation

Video4Linux2 part 5b: format negotiation

Posted May 15, 2009 10:02 UTC (Fri) by scottt (subscriber, #5028)
In reply to: Video4Linux2 part 5b: format negotiation by Kowaio
Parent article: Video4Linux2 part 5b: format negotiation

Kowaio, libv4l can at least help you decompress the JPEG data: "libv4lconvert offers functions to convert from any (known) pixel format to V4l2_PIX_FMT_BGR24 or V4l2_PIX_FMT_YUV420". If you want the uncompressed pixels for image quality than I suggest you post your question along with details about you camera and source code on the linux-media mailing list.


(Log in to post comments)

Video4Linux2 part 5b: format negotiation

Posted May 15, 2009 12:09 UTC (Fri) by Kowaio (guest, #58594) [Link]

Thank you for the answer !
Yes, in fact I want the uncompressed pixels of the capture. I already succeeded in converting from JPEG to BGR.

But now, I don't want to do that conversion. Actually, I want to save the uncompressed data for quality directly.

But I don't know if that is possible because the driver of the webcam (VF0420 Live! Cam Vista IM - ov519) specified only JPEG format when I'm doing a 'V4l-info'.

I'll try to post on the linux-media list.

Thank you very much for your help.

Copyright © 2013, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds