diff --git a/stream.sh b/stream.sh index 02bee39..8899bed 100755 --- a/stream.sh +++ b/stream.sh @@ -53,5 +53,5 @@ ffmpeg \ -map "$audio_stream_num" \ -map "[vid2]" \ -f flv \ -"./$2.flv" && sleep 3 & -ffmpeg -re -i "./$2.flv" -f flv -c copy "rtmp://watch.commie.club/app/$2" +"./$2.flv" & sleep 3 +ffmpeg -re -i "./$2.flv" -f flv -c copy "$2"