Is it possible to capture video using Docker? Recommendations?
I could install a Windows VM, but I already know OBS containers exist for Docker. The problem is none of them seem to detect my capture device which is plugged into a Thunderbolt AIC. Is this even possible to do or am I in over my head and should just use a Windows VM?
Parts are:
MB: ASUS ROG Strix B550-A Gaming
AIC: ASUS ThunderboltEX 3-TR
I've validated that they work together AND passthrough works in a Windows 10 VM, although it's a pain to setup. I would use my previous VM where I had it working, but I screwed that up after I broke my motherboard. Long-story-short, I'd like to use a Docker container for just this task instead of a whole VM if possible. Thank you.
Docker have 1 big (well, there are many, but applicable for this) difference to vms: they don't have their own kernel, but use the host systems kernel.
This means, for hardware to work, the host has to support it.
Now, that thunderbolt capture card sounds really niche, and most people wont use it, so I highly doubt it's enabled by default. But you can look at drivers in the appstore, the ones for gpus are well known, but there are some for video capture as well (I had to use them to get webcam support for my octoprint dockers).
I haven't checked what they support, nor what your card actually is, but finding/hoping for a working driver would be the first step. If that doesn't work, you could always configure and compile the kernel yourself with support, but good luck on that! Then you just have to find the device path and add it to the container.
Will check into that when I get home. Thank you!