Skip to content

When using hardware encoding, may crash or produce videos with pixel misalignment. #232

@xiaohuirong

Description

@xiaohuirong

I use the options -c hevc_vaapi -g "<region>" to record windows, and different region selections result in different behaviors for wl-recorder. Running wf-recorder -c hevc_vaapi -g "683,48 1333x140" -f crash.mkv causes the program to crash. wf-recorder -c hevc_vaapi -g "642,317 1322x807" -f misalignment.mkv results in pixel misalignment. However, wf-recorder -c hevc_vaapi -g "637,317 1333x807" -f normal.mkv works correctly. I have tried all supported hardware encoders, and the issue persists. If using software encoding, it works correctly regardless of the selected region.

https://youtu.be/nmSDx5srsY8?si=ELj0hTUGszMeuwRm

  • OS: Archlinux 6.4.12-zen1-1-zen
  • WM: Wayfire lasted git version
  • CPU: i5-13400 / i7-7500U
  • GPU: Intel UHD Graphics 730 / Intel HD Graphics 620, both have this issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions