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

Camera board • About libcamera

$
0
0
Hello everyone, I'm new to recording videos with Raspberry Pi. My setup includes the latest Raspberry Pi OS, a Raspberry Pi 3B+, and a Raspberry Pi Camera v3. I've encountered some issues while using libcamera. When I specify the frame rate and recording time, I often don't get enough frames. For example, if I run

Code:

libcamera-vid -t 10000 --framerate 15
I approximately get 142 frames. According to some tutorial, I checked the timestamps. It seems not to be caused by missing frames, but rather because libcamera's timing starts before the sensor is activated, meaning the sensor's working time is less than 10000ms.

I've looked through a lot of materials but haven't found a solution. My current thought is to record a video longer than the specified duration and then post-process it based on timestamps to generate a video of the specified length, but it seems quite cumbersome.

Is there any simpler way to address this issue? I would greatly appreciate any suggestions.

Statistics: Posted by lyyice — Tue Feb 13, 2024 7:56 pm — Replies 1 — Views 46



Viewing all articles
Browse latest Browse all 4816