With the latest DVR pre-release, you can more easily hook up a USB camera or HDMI capture dongle to your DVR.
As compared to the LinkPI and other encoder boxes, these dongles don't usually offer transcoding. But because the DVR knows how to use hardware transcoding for remote streaming, it can do the same thing with the capture feed (as long as your DVR hardware supports it).
-
macOS
capture://avfoundation/<video>/<audio>/?framerate=<30|60>
-
Windows
capture://dshow/<video>/<audio>/?framerate=60
-
Linux
capture://v4l2/<videoX>
For example, on my Mac I can record the built-in camera or using usb-c dongle:
#EXTM3U
#EXTINF:-1, channel-id="camera",Mac Camera Capture
capture://avfoundation/FaceTime HD Camera?framerate=30
#EXTINF:-1, channel-id="usb-hdmi",USB HDMI Capture
capture://avfoundation/USB Video/USB Digital Audio/?framerate=60
https://www.amazon.com/dp/B08Z3XDYQ7
(based on previous research in HDMI for Channels - #672 by tmm1)