Dear developers...
I am recently building a UVC webcam and have encountered a problem with
streaming negotiation. The host is M$ Windows. UVC firmware is using my own
Linux-based firmware.
I get the following PROBE_GET -> PROBE_SET loop, and it never get finished.

   0h00m33s606: (T) Pb_GET: fmt:1 frame:1 Int:333333 F_SZ:276480 PayL:1024
   0h00m33s607: (T) Pb_SET: fmt:1 frame:1 Int:333333 F_SZ:276480 PayL:0
   0h00m33s608: (T) Pb_GET: fmt:1 frame:1 Int:333333 F_SZ:276480 PayL:992
   0h00m33s610: (T) Pb_GET: fmt:1 frame:1 Int:333333 F_SZ:276480 PayL:992
   0h00m33s611: (T) Pb_SET: fmt:1 frame:1 Int:333333 F_SZ:276480 PayL:0
   0h00m33s611: (T) Pb_GET: fmt:1 frame:1 Int:333333 F_SZ:276480 PayL:960
   0h00m33s612: (T) Pb_GET: fmt:1 frame:1 Int:333333 F_SZ:276480 PayL:960
   0h00m33s613: (T) Pb_SET: fmt:1 frame:2 Int:333333 F_SZ:276480 PayL:0
   0h00m33s613: (T) Pb_GET: fmt:1 frame:2 Int:333333 F_SZ:144000 PayL:1024
   0h00m33s614: (T) Pb_GET: fmt:1 frame:2 Int:333333 F_SZ:144000 PayL:1024
   0h00m33s615: (T) Pb_SET: fmt:1 frame:2 Int:333333 F_SZ:144000 PayL:0
   0h00m33s616: (T) Pb_GET: fmt:1 frame:2 Int:333333 F_SZ:144000 PayL:992
   :
   :
frame 1 is a MJPEG frame with
resolution 1280x720. frame 2 is a smaller frame with resolution 800x600(I
have more frame descriptor, I am not including them because of simplicity)
F_SZ is the maximum possible frame size for this frame index chosen.
PayL is the maximum payload size for the corresponding streaming parameter
field.
All the other field: quality, key/p-framerate are considered unrelated
because it is set to 0 by device.
Pb_GET/Pb_SET is to represent PROBE_GET and PROBE_SET.
The decreasing of PayL is by my negotiation code. I originally hope
negotiation can be done by decrease PayL by 32 everytime.
I am using only one kind of alternate interface. That is 1 ISOC packet every
micro frame and maxpacketsize is 1024.
Don't have a clue on how to make it done.
Thanks for helping me or giving me some comments.




-- 
Best Regards
Brian
_______________________________________________
Linux-uvc-devel mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/linux-uvc-devel

Reply via email to