So why VLC can play the streams continuously but ffmpeg can't. I thougth ffmpeg should have some flag to handle error and continue. The TCP connection to the m3u8 is not lost though.
On Mon, Oct 28, 2019 at 8:46 AM Bryce McLeod <bryce.mcl...@codory.com> wrote: > Hi, > > This isn't something you can do with command line flags. If you cannot > resolve the problem with the stream then have your calling process/script > restart ffmpeg when this happens. Depending on the error checking the exit > code is usually enough. > > > > On Mon, Oct 28, 2019 at 5:34 AM Chuck Love <ztvqui1...@gmail.com> wrote: > > > Hi, > > > > I have an m3u8 Live streaming here. > > http:// 23.237.2.66 : 2209/Local10.m3u8 > > > > Please remove spaces in the URL > > > > Basically I can use VLC to stream this HLS link for several hours with no > > problem. However when using ffmpeg to restream to my local RTMP server, > > after a while it disconnect and give error like this > > > > av_interleaved_write_frame(): Unknown error > > Last message repeated 1 times > > [flv @ 000001cb6deba5c0] Failed to update header with correct duration. > > [flv @ 000001cb6deba5c0] Failed to update header with correct filesize. > > > > The command I use is > > ffmpeg -err_detect ignore_err -re -i " > http://23.237.2.66:2209/Local10.m3u8 > > " > > -async 1 -vsync -1 -c:v copy -c:a aac -strict 2 -bsf:a aac_adtstoasc -b:a > > 128k -max_muxing_queue_size 1024 -tune zerolatency -f flv "rtmpServer" > > > > I am using Windows Server 2016 and ffmpeg static complied on 10-28-2019 > > > > What flags should I add to the command to tell ffmpeg to ignore all > errors > > and keep doing the job, provided that, the m3u8 file is working > > continuously in VLC? If VLC does not stop the streams, then FFMPEG should > > not stop encoding too. > > > > Thanks > > _______________________________________________ > > ffmpeg-user mailing list > > ffmpeg-user@ffmpeg.org > > https://ffmpeg.org/mailman/listinfo/ffmpeg-user > > > > To unsubscribe, visit link above, or email > > ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe". > > > > -- > Bryce McLeod > > Codory Software Limited > email: bryce.mcl...@codory.com > skype: bmcleodcd > web: http://www.codory.com > > > Codory Software Limited is registered in England and Wales, no. 08711579. > Registered office: First Floor, Telecom House 125-135 Preston Road, > Brighton, BN1 6AF. > _______________________________________________ > ffmpeg-user mailing list > ffmpeg-user@ffmpeg.org > https://ffmpeg.org/mailman/listinfo/ffmpeg-user > > To unsubscribe, visit link above, or email > ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe". _______________________________________________ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".