sometimes, ffmpeg hangs while recording a live video. i was trying to find a way to specify a timeout period that if nothing is input for this period of time (like maybe 20 seconds) i can have it abort. even better would be to have it send another request to get that video stream going, again (a shorter timeout, like 5 seconds, would be appropriate when this is done). my free internet source (where i live, this is not stolen access) has changed provider (to ########) and is now less reliable (packet loss at times gets very high for a few seconds causing some connections to hang).
i look in the man page ("man ffmpeg" on Xubuntu Linux) but "timeout" does not seem to be in there. do they call it something else or just not have this capability?
i see that one of the live connection protocols involves repeating TCP connects. this can be especially vulnerable to bad networks. i would have used SCTP or UDP for such a thing.
+ Reply to Thread
Results 1 to 6 of 6
-
-
-
yes, it's another app
look here https://github.com/xhlove/XstreamDL-CLI/
and make a new folder "binaries" and put ffmpeg and mp4decrypt (if needed) -
the English README says "program not support m3u8 live". what i am capturing is m3u8 live. so this is not suitable for me.
Similar Threads
-
FFMPEG: Overlay Capture Time as Time Counter
By adam201 in forum Video ConversionReplies: 1Last Post: 27th Jun 2022, 12:32 -
ffmpeg RTMP/RTP recovery from network disconnect/error
By memphis in forum DVB / IPTVReplies: 1Last Post: 12th Sep 2021, 21:40 -
FFMPEG slows down over time
By bradwiggo in forum Newbie / General discussionsReplies: 4Last Post: 7th Jul 2021, 06:59 -
Problems with ffmpeg downloading from some television network websites
By Hansg in forum Video Streaming DownloadingReplies: 12Last Post: 10th Jun 2019, 15:45 -
ffmpeg cutting: how to get negative start time?
By Luke M in forum EditingReplies: 1Last Post: 25th Jul 2018, 11:00