- raspbian 32 bit lite, configure ssh/wifi through pi imager.
sudo apt-get update && sudo apt-get upgrade && sudo apt-get install vlc git xserver-xorg xinit && sudo mkdir -p /opt/scripts /opt/systemd_services
sudo git clone https://github.com/goodtft/LCD-show.git /opt/LCD-show; sudo chmod -R 755 /opt/LCD-show;cd /opt/LCD-show/;sudo ./LCD5-show
- This gets us the full resolution (800x480) (without this driver, it gets set at 640 instead of 800)
- modify
/boot/config.txt
with the following:- uncomment
dtoverlay=vc4-kms-v3d
-- which gets commented by the previous LCD-show scripts. We need this still forlibmedia
previews to work. - add
hdmi_blanking=1
to add sleep-like behavior by shutting off hdmi. hopefully works with touch screen.
- uncomment
- setup systemd service to run rtsp server.
libcamera-vid -t 0 -f --inline -o - | cvlc stream:///dev/stdin --sout '#rtp{sdp=rtsp://:8554/frontdoor}' :demux=h264