I only need to display the image on the TV screen directly from the camera, without recording to files etc. The main criteria is Full HD resolution to show detail and the highest frame rate preferably above 40 frames per second.Hi, it wasn't quite clear to me whether you just wanted to display the video feed, or encode it to H.264 as well. rpicam-vid (aka. libcamera-vid) does the latter, which is going to add quite a bit of expense.
In such a situation why are there cameras with 50 fps as we are hardware limited to 30.Note that 1080p50 is beyond the stated performance limits of the Pi 4's encoder block (which is 1080p30), though people have reported achieving quite a lot higher than 30fps under various conditions.
I'm not saving the video to a file just displaying in real time on the TV. I tried using --viewfinder-width and --viewfinder-height but the resolution of the displayed video does not meet the requirements.Use of libcamera-vid instead of rpicam-vid implies that you may be on an old system. Please confirm you're on Bookworm.
I don't see a "-o file" parameter in your command-line, so are you actually encoding? If not encoding then I think you want --viewfinder-width and --viewfinder-height, not --width and --height.
I use:
PRETTY_NAME="Debian GNU/Linux 12 (bookworm)"
NAME="Debian GNU/Linux"
VERSION_ID="12"
VERSION="12 (bookworm)"
VERSION_CODENAME=bookworm
ID=debian
HOME_URL="https://www.debian.org/"
SUPPORT_URL="https://www.debian.org/support"
BUG_REPORT_URL="https://bugs.debian.org/"
Should changing from RPI4 to RPI5 hardware solve the problem and allow me to achieve a stable 50 fps?
Statistics: Posted by MicKal — Thu Mar 13, 2025 8:08 am