wf-recorder
wf-recorder copied to clipboard
The video recorded with hardware encoding has pixel distortion on wayfire with 1.25 scaling.
- Screen: 2560x1440
- WM: Wayfire
- Scaling: 1.25
- wf-recorder: built from latest commit 22f18cd
The pixels in videos generated by region screen recording may become distorted.
Example:
wf-recorder -g "110,93 800x600" -c hevc_vaapi
The related issues:https://github.com/ammen99/wf-recorder/issues/232
The same issue occurs in the dual-screen configuration with 1x scaling.
wf-recorder -g "0,0 1000x1000" -c hevc_vaapi
I reproduce the pixel misalignment issue using two displays. Here is my setup: ArchLinux with Sway WM (v1.8.1) and wf-recorder v0.4.1 integrated laptop (eDP) screen 1920x1080 pixels, external HDMI screen 1920x1080 pixels Laptop equipped with Intel i5-8265U CPU and integrated graphics (HD620) only.
Using the following command line:
/usr/bin/wf-recorder \
-c h264_vaapi \
-d /dev/dri/renderD128 \
-f "${HOME}/Videos/$(date +%%Y-%%m-%%d-%%H-%%M-%%S).mp4" \
-g "$(slurp -d)"
Disconnecting the external display seems to resole the issue.