Page 1 of 1

run vlc as surveillance stream monitor on raspberry pi without X

Posted: 19 Aug 2023 14:52
by latimer
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:

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?

Re: run vlc as surveillance stream monitor on raspberry pi without X

Posted: 19 Aug 2023 18:04
by RĂ©mi Denis-Courmont
Debian Buster doesn't have a "lite" version. If you are using Raspbian, they have a very custom VLC build so you need to get help from there, not here.

Also nobody here knows OMX player syntax, probably.