I noticed that FFMPEG doesn't close tasks even after many days. Also when I stop the script (ctrl-c or quit ) it remains pending as if waiting for all streams (ffmpeg task) to finish. Forcing me to kill everything.
After this some files remain unreadable, for example the 12 day old stream. (Which I assume is finished)
Is a FFMPEG problem or a script problem ?
Should we add a "-t 01:00:00" and limit to 1 hour file ? or something to force the connection down and wait for the bot to restart the download(i dont mind loosing 1 minute of stream)
How to recover "damaged" files ?Do I have to re-encode ?
I add that there have been some internet connection drops, but like 1 every 2/3 days, it's hard to trace whether it's their fault
I noticed that FFMPEG doesn't close tasks even after many days. Also when I stop the script (ctrl-c or quit ) it remains pending as if waiting for all streams (ffmpeg task) to finish. Forcing me to kill everything. After this some files remain unreadable, for example the 12 day old stream. (Which I assume is finished) Is a FFMPEG problem or a script problem ? Should we add a "-t 01:00:00" and limit to 1 hour file ? or something to force the connection down and wait for the bot to restart the download(i dont mind loosing 1 minute of stream) How to recover "damaged" files ?Do I have to re-encode ?
I add that there have been some internet connection drops, but like 1 every 2/3 days, it's hard to trace whether it's their fault
Thanks in advance ThEnGi