First commit

This commit is contained in:
pepa65 committed 2022-08-26 21:31:39 +07:00
commit 08a25f62af
5 files changed
+130

No files matched your search

Executable
+6
View File
@@ -0,0 +1,6 @@
#!/usr/bin/env bash
# stream - Stream video when called from crontab
in=/var/www/uploadpage/uploads/$1.mp4 key=${1%%.*}
/usr/bin/ffmpeg -re -y -i $in -c:v copy -c:a copy \
-f flv "rtmp://singapore.restream.io/live/$key"