aboutsummaryrefslogtreecommitdiff
path: root/include/utils.h
AgeCommit message (Collapse)Author
2024-12-08Add card path to --info, add card path and vendor to --list-capture-options ↵dec05eba
if known to speed up the command
2024-12-08Refactor windowing from egl to window_x11/window_wayland, yolodec05eba
2024-11-21Fix portal capture on broken amd drivers: fallback to opengl copy instead of ↵dec05eba
vaapi on known buggy mesa version
2024-11-10Add -aa and -aai options to record audio only from selected applicationsdec05eba
Use the --list-application-audio option to list available applications to record from.
2024-10-26Add option to change output resolution (-s)dec05eba
2024-09-16Pure vaapi capture (for capture target) and opengl composition for cursor ↵dec05eba
only when capturing window and portal as well, clear background on resize for monitor capture
2024-09-16Improve capture performance on amd/intel when using monitor capture: capture ↵dec05eba
display frame using purely vaapi unless the monitor is rotated
2024-09-14Set update fps to video fps, on x11 sync video to damage trackingdec05eba
2024-08-16Allow capture of external monitors on a laptop with dedicated gpu (prime) on ↵dec05eba
x11, fix cursor not visible on some wayland compositors (hyprland) with multiple monitors
2024-07-22Fix portal capture on intel, support multiple planes in one egl image (might ↵dec05eba
fix capture on intel iris)
2024-07-15Add support for desktop portal capture (-w portal)dec05eba
2024-06-10Workaround amd driver bug: hevc ffmpeg/mesa misaligned resolution causing ↵dec05eba
glitched video output on right/bottom side
2024-06-10Do not require a valid drm plane to capture a window on amd/intel x11dec05eba
2024-03-10Use dri card matching current egl contextdec05eba
2024-03-08Refactor kms_vaapi and kms_cudadec05eba
Also fixes color metadata, color range and hdr on nvidia wayland.
2024-02-10Add screen rotation support (tested on amd/intel)dec05eba
screen rotation in wayland is best effort, wayland doesn't give the necessary information to make it robust.
2024-02-09Move card path to egl struct, use egl struct for monitor enumerationdec05eba
2023-07-21Fix capture not working on intel + waylanddec05eba
Ignore nouveau cards. Fix lag on start of recording on amd/intel by only loading egl once, on startup.
2023-07-18Fix green screen sometimes when capturing amd/intel windowdec05eba
2023-07-18Experimental wayland support, test 1dec05eba
2023-04-16Find /dev/dri/card path that exists (the first one)dec05eba
2023-04-15Fix AMD single monitor rotated display being rotated in recordingdec05eba
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%.
2023-04-07Implement kms vaapi capturedec05eba