[Gambas-devel] V4L2: MJPEG format w/ QuickCam 9000 Pro

831photo shannon at ...622...
Thu Jan 29 20:03:45 CET 2009


Hey guys!

First, thanks for all the hard work with the new v4l2 support. I've been
following your threads closely.

I have a logitech QC 9000 pro, and when I open it, the debug output shows it
uses MJPEG images. When I display the images in a picturebox, I'm getting
nothing but what appears to be white noise. Looking through the source code,
I see where it identifies the format as MJPEG, but unlike the YUYV format,
there is no code yet for the conversion to RGB.

I've done some google searches to see if I could find a conversion routine,
to no avail. I even pulled the "Cheese" source to see how they correctly
display the images, but from a cursory glance at the source, it appears to
be reading it as a stream, rather than individual images (which would make
sense, the way I understand MJPEG it's not sending individual frames, but
rather the changes between frames. I may be completely wrong in this
though!)

Is there something already in another component of gambas that can handle
this, or do you think this would need to be written from scratch?

Thanks again, hopefully I can actually be of some use. It's been quite a
while since I dove into C source, but it looks (mostly) familiar...;-)

Shan
-- 
View this message in context: http://www.nabble.com/V4L2%3A-MJPEG-format-w--QuickCam-9000-Pro-tp21730646p21730646.html
Sent from the gambas-devel mailing list archive at Nabble.com.





More information about the Devel mailing list