Skip to content

Instantly share code, notes, and snippets.

@santaklouse
Last active October 13, 2021 12:56
Show Gist options
  • Select an option

  • Save santaklouse/9c22c4c673c46a2f3490e7793c1dbe5e to your computer and use it in GitHub Desktop.

Select an option

Save santaklouse/9c22c4c673c46a2f3490e7793c1dbe5e to your computer and use it in GitHub Desktop.
Start video+audio recording of Zoom Meeting window
#!/bin/env bash
REC_PROG_PATH=`which recordmydesktop`
if [[ -z $REC_PROG_PATH ]]; then
sudo apt-get install recordmydesktop
REC_PROG_PATH=`which recordmydesktop`
fi;
WINDOW_ID=`xwininfo -name "Zoom Meeting" | grep 'id: 0x' | grep -Eo '0x[a-z0-9]+'`
"$REC_PROG_PATH" --no-wm-check --on-the-fly-encoding --v_quality=50 --windowid="$WINDOW_ID" --no-cursor -o zoom.ogv
@santaklouse
Copy link
Author

To install:

# wget wttps://gist.github.com/santaklouse/9c22c4c673c46a2f3490e7793c1dbe5e/raw/c5e6569ac58a3f955936d6a2f44e5ed185870d59/record_zoom.sh
# sudo mv record_zoom.sh /usr/local/sbin/record_zoom
# chmod +x /usr/local/sbin/record_zoom

after the start of the meeting:
# record_zoom

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment