Created
February 18, 2016 15:48
-
-
Save tenken/255119da7a8f29ec4d9c to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
echo "Nooma.tv Recording Script" | |
hash recordmydesktop 2>/dev/null || { echo >&2 "I require recordmydesktop but it's not installed. Aborting."; exit 1; } | |
recordmydesktop --x=100 --channels 2 --freq 44100 --width 1200 -height 720 --follow-mouse --no-frame -o /home/dgurba/720.ogv & | |
PID=$! | |
sleep 9000 | |
# Send recordmydesktop the Ctrl+C it wants to Stop recording. | |
kill -INT $PID |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment