mirror of https://github.com/captn3m0/Scripts.git
Allow user to copy the rtsp path, instead of relying on xclip
This commit is contained in:
parent
9f53e6e02a
commit
33818366e6
|
@ -3,9 +3,8 @@ set -o nounset
|
||||||
|
|
||||||
pulseaudio_stream='pulse://alsa_output.pci-0000_00_1b.0.analog-stereo'
|
pulseaudio_stream='pulse://alsa_output.pci-0000_00_1b.0.analog-stereo'
|
||||||
|
|
||||||
echo "rtsp://me.captnemo.in:8554/"|xclip
|
echo "Copy the following URL and paste in on device: rtsp://me.captnemo.in:8554/"
|
||||||
echo "Copied RTSP url to clipboard. Paste on device"
|
read -t 5 -p "Hit ENTER or wait ten seconds"
|
||||||
echo "Starting VLC"
|
echo "Starting VLC"
|
||||||
sleep 2
|
|
||||||
|
|
||||||
nvlc "pulse://" ":sout=#transcode{vcodec=none,acodec=mpga,ab=128,channels=2,samplerate=44100}:rtp{sdp=rtsp://:8554/}"
|
nvlc "pulse://" ":sout=#transcode{vcodec=none,acodec=mpga,ab=128,channels=2,samplerate=44100}:rtp{sdp=rtsp://:8554/}"
|
||||||
|
|
Loading…
Reference in New Issue