Open xiaohuirong opened 8 months ago
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.
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