@russ Thanks I'm away for a week or more, I'll have a crack when I get back.
Posts made by Belleye
-
RE: Rpi VLC
-
RE: Rpi VLC
@russ, Thanks that sorted it. The MP4 was only to simplify things, the real power comes from linking to a IP camera.
driveway.sh
sudo -u pi timeout 60 cvlc rtsp://192.168.0.11:554/user=xxxxx_password=xxxxx_channel=1_stream=0.sdp?real_stream --sout '#chromecast' --sout-chromecast-ip=192.168.0.10 --demux-filter=demux_chromecastNow I don't need a nest camera
One last piece in the puzzle, can I share my triggercmd account with my wife's google account? Or do I need 2 RPIs?
I can execute the script from google home, but my wife can't use the service due to not having a triggercmd account.
-
Rpi VLC
Hi All,
I'm attempting to push a Raspberry Pi VLC video stream to my google home hub.
test.sh
#!/bin/bash
a="$(date)"
p="/home/pi/tmp/Script_ran_$(date +%F_%R).txt"
echo $a >> $p
timeout 60 cvlc /home/pi/Desktop/test.mp4 --sout '#chromecast' --sout-chromecast-ip=192.168.0.10 --demux-filter=demux_chromecastCommands.json
{"trigger":"Video background","command":"/home/pi/tmp/test.sh","ground":"background","voice":"video background",allowParams":"false"},Running test.sh writes the file and pushes the video to the google home hub.
TRIGGERcmd writes the text file but does not start the videoAny help would be greatly appreicated.
Raspberry Pi 3, Raspbian Stretch with desktop (Nov 2018)