mirror of
https://repo.dec05eba.com/gpu-screen-recorder
synced 2026-03-31 09:07:13 +09:00
Example scripts: use cbr for replay scripts
This commit is contained in:
2
TODO
2
TODO
@@ -242,3 +242,5 @@ Support reconnecting (and setting things up again) if the audio server is restar
|
|||||||
Find out how nvidia-smi fixes nvenc not working on opensuse and do that ourselves instead of relying on nvidia-smi that is not always installed.
|
Find out how nvidia-smi fixes nvenc not working on opensuse and do that ourselves instead of relying on nvidia-smi that is not always installed.
|
||||||
|
|
||||||
Pulseaudio code: add "running" variable to loops to allow stopping the running code when quitting.
|
Pulseaudio code: add "running" variable to loops to allow stopping the running code when quitting.
|
||||||
|
|
||||||
|
Scale screenshot frame libswscale or implement lanczos shader for improved scaline for video as well.
|
||||||
|
|||||||
@@ -3,4 +3,4 @@
|
|||||||
window=$(xdotool selectwindow)
|
window=$(xdotool selectwindow)
|
||||||
window_name=$(xdotool getwindowname "$window" || xdotool getwindowclassname "$window" || echo "Game")
|
window_name=$(xdotool getwindowname "$window" || xdotool getwindowclassname "$window" || echo "Game")
|
||||||
window_name="$(echo "$window_name" | tr '/\\' '_')"
|
window_name="$(echo "$window_name" | tr '/\\' '_')"
|
||||||
gpu-screen-recorder -w "$window" -f 60 -c mkv -a default_output -r 60 -o "$HOME/Videos/Replays/$window_name"
|
gpu-screen-recorder -w "$window" -f 60 -c mkv -a default_output -bm cbr -q 45000 -r 60 -o "$HOME/Videos/Replays/$window_name"
|
||||||
|
|||||||
@@ -3,4 +3,4 @@
|
|||||||
pidof -q gpu-screen-recorder && exit 0
|
pidof -q gpu-screen-recorder && exit 0
|
||||||
video_path="$HOME/Videos"
|
video_path="$HOME/Videos"
|
||||||
mkdir -p "$video_path"
|
mkdir -p "$video_path"
|
||||||
gpu-screen-recorder -w screen -f 60 -a default_output -c mkv -r 30 -o "$video_path"
|
gpu-screen-recorder -w screen -f 60 -a default_output -c mkv -bm cbr -q 45000 -r 30 -o "$video_path"
|
||||||
|
|||||||
Reference in New Issue
Block a user