ffmpeg goes into interruptible sleep because of temporary network problem and can not recover
|Reported by:||Jarno Suni||Owned by:|
|Cc:||Jarno Suni||Blocked By:|
|Blocking:||Reproduced by developer:||no|
|Analyzed by developer:||no|
Summary of the bug:
How to reproduce:
% ffmpeg -i http://stream.wappuradio.fi/wappuradio.opus -c copy output.opus
I had some temporary problem in internet connection or my the router, and probably due to that ffmpeg was waiting for some data to arrive. When internet connection started to work again, ffmpeg did not continue recording but remained in interuptible sleep state. I killed the process by SIGINT. I will tell you later, if I can reproduce the issue, but I think the bug and fix can be found by analyzing the code.
ffmpeg should exit with non-zero error code
Option 2: ffmpeg should be able to continue recording automatically when possible even if some part of the recording was missed. ffmpeg should somehow notify caller that some part was missed.
NOTE: There has been some breaks in the input stream before, but then ffmpeg exited so I can relaunch it automatically periodically, if needed.
Maybe there are some ffmpeg options I can use the make it work better for me in these kind of problem cases?
Patches should be submitted to the ffmpeg-devel mailing list and not this bug tracker.
Change History (11)
comment:1 by , 9 months ago
|Keywords:||http added; interuptible sleep removed|
|Version:||3.4.8 → unspecified|