Controling a stream via SSH after it has been started
Posted: 30 Jul 2018 03:09
Hi, I've recently been playing about with VLC streams using the linux console via SSH but I am unsure of how to then control the stream after I have started it as I can no longer input commands without using ctrl-c which would exit the session. At the moment to start a stream and have access to controls on the local machine I am using:
From the remote machine this will launch the VLC GUI and start the stream playlist on the local machine so that I can then physically go to the local machine and use the GUI to control the stream, however what I would like to do is be able to skip back and forth and have all control options on the remote machine via SSH. I have also tried using cvlc without the display command but its the same result. I also tried duplicating the SSH session but the duplicate session doesnt seem to be able to access the stream.
Once started the cursor just returns a new line and dosn't process input, you could type anything and nothing would happen, I am not sure what the proper term for that state is.
Code: Select all
DISPLAY=:0 vlc audio/stream.xspf -A alsa,none --alsa-audio-device default --sout '#transcode{vcodec=none,acodec=mp3,ab=128,channels=2,samplerate=44100}:duplicate{dst=http{mux=mp3,dst=:8181/},dst=display}' :sout-keep
Once started the cursor just returns a new line and dosn't process input, you could type anything and nothing would happen, I am not sure what the proper term for that state is.