From 66dbfe69a451b32cceae7bcb1e27db99f27e4450 Mon Sep 17 00:00:00 2001 From: dec05eba Date: Wed, 7 Jun 2023 19:30:39 +0200 Subject: Mention that only h264/hevc is supported at the moment --- README.md | 3 ++- TODO | 2 +- src/main.cpp | 2 ++ 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index c12d7dd..17c2d7e 100644 --- a/README.md +++ b/README.md @@ -7,7 +7,8 @@ where only the last few seconds are saved. ## Note This software works only on X11 (Wayland with Xwayland is NOT supported).\ -If you are using a variable refresh rate monitor then choose to record "screen-direct-force". This will allow variable refresh rate to work when recording fullscreen applications. Note that some applications such as mpv will not work in fullscreen mode. A fix is being developed for this. +If you are using a variable refresh rate monitor then choose to record "screen-direct-force". This will allow variable refresh rate to work when recording fullscreen applications. Note that some applications such as mpv will not work in fullscreen mode. A fix is being developed for this.\ +GPU Screen Recorder only supports h264 and hevc codecs at the moment which means that webm files are not supported. ### TEMPORARY ISSUES 1) screen-direct capture has been temporary disabled as it causes issues with stuttering. This might be a nvfbc bug. 2) Recording the monitor on steam deck might fail sometimes. This happens even when using ffmpeg directly. This might be a steam deck driver bug. Recording a single window doesn't have this issue. diff --git a/TODO b/TODO index 775748e..76ff4b8 100644 --- a/TODO +++ b/TODO @@ -67,4 +67,4 @@ Support vp8/vp9/av1. This is especially important on amd which on some distros ( Support screen (all monitors) capture on amd/intel when no combined plane is found. Use separate plane (which has offset and pitch) from combined plane instead of the combined plane. -Different streaming sites have limits on bitrate, resolution, etc. For twitch, this is a good place to look: https://help.twitch.tv/s/article/broadcasting-guidelines?language=en_US. For youtube, the information is available here: https://support.google.com/youtube/answer/2853702?hl=en#zippy=%2Cvariable-bitrate-with-custom-stream-keys-in-live-control-room%2Ck-p-fps%2Cp-fps (youtube supports variable bitrate). \ No newline at end of file +Both twitch and youtube support variable bitrate but twitch recommends constant bitrate to reduce stream buffering/dropped frames when going from low motion to high motion: https://help.twitch.tv/s/article/broadcasting-guidelines?language=en_US. Info for youtube: https://support.google.com/youtube/answer/2853702?hl=en#zippy=%2Cvariable-bitrate-with-custom-stream-keys-in-live-control-room%2Ck-p-fps%2Cp-fps. \ No newline at end of file diff --git a/src/main.cpp b/src/main.cpp index 9515d8d..5da59ab 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -651,6 +651,8 @@ static void usage_full() { fprintf(stderr, "\n"); fprintf(stderr, " -c Container format for output file, for example mp4, or flv. Only required if no output file is specified or if recording in replay buffer mode.\n"); fprintf(stderr, " If an output file is specified and -c is not used then the container format is determined from the output filename extension.\n"); + fprintf(stderr, " Only containers that support h264 or hevc are supported, which means that only mp4, mkv, flv (and some others) are supported.\n"); + fprintf(stderr, " WebM is not supported yet.\n"); fprintf(stderr, "\n"); fprintf(stderr, " -s The size (area) to record at in the format WxH, for example 1920x1080. This option is only supported (and required) when -w is \"focused\".\n"); fprintf(stderr, "\n"); -- cgit v1.2.3