Recording 1920x1080@30fps on a RPi 4 #1616
-
I would like to use motion for motion detection while capturing the output of a USB camera (1920x1080 @ 30fps) on a Raspberry Pi 4 Model B.
I have seen a similar discussion at #1440 and tried to follow the proposals there (movie_passthrough, post_capture) but I'm still stuck at around 15fps and I need to reach at least 25fps. This picture shows the output of htop while a movie is being captured which indicates a CPU bottleneck: Is it possible to configure motion such that it will only analyze e.g. every 10th frame but still captures all frames to a file? Configuration/etc/motioneye/motion.conf
/etc/motioneye/camera-1.conf
Log
Captured movie:
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
This is the general misconception that the motion detection causes the high cpu. This is not an accurate assumption. CPU usage is primarily driven by the decoding of the image. The NC thread is decoding the image.... |
Beta Was this translation helpful? Give feedback.
-
Motion uses 3 fps for motion detection, but decodes every frame. There is no way to limit decoding frame rate |
Beta Was this translation helpful? Give feedback.
Motion uses 3 fps for motion detection, but decodes every frame. There is no way to limit decoding frame rate