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

Troubleshooting • Why when I take a video with 30fps I get one with 25 fps?

$
0
0
I am taking a video with the following command

Code:

rpicam-vid -t 15000 --framerate 30 --width 3200 --height 1300 --codec mjpeg -o hello.mjpeg
(just to check I also do

Code:

rpicam-vid -t 15000 --framerate 30 -o hellp.h264
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?

Statistics: Posted by AutoRobot — Mon Feb 26, 2024 3:49 pm



Viewing all articles
Browse latest Browse all 4955

Trending Articles