Re: [linux-uvc-devel] USB bandwidth allocation
Linux UVC driver and tools
Brought to you by:
pinchartl
From: Martin O. <mar...@ho...> - 2017-08-23 09:05:34
|
This works only with non-compressed formats which uses a lot more bandwidth than H264 format. Camera also supports MJPEG, which in the middle in bandwidth consumption. Best regards, Martin On 23. 08. 2017 01:32, Curt Meyers wrote: > See this webpage for the BANDWIDTH quirk: > http://www.ideasonboard.org/uvc/faq/ > > Curt > > > On 08/22/2017 09:20 AM, Martin Opresnik wrote: >> Hello, >> we are working on a project, where we need multiple cameras connected to >> embedded computer. For computer we have chosen odroid XU4 and for >> cameras Logitech C920. We need at least 5 cameras running with 720p. The >> problem we have is allocated USB bandwidth (cameras are using >> isochronous transfer). Currently we can run 3 cameras on 720p. Image is >> transferred in h264 compressed format. Writing on disk is done directly >> trough memory map using V4L2 api and files on disk are really small and >> using usbmon/wireshark shows ~1104kB/s (there should be a lot of USB >> bandwidth left). >> I tried same setups on my laptop and I don't get any better results, so >> I suspect there is some space for improvement in software and it's not >> odroid's fault. I tried changing different parameters in uvcvideo driver >> and I think only wMaxPacketSize is affecting bandwidth allocation. And >> changing that is reflected in non working camera. >> Now I don't know enough about USB and linux kernel to work around this >> problem and I would be very happy if you could give me some help or >> directions. >> >> I am looking forward to hearing from you. >> >> Best regard, Martin >> >> ------------------------------------------------------------------------------ >> >> Check out the vibrant tech community on one of the world's most >> engaging tech sites, Slashdot.org! >> https://urldefense.proofpoint.com/v2/url?u=http-3A__sdm.link_slashdot&d=DwICAg&c=5VD0RTtNlTh3ycd41b3MUw&r=voQCwpUdQuj2V_NgcQjrZg&m=VG52R9XTCMiKYiu8SLqK-E3CN3nTnknRwdb5hD_AswY&s=jAxnFD2IxFi4eTuM0ZpxcQ9CKmv22mfyf4TdPz0h8B8&e= >> _______________________________________________ >> Linux-uvc-devel mailing list >> Lin...@li... >> https://urldefense.proofpoint.com/v2/url?u=https-3A__lists.sourceforge.net_lists_listinfo_linux-2Duvc-2Ddevel&d=DwICAg&c=5VD0RTtNlTh3ycd41b3MUw&r=voQCwpUdQuj2V_NgcQjrZg&m=VG52R9XTCMiKYiu8SLqK-E3CN3nTnknRwdb5hD_AswY&s=bIg_JryZDJL3V7xcWWXC58unpPxLUfC-vw_FStba0qs&e= >> > > > ------------------------------------------------------------------------------ > > Check out the vibrant tech community on one of the world's most > engaging tech sites, Slashdot.org! http://sdm.link/slashdot > _______________________________________________ > Linux-uvc-devel mailing list > Lin...@li... > https://lists.sourceforge.net/lists/listinfo/linux-uvc-devel |