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

_______________________________________________
ffmpeg-user mailing list
[email protected]
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[email protected] with subject "unsubscribe".

Reply via email to