Age | Commit message (Collapse) | Author |
|
window capture
|
|
|
|
Also fixes color metadata, color range and hdr on nvidia wayland.
|
|
screen rotation in wayland is best effort,
wayland doesn't give the necessary information to make it robust.
|
|
|
|
Nvidia support will be added in the future.
Note that hdr metadata is missing from the output file as
amd and intel both have bugged drivers that dont add hdr metadata
to the output file.
Need to find a workaround for this (patching the video bitstream?).
Add -cr limited|full, to set color range
|
|
|
|
systems running kde plasma)
|
|
|
|
|
|
Always find largest drm buf, to fix some cases
when there are multiple planes and we accidentally
capture a drm buf that isn't the target buf.
We always want the full SCREEN drm buf.
|
|
If there is only one monitor connected and it's rotated then
the drm buf will also be rotated. This only the case with AMD and
only when using one monitor!
To fix this, we perform color conversion with an opengl shader
which allows us to also rotate the texture.
VAAPI supports rotation but it's not implemented by AMD at least.
Performance seems to be the same as when using VAAPI, even when
GPU usage is 100%.
|