Keeping VLC stream open even when the input is dropped

About encoding, codec settings, muxers and filter usage
sidrasaeen
New Cone
New Cone
Posts: 1
Joined: 22 Oct 2022 13:56
Operating System: Windows

Keeping VLC stream open even when the input is dropped

Postby sidrasaeen » 22 Oct 2022 13:59

I'm trying to send AirPlay audio from shairport-sync over a VLC HTTP stream. The problem I'm having is the VLC stream disconnects whenever the AirPlay source disconnects, the VLC stream clients also disconnect. I would like it to just stream silence when an AirPlay device is not connected.

Here's my command:

sudo shairport-sync --stuffing=soxr -t=0 | sox -traw -r 44.1k -es -b16 -c2 -V1 - -t flac -r 192k - gain +2 | cvlc - --sout '#standard{access=http,mux=ogg,dst=10.0.0.50:8085/airplay.ogg}'
Serving You Right Way

Return to “VLC stream-output (sout)”

Who is online

Users browsing this forum: No registered users and 9 guests