Opened 17 months ago
Closed 17 months ago
#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 , 17 months ago
| Component: | undetermined → ffmpeg |
|---|---|
| Keywords: | kmsgrab added |
| Version: | unspecified → 7.1 |
comment:2 by , 17 months ago
Note:
See TracTickets
for help on using tickets.



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