forked from MAPReiff/ShadowRePlay-Linux
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathexample_config
40 lines (33 loc) · 962 Bytes
/
example_config
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
#!/bin/sh
# Resolution of your X session
# which you wish to record
#
# Default is your first monitor's resolution
export RESOLUTION="$(xdpyinfo | grep dimensions | awk 'NR==1{print $2}')"
# If you want to use CPU-based encoding instead
# of GPU-based encoding, set to true.
#
# Overrides ENCODER_STANDARD
export SOFTWARE_ENCODE="false"
# If you have an AMD GPU and desire
# to use AMF/VCE instead of VAAPI,
# then set this to true.
#
# XXX: Requires AMF to be set up:
# More details at: https://github.com/durcor/amdgpu-pro-amf-only
export NONFREE_AMD_ENCODER="false"
# Video Framerate
export FPS="60"
# Common encoders are:
# h264
# hevc
# h265
export ENCODER_STANDARD=h264
# Size of replay buffer to save
# Is in minutes
# Can be numbers such as 10 (10 minutes) or 2.5 (2 minutes and 30 seconds)
export REPLAY_BUFFER="5"
# Location to save recordings
#
# By default, saves to the default VIDEOS directory
export VIDEO_FOLDER="$(xdg-user-dir VIDEOS)"