Open sgarzo10 opened 4 years ago
The sensor can't produe 8MPix @ 30fps - see https://picamera.readthedocs.io/en/latest/fov.html#sensor-modes It'll be producing probably 1920x1080 @ 30fps and then cropping and upscaling in the ISP.
The ISP will only produce around 120MPix/s (either in or out) so whilst it's trying to take in 30fps, to produce 8MPix output images it'll be dropping frames to produce a maximum of 15fps.
Resize is then a fairly expensive operation, so I suspect you'll be maxing out the processing on that resize too.
H264 you normally set the bitrate rather than the quality. Quality goes and fixes the Qp (quantisation parameter) and can do strange things.
Hi,
if i register a video with this code:
the video recorded duration is only 2 or 3 second.
I have test more combination like set resolution to (1920, 1080) and remove resize in method start_recording but the result is the same.
If i register a video with this command:
the video recorded duration is 10 second.
Can anyone help me?
Where am I doing wrong?
Thanks.