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

Camera board • Re: Capturing video at <15fps

$
0
0
Your code seems to work Ok here at both the 15 and 12fps FrameRates. (Admittedly with an RPi IMX219!)
Is your picamera2 installation fully up to date?

You could also try embedding the Framerate control in the configuration, and forcing the high level 'start_and_record_video' to use the defined configuration .

Code:

from picamera2 import Picamera2picam2 = Picamera2()config = picam2.create_video_configuration(       main={"size": (1280, 960)},       lores={"size": (1280,960)},       encode="lores",       controls= {"FrameRate":12})picam2.start_and_record_video("test.mp4", config=config, duration=10)

Statistics: Posted by sandyol — Mon Jan 13, 2025 8:19 pm



Viewing all articles
Browse latest Browse all 4762

Trending Articles