Spaces:
Build error
Build error
Commit
·
15345fe
1
Parent(s):
b6e2f70
rename the streams
Browse files- scripts/stream1.sh +1 -1
- scripts/stream2.sh +1 -1
scripts/stream1.sh
CHANGED
@@ -4,5 +4,5 @@ COUNT=0
|
|
4 |
|
5 |
echo "Starting FFMPEG live stream for channel 1"
|
6 |
while true; do
|
7 |
-
ffmpeg -y -nostdin -re -f concat -safe 0 -i channel_1_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/
|
8 |
done
|
|
|
4 |
|
5 |
echo "Starting FFMPEG live stream for channel 1"
|
6 |
while true; do
|
7 |
+
ffmpeg -y -nostdin -re -f concat -safe 0 -i channel_1_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/legacy
|
8 |
done
|
scripts/stream2.sh
CHANGED
@@ -5,5 +5,5 @@ COUNT=0
|
|
5 |
echo "Starting FFMPEG live stream for channel 2"
|
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_2_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/
|
9 |
done
|
|
|
5 |
echo "Starting FFMPEG live stream for channel 2"
|
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_2_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/hdtv
|
9 |
done
|