[FFmpeg-trac] #11616(undetermined:new): kmsgrab does not exit on ctrl+c

FFmpeg trac at avcodec.org
Fri May 30 12:52:26 EEST 2025


#11616: kmsgrab does not exit on ctrl+c
-------------------------------------+-------------------------------------
             Reporter:               |                     Type:  defect
  ahmadconradi                       |
               Status:  new          |                 Priority:  normal
            Component:               |                  Version:
  undetermined                       |  unspecified
             Keywords:               |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------
 The following command records the screen, however when I press 'q' or
 ctrl+c, it just keeps running:

 ffmpeg -device /dev/dri/card0 -f kmsgrab -i - -vf
 'hwmap=derive_device=vaapi,scale_vaapi=w=1920:h=1080:format=nv12' -c:v
 h264_vaapi -b:v 2500k -maxrate 4000k -y output-file.mkv

 I am using wayland (sway) and ffmpeg version n7.1.1.

 Is there any workaround?
-- 
Ticket URL: <https://trac.ffmpeg.org/ticket/11616>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list