Record microphone input with gpu-screen-recorder
This commit is contained in:
parent
1f89c56c2c
commit
670707a857
@ -1,2 +1,2 @@
|
|||||||
#!/bin/sh
|
#!/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
|
||||||
|
|||||||
@ -1,9 +1,10 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
DEFAULT_SINK=$(pactl get-default-sink)
|
#DEFAULT_SINK=$(pactl get-default-sink)
|
||||||
MONITOR_SINK="${DEFAULT_SINK}.monitor"
|
#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=$!
|
PID=$!
|
||||||
|
|
||||||
"$@"
|
"$@"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user