run vlc as surveillance stream monitor on raspberry pi without X
Posted: 19 Aug 2023 14:52
As omxplayer is deprecated, I am looking to replace it with vlc, but cannot find a working solution.
From my google results, there are many who seem to have similar problems with replacing omxplayer.
I am running buster lite without X on a pi model B and I want it to show the stream from a surveillance webcam on a 640x480 car monitor attached to the analog video output.
There is no GUI and no logged-in user.
The system should just boot and permanently show the live stream from the webcam.
I have configured the raspberry to use sdtv output and with omxplayer I then only need to set up a crontab entry as root like here:
Is there a vlc equivalent to the given omxplayer command line?
From my google results, there are many who seem to have similar problems with replacing omxplayer.
I am running buster lite without X on a pi model B and I want it to show the stream from a surveillance webcam on a 640x480 car monitor attached to the analog video output.
There is no GUI and no logged-in user.
The system should just boot and permanently show the live stream from the webcam.
I have configured the raspberry to use sdtv output and with omxplayer I then only need to set up a crontab entry as root like here:
Code: Select all
> crontab -l
@reboot /usr/local/bin/runOMXplayer.sh
> cat /usr/local/bin/runOMXplayer.sh
#!/bin/bash
omxplayer -r -b --no-keys --live http://myWebcam:8080/?action=stream
Is there a vlc equivalent to the given omxplayer command line?