Hi! My device does not work but in "Qt V4L2 Test Utility" (and other programs) it works, so I hope this is the right thread (although the initial comment from leonhard was some years ago).
My device is a Victure AC800 (an action cam). In other application like Zoom it just works out of the box. When I add it as device in OBS, the device dialog lags heavily and I don't get a picture. I did a little bit of debugging and here is what I believe is happening: With pixel format MJPG and 720p resolution, the camera works and I successfully get a preview in the Qt V4L2 Test Utility. However, when trying to run it with higher resolution or with pixel format YUYV, the camera just crashes. The only way to get it running again is restarting it. This seems to be an issue with the camera and not with OBS.
Now the problem is: I cannot add the camera to OBS, without OBS trying to show me a preview with some default settings for the camera, which appears to be with pixel format YUYV. This then crashes the camera and I can't change the settings to anything that would work. If my interpretation is correct, then it would already help me, if I could deactivate the preview in the "add video source"-dialog. Or if I could set the pixel format in some configuration file. Is that possible?
OBS log: https://obsproject.com/logs/mUBK2yDdq4bcjAJo
My device is a Victure AC800 (an action cam). In other application like Zoom it just works out of the box. When I add it as device in OBS, the device dialog lags heavily and I don't get a picture. I did a little bit of debugging and here is what I believe is happening: With pixel format MJPG and 720p resolution, the camera works and I successfully get a preview in the Qt V4L2 Test Utility. However, when trying to run it with higher resolution or with pixel format YUYV, the camera just crashes. The only way to get it running again is restarting it. This seems to be an issue with the camera and not with OBS.
Now the problem is: I cannot add the camera to OBS, without OBS trying to show me a preview with some default settings for the camera, which appears to be with pixel format YUYV. This then crashes the camera and I can't change the settings to anything that would work. If my interpretation is correct, then it would already help me, if I could deactivate the preview in the "add video source"-dialog. Or if I could set the pixel format in some configuration file. Is that possible?
OBS log: https://obsproject.com/logs/mUBK2yDdq4bcjAJo
Code:
$ v4l2-ctl --list-formats
ioctl: VIDIOC_ENUM_FMT
Type: Video Capture
[0]: 'YUYV' (YUYV 4:2:2)
[1]: 'MJPG' (Motion-JPEG, compressed)
[2]: 'H264' (H.264, compressed)