Support for H.264 V4L2 pixel format (UVC 1.5 cameras)
Affected Hardware
- Razer Kiyo Pro Ultra (4K @ 60fps, USB 2.0)
- Logitech Brio 500/4K
- Other UVC 1.5 cameras with built-in H.264 encoder
Problem
Many popular webcams (especially in the streaming/YouTube space) include a hardware H.264 encoder and advertise V4L2_PIX_FMT_H264 as a supported pixel format. WirePlumber currently does not handle this format and falls back to MJPG.
At 4K@60fps over USB 2.0, MJPG approaches the bandwidth limit. Native H.264 from the camera would:
- Reduce USB bandwidth usage by ~80%
- Offload encoding from the CPU
- Enable 4K@60fps on USB 2.0 connections without quality loss
Suggested Approach
- Add
V4L2_PIX_FMT_H264to the list of supported pixel formats inv4l2_pixelformat.cpp - Pass through the encoded H.264 stream to PipeWire as a
video/x-h264format - Keep MJPG as fallback for cameras that do not properly implement UVC 1.5 H.264
Notes
- The Linux
uvcvideokernel driver does not fully negotiate H.264 UVC 1.5 extensions on all cameras, so a graceful fallback to MJPG should remain. - This is a known limitation that appears on Fedora, Arch, and other distributions – it is not distro-specific.
I know, I have to post it into your gitlab instance, but I don't want to make another account … I`m really sorry …
If you like, you can post it there … but I have to work on other issues …
This is only an Idea and it could be very important for OBS … but this is your Choice …
As you note,, the issue is not actionable here. The fd.o Gitlab allows sign in via GitHub, for what it's worth.
I'm pretty sure H.264 can work, so the LLM analysis is not quite right either.
I'm pretty sure H.264 can work, so the LLM analysis is not quite right either.
This is an error/warning of my terminal - I just let this wrote from the LLM, because my English isn't so well.
I have a Fedora system, the newest update …