mirror of
https://repo.dec05eba.com/gpu-screen-recorder
synced 2026-03-31 09:07:13 +09:00
Fix incorrect bitrate calculation for constant bitrate
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
# gpu-screen-recorder -w screen -f 60 -a default_output -r 60 -sc scripts/record-save-application-name.sh -c mp4 -o "$HOME/Videos"
|
||||
|
||||
window=$(xdotool getwindowfocus)
|
||||
window_name=$(xdotool getwindowclassname "$window" || xdotool getwindowname "$window" || echo "Game")
|
||||
window_name=$(xdotool getwindowname "$window" || xdotool getwindowclassname "$window" || echo "Game")
|
||||
window_name="$(echo "$window_name" | tr '/\\' '_')"
|
||||
|
||||
video_dir="$HOME/Videos/Replays/$window_name"
|
||||
|
||||
Reference in New Issue
Block a user