[FFmpeg-trac] #6336(ffmpeg:closed): No Way to Cleanly Terminate ffmpeg.exe while capturing screen
FFmpeg
trac at avcodec.org
Sun Aug 30 20:49:10 EEST 2020
#6336: No Way to Cleanly Terminate ffmpeg.exe while capturing screen
-------------------------------------+-----------------------------------
Reporter: dbareis | Owner:
Type: defect | Status: closed
Priority: normal | Component: ffmpeg
Version: unspecified | Resolution: invalid
Keywords: | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
-------------------------------------+-----------------------------------
Comment (by RattleyCooper):
I created a wrapper program that creates a window handle, can launch
ffmpeg, catch the `WM_CLOSE` event sent by the `taskkill` command, and
then send "q" to the ffmpeg processe's `stdin` to shut it down gracefully.
So it is now possible to handle a `taskkill` gracefully on windows.
Here is a link to the repository.
https://github.com/Wykleph/ffmpeg_wrapper - I am not sure if this
qualifies as "fixed".
--
Ticket URL: <https://trac.ffmpeg.org/ticket/6336#comment:20>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list