Skip to content

Instantly share code, notes, and snippets.

@felipsmartins
Last active January 7, 2023 05:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save felipsmartins/324f6ff1a180003f42068b2b79349200 to your computer and use it in GitHub Desktop.
Save felipsmartins/324f6ff1a180003f42068b2b79349200 to your computer and use it in GitHub Desktop.
gpu-screen-recorder -o ~/clips -c mp4 -f 60 -r 15 -w DP-2 -a "$X_AUDIO1.monitor" -a "$X_AUDIO2"
# # pactl list sinks short
X_AUDIO1=alsa_output.pci-0000_08_00.4.analog-stereo
# pactl list sources short
X_AUDIO2=alsa_input.usb-Kingston_HyperX_SoloCast-00.analog-stereo
gpu-screen-recorder -o ~/clips -c mp4 -f 60 -r 15 -w DP-2 -a "$X_AUDIO1.monitor" -a "$X_AUDIO2"
# obs: infelizmente gravando mic e output n funciona. Mas só gravando audio do desktop funciona
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment