[FFmpeg-user] FFMPEG fails 5% responding to SIGTERM and SIGINT

Osama Alshaykh osama at nxtec-corp.com
Thu Feb 9 18:02:07 EET 2017


Hi Everyone,

I am a big fan of FFMPEG from my days in video standards.  We are using FFMPEG on debian Linux.  We are using it to capture screens using x11grab and also using alsa to capture audio.  
 I found, what I can't always stop ffmpeg even I have its pid.  we tried SIGTERM and we also tried sending SIGINT, but sometimes it doesn't work.   In 5% of the FFMPEG sessions, it fails to stop.
In these cases we can only stop ffmpeg only by SIGKILL, but video file is not correct after sending SIGKILL (doesn't have end-header). Any ideas or suggestions will be greatly appreciate.

Thanks,
Osama Alshaykh


More information about the ffmpeg-user mailing list