Race condition: We had to kill ffmpeg to stop it.
See original GitHub issueI’m trying to encode several mp4
s at a time, and all of the larger ones give me the message We had to kill ffmpeg to stop it.
Most of the files for which this message is printed are corrupted. Looking at the code, there appears to be a race condition in there where it only gives ffmpeg
2.5s to clean up. Is this needed? Or is there a way to disable that?
Issue Analytics
- State:
- Created 4 years ago
- Comments:39 (17 by maintainers)
Top Results From Across the Web
Killing python ffmpeg subprocess breaks cli output
I have the same problem. I can't get a running FFmpeg to terminate gracefully from a python subprocess, so I am using <process>.kill()...
Read more >How can I stop FFMPEG? - linux - Server Fault
On Linux, you can use sudo killall ffmpeg to kill every process called "ffmpeg" or ps -ef | grep ffmpeg to get the...
Read more >[Ffmpeg-devel-irc] ffmpeg-devel.log.20170329
There will be a race condition [00:59:57 CEST] <ubitux> * inside the slice decode function to set these, but we do not care....
Read more >Search Results - CVE
A race condition exists in Eternal Terminal prior to version 6.2. 0 that allows an authenticated attacker to hijack other users' SSH authorization...
Read more >avconv and ffmpeg keep crashing on segmentation fault ...
For your diagnose, you might consider if it is racing condition of the speed of writing in the hard disk, and also taking...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
A new release is now available on Pypi.
agreed.
I re-posted because someone requested a workaround, which typically aren’t long-term solutions. This can be added without waiting for a PR to get approved, merged, released and posted.