looping realtime ffmpeg stream hesitates a few seconds into each new file
22 Jul
2021
22 Jul
'21
2 p.m.
iI am running this loop to feed a local nginx server. when this stream is viewed as m3u8 from a web client, the next video in the loop begins playing immediately and it looks nice and professional. But, about 5 seconds or so later it hesitates. Sometimes it is a pause and it picks up where it left off, and sometimes some of the content is lost in the playback. How can I tweak this command line to stop this hiccup? for i in *.ts do ffmpeg -re -i $i -vcodec copy -c:a copy -b:v 2500k -preset fast -b 900k -b:a 190k -s 1920��1080 -f flv rtmp://localhost/live/$1 done Thanks, in advance! Gar
1940
Age (days ago)
1940
Last active (days ago)
0 comments
1 participants
participants (1)
-
Gary