aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2024-11-05 10:25:22 +0100
committerdec05eba <dec05eba@protonmail.com>2024-11-05 10:25:48 +0100
commit030947e33ae609368c9ff2101dd2aa77009f4f92 (patch)
treec747a0d560047e215244e58aabf3cce54f7aa9d4
parent35390796cd5eff93105b143c8b862bbad589d739 (diff)
Default replay service to cbr for better file size (less ram usage) and 60 seconds
-rw-r--r--extra/gpu-screen-recorder.env1
-rw-r--r--extra/gpu-screen-recorder.service6
2 files changed, 3 insertions, 4 deletions
diff --git a/extra/gpu-screen-recorder.env b/extra/gpu-screen-recorder.env
index 8ce1edb..664fa5d 100644
--- a/extra/gpu-screen-recorder.env
+++ b/extra/gpu-screen-recorder.env
@@ -1,6 +1,5 @@
WINDOW=screen
CONTAINER=mp4
-QUALITY=very_high
CODEC=h264
AUDIO_CODEC=opus
AUDIO_DEVICE=default_output
diff --git a/extra/gpu-screen-recorder.service b/extra/gpu-screen-recorder.service
index 9751714..1938a36 100644
--- a/extra/gpu-screen-recorder.service
+++ b/extra/gpu-screen-recorder.service
@@ -5,14 +5,14 @@ Description=GPU Screen Recorder Service
EnvironmentFile=-%h/.config/gpu-screen-recorder.env
Environment=WINDOW=screen
Environment=CONTAINER=mp4
-Environment=QUALITY=very_high
-Environment=BITRATE_MODE=qp
+Environment=QUALITY=50000
+Environment=BITRATE_MODE=cbr
Environment=CODEC=auto
Environment=AUDIO_CODEC=opus
Environment=AUDIO_DEVICE=default_output
Environment=SECONDARY_AUDIO_DEVICE=
Environment=FRAMERATE=60
-Environment=REPLAYDURATION=30
+Environment=REPLAYDURATION=60
Environment=OUTPUTDIR=%h/Videos
Environment=MAKEFOLDERS=no
Environment=COLOR_RANGE=limited