ammen99 / wf-recorder

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

The range for partial recording of the rotation screen is incorrect

tkna91 opened this issue · comments

This phenomenon occurred to me as well.

It also recorded the wrong part of the screen when passing the geometry via slurp. For my 90 degrees rotated screen when I wanted to record something on the bottom left, it recorded something on the top left instead.

Originally posted by @AndreasBackx in #3 (comment)

Commands executed

$ slurp
0,2481 1080x479
$ grim -g "$(slurp)" - | swappy -f -
$ wf-recorder -g "$(slurp)" -f /tmp/capture.mp4
$ mpv /tmp/capture.mp4

version

$ pacman -Q sway wlroots wf-recorder slurp grim ffmpeg mpv
sway 1:1.7-9
wlroots 0.15.1-5
wf-recorder 0.2.1-4
slurp 1.3.2-2
grim 1.4.0-2
ffmpeg 2:5.0-7
mpv 1:0.34.1-4
$
20220609-131758_capture-rotate.mp4