Hi,

Continue with my creation of a UVC webcam inside the QEMU emulator, I've found 
a behavior that makes me ask myself.
"Is the payload altered in anyway by the uvcvideo driver or the video4linux 
api?"

What I'm currently doing is, opening the host device (also UVC in my test 
computer), setting format as 320x240 YUYV/YUY2, getting a frame (153600 bytes), 
sending a payload header to the emulated system (2 bytes only, no timestamp 
etc), sending the frame in 64 bytes chunks.

However in the emulated system I'm getting a whole black frame (and really 
slow).

There seems to be any kind of difference between what a real camera is sending 
me, and what I'm really getting, so I need one of two solutions:

1.- Getting that YUYV/YUY2 payload without differences, so I can resend it "as 
is".
2.- An easy way to convert it to MJPEG format.

While I suppose something can be done with libjpeg, my first priority is to 
avoid any external dependency, and I'm totally unfamiliar with that library.

Any help, guidance, etc, will be greatly thanked.

Regards,
Natalia Portillo
_______________________________________________
Linux-uvc-devel mailing list
Linux-uvc-devel@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/linux-uvc-devel

Reply via email to