4 ms·
I'm really curious, because I tried something similar maybe 5-10 years ago with a moderately powerful Linux system, and it couldn't support more than 2 USB came
by blincoln 6y ago
I'm really curious, because I tried something similar maybe 5-10 years ago with a moderately powerful Linux system, and it couldn't support more than 2 USB cameras recording simultaneously.
What were the hardware specs on the PC like? How many cameras could you record from simultaneously? Which OS were you using, and did you have to do anything special to make it work?
- joefourier 6y agoThe PC was nothing special, just a middle-of-the-road i5 4000-series running plain Ubuntu. The compute requirements were practically nil, so the CPU was actually overkill for the application. The main considerations are having enough USB bandwidth (hence the need for PCI-E expansion cards), dumping the USB camera data straight to the SSD (no re-encoding, use a proper Gstreamer pipeline or ffmpeg command), and ensuring you can sustain the write speeds (through RAID array). There was some bug in the USB drivers that caused the cameras to reserve more bandwidth than they actually used, limiting their numbers, but that was easy to fix. My guess is that you probably re-encoded the stream, which would indeed drastically limit the number of cameras if their resolution was high enough.