jbilcke-hf HF staff commited on
Commit
24489ef
·
1 Parent(s): 95024b3

decimate again

Browse files
Files changed (3) hide show
  1. scripts/stream3.sh +1 -0
  2. scripts/stream3_twitch.sh +1 -0
  3. start.sh +1 -1
scripts/stream3.sh CHANGED
@@ -6,4 +6,5 @@ echo "Starting FFMPEG live stream for channel 3"
6
  while true; do
7
  # Note: for now we also use channel 1 for audio!
8
  ffmpeg -y -nostdin -re -f concat -safe 0 -i channel_3_video.txt -stream_loop -1 -safe 0 -i channel_1_audio.txt -loglevel error -c:v libx264 -preset veryfast -tune zerolatency -c:a aac -ar 44100 -shortest -f flv rtmp://localhost/live/smooth
 
9
  done
 
6
  while true; do
7
  # Note: for now we also use channel 1 for audio!
8
  ffmpeg -y -nostdin -re -f concat -safe 0 -i channel_3_video.txt -stream_loop -1 -safe 0 -i channel_1_audio.txt -loglevel error -c:v libx264 -preset veryfast -tune zerolatency -c:a aac -ar 44100 -shortest -f flv rtmp://localhost/live/smooth
9
+ sleep 1
10
  done
scripts/stream3_twitch.sh CHANGED
@@ -6,4 +6,5 @@ echo "Starting FFMPEG live stream of channel 3 to Twitch"
6
  while true; do
7
  # Note: for now we also use channel 1 for audio!
8
  ffmpeg -y -nostdin -re -f concat -safe 0 -i channel_3_video.txt -stream_loop -1 -safe 0 -i channel_1_audio.txt -loglevel error -c:v libx264 -preset veryfast -tune zerolatency -c:a aac -ar 44100 -shortest -f flv rtmp://cdg02.contribute.live-video.net/app/$WEBTV_TWITCH_API_KEY
 
9
  done
 
6
  while true; do
7
  # Note: for now we also use channel 1 for audio!
8
  ffmpeg -y -nostdin -re -f concat -safe 0 -i channel_3_video.txt -stream_loop -1 -safe 0 -i channel_1_audio.txt -loglevel error -c:v libx264 -preset veryfast -tune zerolatency -c:a aac -ar 44100 -shortest -f flv rtmp://cdg02.contribute.live-video.net/app/$WEBTV_TWITCH_API_KEY
9
+ sleep 1
10
  done
start.sh CHANGED
@@ -11,7 +11,7 @@ bash ./scripts/init.sh
11
  bash scripts/censorship.sh
12
 
13
  # ----------- ARCHIVE OLD, UNINTERESTING VIDEOS -------
14
- # bash scripts/decimate_content.sh
15
 
16
  # ------ background processes ---------
17
 
 
11
  bash scripts/censorship.sh
12
 
13
  # ----------- ARCHIVE OLD, UNINTERESTING VIDEOS -------
14
+ bash scripts/decimate_content.sh
15
 
16
  # ------ background processes ---------
17