Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 3546

Raspberry Pi OS • Raspberry Pi 5 autostart RTSP VLC feed times out

$
0
0
I have a new Raspberry Pi 5 running the newest update of 64bit Bookworm and I am using a .desktop file in autostart to run VLC and start a RTSP video feed on login to the GUI, and it works, VLC opens, but that the network takes a moment to connect and VLC times out with the error: "Your input cannot be opened: VLC is unable to open the MRL '**********'. Check the log file for details."

You can't run VLC from a script. It errors out. It tells you that you can run CVLC, but that actually tries to display am ASCII rendering of the video feed?!

You can't run a script to sleep a little or wait until the network connects and pings, they run in parallel.

I can't seem to delay the running of the autostart even though there are lines in .desktop files that are supposed to do that.

I've found multiple time out settings in VLC and set them all to take at least two minutes to time out, so VLC tries, then the network connects, but VLC never connects.

If I run the .desktop file after startup of the GUI, it works, great, almost instant connection.

I'm trying to figure out if there's a way to:

- Make the network connect faster
- Delay the running of autostart
- Make VLC try again
- Run from a script and tell VLC to run in the GUI and not within the terminal
- Some other video player that will play RTSP stream
-Something that will make an RTPS stream play fullscreen on boot and auto login of the GUI

Any thoughts?

Statistics: Posted by Brian.Smith — Fri Aug 01, 2025 2:28 am



Viewing all articles
Browse latest Browse all 3546

Trending Articles