From 670707a857d81813367ca06470cd097d769c52ea Mon Sep 17 00:00:00 2001 From: Josh Holtrop Date: Thu, 7 May 2026 13:38:03 -0400 Subject: [PATCH] Record microphone input with gpu-screen-recorder --- gpu-screen-recorder-start | 2 +- gpu-screen-recorder-wrapper | 7 ++++--- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/gpu-screen-recorder-start b/gpu-screen-recorder-start index 247a1a8..800ac56 100755 --- a/gpu-screen-recorder-start +++ b/gpu-screen-recorder-start @@ -1,2 +1,2 @@ #!/bin/sh -exec gpu-screen-recorder -w screen -o ~/Videos -r 90 -c mp4 -a default_output -ac aac +exec gpu-screen-recorder -w screen -o ~/Videos -r 90 -c mp4 -a default_output -a default_input -ac aac diff --git a/gpu-screen-recorder-wrapper b/gpu-screen-recorder-wrapper index 26b3b05..08793b6 100755 --- a/gpu-screen-recorder-wrapper +++ b/gpu-screen-recorder-wrapper @@ -1,9 +1,10 @@ #!/bin/bash -DEFAULT_SINK=$(pactl get-default-sink) -MONITOR_SINK="${DEFAULT_SINK}.monitor" +#DEFAULT_SINK=$(pactl get-default-sink) +#MONITOR_SINK="${DEFAULT_SINK}.monitor" -gpu-screen-recorder -w screen -o ~/Videos -r 90 -c mp4 -a "$MONITOR_SINK" -ac aac & >> $HOME/.gpu-screen-recorder.log +#gpu-screen-recorder -w screen -o ~/Videos -r 90 -c mp4 -a "$MONITOR_SINK" -a default_input -ac aac >> $HOME/.gpu-screen-recorder.log & +gpu-screen-recorder -w screen -o ~/Videos -r 90 -c mp4 -a default_output -a default_input -ac aac >> $HOME/.gpu-screen-recorder.log & PID=$! "$@"