aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2023-12-06 14:48:46 +0100
committerdec05eba <dec05eba@protonmail.com>2023-12-06 14:48:46 +0100
commitae927279653322b6139b481e2b8ca2ac5621abf6 (patch)
treed8f19f8fbfcfba888257b40983ba435afe1782d3
parent852882bae34e8f38446c85c66ae780acac652b84 (diff)
Update readme with info about codecs
-rw-r--r--README.md16
-rw-r--r--src/main.cpp2
2 files changed, 14 insertions, 4 deletions
diff --git a/README.md b/README.md
index 32cf998..e228d45 100644
--- a/README.md
+++ b/README.md
@@ -3,12 +3,20 @@ This is a screen recorder that has minimal impact on system performance by recor
similar to shadowplay on windows. This is the fastest screen recording tool for Linux.
This screen recorder can be used for recording your desktop offline, for live streaming and for nvidia shadowplay-like instant replay,
-where only the last few seconds are saved.
+where only the last moments are saved.
+
+Supported video codecs:
+* H264 (default on Intel)
+* HEVC (default on AMD and NVIDIA)
+* AV1 (not currently supported on NVIDIA if you use GPU Screen Recorder flatpak)
+
+Supported audio codecs:
+* Opus (default)
+* AAC
+* FLAC
## Note
-This software works with x11 and wayland, but when using AMD/Intel or Wayland then only monitors can be recorded.\
-GPU Screen Recorder only supports h264 and hevc codecs at the moment which means that webm files are not supported.\
-CPU usage may be higher on wayland than on x11 when using nvidia.
+This software works with x11 and wayland, but when using AMD/Intel or Wayland then only monitors can be recorded.
### 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/src/main.cpp b/src/main.cpp
index 06669aa..8761805 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -1929,6 +1929,7 @@ int main(int argc, char **argv) {
break;
}
case AudioCodec::OPUS: {
+ // TODO: Also check mpegts?
if(file_extension != "mp4" && file_extension != "mkv") {
audio_codec_to_use = "aac";
audio_codec = AudioCodec::AAC;
@@ -1937,6 +1938,7 @@ int main(int argc, char **argv) {
break;
}
case AudioCodec::FLAC: {
+ // TODO: Also check mpegts?
if(file_extension != "mp4" && file_extension != "mkv") {
audio_codec_to_use = "aac";
audio_codec = AudioCodec::AAC;