#11616 closed defect (duplicate)

kmsgrab does not exit on ctrl+c

Reported by: ahmadconradi Owned by:
Priority: normal Component: ffmpeg
Version: 7.1 Keywords: kmsgrab
Cc: MasterQuestionable Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description

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?

Change History (3)

comment:1 by ahmadconradi, 17 months ago

Component: undetermined → ffmpeg
Keywords: kmsgrab added
Version: unspecified → 7.1

comment:2 by ahmadconradi, 17 months ago

Duplicate of ​https://trac.ffmpeg.org/ticket/11403 - I hope someone can take a look

comment:3 by MasterQuestionable, 17 months ago

Cc: MasterQuestionable added
Resolution: → duplicate
Status: new → closed
Note: See TracTickets for help on using tickets.