I am taking a video with the following command
(just to check I also do
Turns out that the h264 video (that does not have the correct resolution) has 30 fps and lasts near 15 secs. (as expected)
But the mjpeg video has 25 fps and lasts around 17 secs. (it also has 2 frames missing)
Why is this happening and how can it be corrected?Is there a way to take high resolution videos in the Rpi while preserving the framerate?
Code:
rpicam-vid -t 15000 --framerate 30 --width 3200 --height 1300 --codec mjpeg -o hello.mjpeg
Code:
rpicam-vid -t 15000 --framerate 30 -o hellp.h264
But the mjpeg video has 25 fps and lasts around 17 secs. (it also has 2 frames missing)
Why is this happening and how can it be corrected?Is there a way to take high resolution videos in the Rpi while preserving the framerate?
Statistics: Posted by AutoRobot — Mon Feb 26, 2024 3:49 pm