Fixed sleep thing

This commit is contained in:
sose 2019-05-18 14:48:22 -07:00
parent 46ed73743a
commit 059ff6b4e1
1 changed files with 2 additions and 2 deletions

View File

@ -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"