4 ms·
Is there some information on the "bandwidth"/latency of WebHID devices? Specifically, could it work with a low resolution-ish video feed? I'm specifically thin
by gregsadetsky 6y ago
Is there some information on the "bandwidth"/latency of WebHID devices? Specifically, could it work with a low resolution-ish video feed?
I'm specifically thinking of a very niche type of device, specifically an inexpensive VGA/analog video capture usb "stick" called "EasyCap". This particular name has been re-used by many manufacturers who all sell EasyCaps with different chips in them, which makes finding a working driver a complete nightmare across almost all operating systems.
After much research, it turns out that Linux had native support for the chip in my EasyCap, and I was able to capture video using ffmpeg (under VirtualBox running on macOS). Happy to share notes! (reply here or email me)
Insane list of different drivers for EasyCaps under Windows: https://visser.io/2015/06/easycap-drivers-for-windows-8-1/ https://visser.io/2015/06/easycap-drivers-for-windows-8-1/ ("Below is a link to the Windows 7 drivers that were compatible with my EasyCAP device and further down a list of other EasyCAP drivers you can try.")
Info on existing versions/chips & Linux support: https://www.linuxtv.org/wiki/index.php/Easycap https://www.linuxtv.org/wiki/index.php/Easycap ("It seems that EasyCAP is not a company or brand name, but some chinese manufacturers use this label for at least four completely hardware different clones of equally looking audio and video capture devices. EasyCAP devices and clones are vastly sold in onlineshops at low prices.")
- voltagex_ 6y agoHID is not built for that kind of use.
- gregsadetsky 6y agoThanks! HID in general? WebHID? Is it a bandwidth/data limitation? Something enforced by Chrome?
- tobinfricke 6y agoHID stands for Human Interface Device and usually means things like keyboards, mice, trackpads, etc https://en.m.wikipedia.org/wiki/USB_human_interface_device_class https://en.m.wikipedia.org/wiki/USB_human_interface_device_c...
- p1mrx 6y agoDo the EasyCAP devices actually use the HID device class? You could probably build a USB device that sends video over button presses, but that's not relevant for accessing hardware that already exists.
- voltagex_ 6y agoNo, they're UVC (at least the one I have is).
- gregsadetsky 6y agoThanks a lot, I learned something! I was also confused by seeing "Webcam" under the "Common HIDs" heading on Wikipedia: https://en.wikipedia.org/wiki/Human_interface_device https://en.wikipedia.org/wiki/Human_interface_device In all cases -- got it. HID -> not webcams. :-) Cheers!