Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 4078

Camera board • Broken image with non-64 bit align resolution using RPi5+gstreamer+CameraV2.1

$
0
0
I'm using a RPi5 + PiOS Bookworm + latest libcamera(0.3.1+rpt20240906-1)
I've been working to use gstreamer to work around the 8-frame delay issue that comes with the default rpicam-vid.

However, this is what I got the the following command

Code:

gst-launch-1.0 libcamerasrc camera-name="/base/axi/pcie@120000/rp1/i2c@80000/imx219@10" ! video/x-raw,colorimetry=bt709,format=NV12,width=1640,height=1232,framerate=30/1 ! videoconvert ! autovideosink
Image
Imgur back up link

Thanks to this post, it gave me an idea of changing the alignment. It didn't work as the post stated to change the horizontal resolution to 32-aligned, however, it did worked with 64 bit- aligned

Code:

 gst-launch-1.0 libcamerasrc camera-name="/base/axi/pcie@120000/rp1/i2c@80000/imx219@10" ! video/x-raw,colorimetry=bt709,format=NV12,width=1664,height=1232,framerate=30/1 ! videoconvert ! autovideosink
Image
Imgur back up link

According to the original post, it is a bug in the libcamera.
Should I report the issue? Or is there any place that I'm not understanding this correctly? Thanks for any suggestions.

Related forum topic:
- Issue with Pi Camera V2 on native resolution with binning
- Camera at resolution 1640 x 1232 x 30fps gstreamer problem

Related Github issue:
- libcamerasrc produces buffers with invalid size on Raspberry Pi 3 with official RPi Cam v2.1 attached

Statistics: Posted by EwingKang — Tue Oct 01, 2024 2:03 am



Viewing all articles
Browse latest Browse all 4078

Trending Articles