Repository navigation
Description
Operating System Info
Other
Other OS
Linux Mint 22.3 (XFCE), kernel 7.0.0-28-generic (Ubuntu 24.04 HWE)
OBS Studio Version
32.2.1
OBS Studio Version (Other)
No response
OBS Studio Log URL
OBS Studio Crash Log URL
No response
Expected Behavior
A V4L2 device that only exposes planar pixel formats (e.g. I420/YU12) should be usable via the Flatpak camera portal. At minimum it should either negotiate successfully or report a clear error, not silently show a black screen.
Current Behavior
Adding a "Video Capture Device (V4L2)" source in the Flatpak build of OBS uses the camera portal. For a v4l2loopback device exposing only I420 (DroidCam's v4l2loopback-dc), the preview stays black. The log shows the portal selecting the device, then the PipeWire stream failing with "no more input formats":
[camera-portal] Found device v4l2_input._sys_devices_virtual_video4linux_video2
[camera-portal] Selected format for 'v4l2_input._sys_devices_virtual_video4linux_video2'
[camera-portal] streaming camera 'v4l2_input._sys_devices_virtual_video4linux_video2'
[camera-portal] Updating device v4l2_input._sys_devices_virtual_video4linux_video2
[pipewire] Stream 0x6477752e0cb0 state: "error" (error: no more input formats)
The SAME device, when OBS accesses /dev/video2 directly through the classic "Video Capture Device (V4L2)" source (bypassing the portal), negotiates native YU12/I420 and displays fine. This is not DroidCam-specific: any V4L2 device offering only planar formats (I420/YU12, no YUY2/MJPEG) fails through the portal negotiation path.
Steps to Reproduce
- Create a v4l2loopback device that only exposes I420/YU12. Example: DroidCam's v4l2loopback-dc (width=1280, height=720, video_nr=-1); the producer writes YU12 1280x720@30 to /dev/video2, which exposes only format YU12:1280x720@30.
- In the Flatpak build of OBS (com.obsproject.Studio 32.2.1), add a "Video Capture Device (V4L2)" source (this goes through the camera portal) and select that device.
- Observe: the preview stays black and the log reports "error: no more input formats" from the PipeWire stream.
- For comparison: add the same device via the classic V4L2 source with the direct device path (/dev/video2) - the video displays normally, proving the device and driver are fine and the failure is in the portal's format negotiation.
Anything else we should know?
Environment: Linux Mint 22.3 (XFCE), kernel 7.0.0-28-generic (Ubuntu 24.04 HWE), xdg-desktop-portal + PipeWire, OBS Studio 32.2.1 (Flatpak, com.obsproject.Studio).
Full log (uploaded): https://obsproject.com/logs/543fa1XYpnsOONJm
Device format in use: I420/YU12 (planar YUV 4:2:0). The portal successfully negotiates the physical webcam (v4l2_input.pci-...) but "Updating pixel formats" for the I420-only device ends in the pipewire stream error above.
Activity
Owlock commentedon Aug 2, 2026
I published a public gist with the full working setup and a double-click desktop launcher:
https://gist.github.com/Owlock/fb531ace3227bc9962789e76438bf569
Summary of the workaround (OBS 32.2.1 Flatpak, Linux Mint XFCE, DroidCam on /dev/video2 with YU12/I420 only):
no more input formats./dev/video2works directly with the native YU12 format — no gstreamer bridge needed.The gist also includes the launcher files (
droidcam-obs.sh+.desktopentry) so it works from a double-click.tytan652 commentedon Aug 3, 2026
This sounds more likely to be a support request rather than a bug report, and we are not currently accepting support requests on GitHub Issues. Please use our forums or Discord for further assistance.
Moreover:
This is false.