Recently built a device that rotates my webcam to where I am, I have i miniscript to change the rotation, but i cannot get it to run two streams at once, from the information I have found it may be a kernel issue with v4l2-loopback.
what i have tried:
1892 sudo zypper install v4l2loopback-autoload
1894 sudo modprobe v4l2loopback devices=3
1911 v4l2loopback-ctl
1913 v4l2loopback-ctl list
1914 sudo v4l2loopback-ctl list
what i got: (i dont remember what specific commands outputted these error they were in my clipboard from yesterday)
sshcam
VIDIOC_STREAMON: Input/output error
ffmpeg
[video4linux2,v4l2 @ 0x56169b6f0180] ioctl(VIDIOC_G_FMT): Invalid argument
[out#0/video4linux2,v4l2 @ 0x56169b6f0080] Could not write header (incorrect codec parameters ?): Invalid argument
[video4linux2,v4l2 @ 0x56169b6edbc0] Some buffers are still owned by the caller on close.
ioctl(VIDIOC_QBUF): Bad file descriptor
How to split webcam stream properly?