-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathstream-errormessage-to-all-streams.sh
13 lines (12 loc) · 1.27 KB
/
stream-errormessage-to-all-streams.sh
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/sh
ffmpeg -y -ar 48000 -ac 2 -f s16le -i /dev/zero -f image2 -loop 1 -re -r 25 -i down.png -threads 2 -pix_fmt yuv420p -acodec libfaac -vcodec libx264 -f flv - | \
tee >(ffmpeg -y -loglevel warning -i - -c:v copy -c:a copy -f flv rtmp://127.0.0.1/stream/saal1_native_hq) | \
tee >(ffmpeg -y -loglevel warning -i - -c:v copy -c:a copy -f flv rtmp://127.0.0.1/stream/saal2_native_hq) | \
tee >(ffmpeg -y -loglevel warning -i - -c:v copy -c:a copy -f flv rtmp://127.0.0.1/stream/saal3_native_hq) | \
tee >(ffmpeg -y -loglevel warning -i - -c:v copy -c:a copy -f flv rtmp://127.0.0.1/stream/saal4_native_hq) | \
tee >(ffmpeg -y -loglevel warning -i - -c:v copy -c:a copy -f flv rtmp://127.0.0.1/stream/saal5_native_hq) | \
tee >(ffmpeg -y -loglevel warning -i - -c:v copy -c:a copy -f flv rtmp://127.0.0.1/stream/saal1_native_lq) | \
tee >(ffmpeg -y -loglevel warning -i - -c:v copy -c:a copy -f flv rtmp://127.0.0.1/stream/saal2_native_lq) | \
tee >(ffmpeg -y -loglevel warning -i - -c:v copy -c:a copy -f flv rtmp://127.0.0.1/stream/saal3_native_lq) | \
tee >(ffmpeg -y -loglevel warning -i - -c:v copy -c:a copy -f flv rtmp://127.0.0.1/stream/saal4_native_lq) | \
tee >(ffmpeg -y -loglevel warning -i - -c:v copy -c:a copy -f flv rtmp://127.0.0.1/stream/saal5_native_lq) > /dev/null