Page 1 of 1

Autostart VLC RTSP Stream with rc.local

Posted: 28 Aug 2024 15:55
by drradkin
Hello, can someone tell me what I need to put in the rc.local file on my raspberry pi running bookworm to autostart an RTSP stream with VLC on boot?

Re: Autostart VLC RTSP Stream with rc.local

Posted: 29 Aug 2024 13:01
by RĂ©mi Denis-Courmont
Apps probably don't have access to display and audio output from there, so won't work.

Instead you need to have the desktop manager automatically login, and then the session manager automatically start VLC with the intended URL as parameter. Details will vary depending on your environment.