Hey everyone, I’m trying to record 4K video with an Arducam Owlsight (OV64A40 sensor) on a Raspberry Pi but it keeps failing. I’m running libcamera-vid at 3840x2160, 12fps, and I just get this error:
ERROR: *** failed to start output streaming ***
Camera works fine for stills and preview, just can’t seem to record video at this resolution. Anyone run into this? Is this a driver issue with the ov64a40?
Thanks for the detailed logs — that really helps narrow things down.
The key clue here is Overriding H.264 level 4.2. The sensor and libcamera pipeline are actually doing their job correctly: the OV64A40 sensor is producing a 3840x2160 RAW stream, Unicam is accepting it, and the ISP path is set up. The problem is the H.264 hardware encoder on the Pi.
The Raspberry Pi’s dedicated hardware H.264 encoder has a hard limit — it simply does not support encoding video at resolutions higher than 1080p. This isn’t a camera driver bug or a libcamera issue, it’s a well-known silicon limitation of the Broadcom SoC. The Overriding H.264 level 4.2 message is the system trying to push the encoder past its normal bounds, but it still can’t handle the 4K frame size.
So to summarize:
The Arducam Owlsight / OV64A40 and libcamera are fully capable of streaming 4K data
The bottleneck is exclusively the Pi’s on-board H.264 encoder, which tops out at 1080p
Your options:
For video recording, stick to 1080p or below — the hardware encoder can handle that fine
For still images, you can capture full 4K (3840x2160) without any issues using libcamera-still
If you absolutely need 4K video on this platform, you’d have to look into software encoding (like libx264 via ffmpeg) using the raw camera stream, but performance on a Pi will be… not great.
Ah, that makes sense. I was going crazy thinking it was a driver problem. Bummer about the hardware limit though.
So if I drop down to 1080p, what’s the max framerate I can expect with this same setup? Can it do 60fps at 1080p or is there another bottleneck I should know about?
With this particular camera (Arducam Owlsight / OV64A40) on the Raspberry Pi, the maximum you’ll get at 1080p is 30fps. The hardware H.264 encoder can sustain 30 frames per second at 1080p with this sensor’s output format, but it won’t go higher — the encoder just runs out of throughput past that point.
So your working video recording parameters would be: