
-
- Posts: 1
- Joined: Fri Oct 27, 2017 4:49 pm
Live Preview to TFT Screen
For my engineering class project I need to get my 3.5" raspberry pi tft screen to show what the camera sees. I've managed this using fbcp and a short python code using "camera.start_preview" but the video is very laggy and I need to be able to see fast moving objects. Any advice or help? Thanks offered in advance 

Re: Live Preview to TFT Screen
Hi,
depends on the resolution of your display, the camera type (Raspberry or USB) and what Pi you have.
As you can see you can get 25fps for 320x240 TFT LCD with Pi Zero, Raspberry camera and gstreamer:

The gstreamer command I used is this:
(The trick to get fpsdisplaysink output to a framebuffer device is a videoconvert in video-sink)
depends on the resolution of your display, the camera type (Raspberry or USB) and what Pi you have.
As you can see you can get 25fps for 320x240 TFT LCD with Pi Zero, Raspberry camera and gstreamer:

The gstreamer command I used is this:
Code: Select all
gst-launch-1.0 v4l2src device=/dev/video0 ! video/x-raw,width=320,height=240,framerate=30/1 ! videoconvert ! fpsdisplaysink text-overlay=true video-sink="videoconvert ! fbdevsink device=/dev/fb1"
https://github.com/Hermann-SW/RSA_numbers_factored
https://stamm-wilbrandt.de/GS_cam_1152x192@304fps
https://hermann-sw.github.io/planar_graph_playground
https://github.com/Hermann-SW/Raspberry_v1_camera_global_external_shutter
https://stamm-wilbrandt.de/
https://stamm-wilbrandt.de/GS_cam_1152x192@304fps
https://hermann-sw.github.io/planar_graph_playground
https://github.com/Hermann-SW/Raspberry_v1_camera_global_external_shutter
https://stamm-wilbrandt.de/