diff --git a/README.md b/README.md index 6593071..f918151 100644 --- a/README.md +++ b/README.md @@ -14,7 +14,7 @@ This is a cli-only tool, if you want an UI for this check out [GPU Screen Record Supported video codecs: * H264 (default) * HEVC (Optionally with HDR) -* AV1 (Optionally with HDR. Not currently supported on NVIDIA if you use GPU Screen Recorder flatpak) +* AV1 (Optionally with HDR. Not currently supported on NVIDIA in the flatpak version of GPU Screen Recorder) * VP8 * VP9 diff --git a/TODO b/TODO index 11e2d78..04f75ae 100644 --- a/TODO +++ b/TODO @@ -346,3 +346,5 @@ Support desktop portal hdr capture when this gets merged: https://invent.kde.org Add option to save screenshot as .qoi. Use that then in gsr-ui for the background for the window (capture the monitor that the ui is going to show on). Do that on cosmic and hyprland, which are unable to display things behind the fullscreen window. Support pausing recording when recording while replay/streaming. + +Maybe use VK_VALVE_video_encode_rgb_conversion with vulkan encoding for shader-less rgb to yuv conversion. That would allow screen capture with no gpu processing. diff --git a/src/utils.c b/src/utils.c index 831d5d8..3814894 100644 --- a/src/utils.c +++ b/src/utils.c @@ -148,6 +148,8 @@ int get_connector_type_by_name(const char *name) { return 3; else if(len >= 4 && strncmp(name, "eDP-", 4) == 0) return 4; + else if(len >= 4 && strncmp(name, "DVI-", 4) == 0) + return 5; else return -1; }