run vlc as surveillance stream monitor on raspberry pi without X

*nix specific usage questions
latimer
New Cone
New Cone
Posts: 4
Joined: 31 Mar 2012 23:32

run vlc as surveillance stream monitor on raspberry pi without X

Postby latimer » 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:

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?

Rémi Denis-Courmont
Developer
Developer
Posts: 15266
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

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

Postby Rémi Denis-Courmont » 19 Aug 2023 18:04

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.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded


Return to “VLC media player for Linux and friends Troubleshooting”

Who is online

Users browsing this forum: No registered users and 16 guests