0

I'm trying to

  1. start and stream video to vlc and
  2. record the same video stream to a file that starts at 05:45 am the next day

Everything works but the start time, instead of starting at 05:45 am the next day it starts immediately. What did I miss?

bash -c "streamlink --stdout https://www.youtube.com/watch?v=XOacA3RYrXk 720p | tee /tmp/water_vid/water_video-$(date +"%H:%M_%m-%d-%Y").mkv | vlc -" | at 05:45 am
hlovdal
  • 23,353
  • 10
  • 78
  • 148
Rick T
  • 3,125
  • 9
  • 43
  • 101

1 Answers1

1

You need to write the commands, not their output

echo "streamlink --stdout https://www.youtube.com/watch?v=XOacA3RYrXk 720p | tee /tmp/water_vid/water_video-$(date +'%H:%M_%m-%d-%Y').mkv | vlc -" | at 05:45 am
Diego Torres Milano
  • 57,580
  • 7
  • 101
  • 124