This short article discusses the MJPEG USB camera simulation in Linux with FFmpeg and a V4L2 loopback device. USB and CSI cameras, alongside GigE Vision cameras, are the main visual data source in robotics and other industrial applications.
They have significant advantages over RTSP cameras:
- low latency;
- simple bulletproof stack;
- zero-configuration;
- cross-camera video synchronization;
- high-FPS options;
- high-bandwidth interface.