I tried to use the CU130, a 4K camera from e-con, connected to a TX1 via the usb2 connector of the J120 carrier board without succeed.
My issue is the images are compressed in jpg and can have varied sizes depending of what the camera see. This changing usb2 bandwith is readable under windows but leads to issue with linux whatever the hardware (TX1, core i7).
In the pipe between uvc and decoder, the images are not red completely sometimes. If the buffer is splitted in the middle of image, the decoding algorithm works. But if the buffer is splitted in the header, the decoder stops and the recording pipe too.
I used jpecdec, nvjpegdec with gstreamer and gucview too.
Gucview use a parser to delete the header corrupted image, but you can see the others.
I have two question:
- why does it works with windows and not with linux, uvc is not common ?
- Have you any idea to avoid to split buffer ?