Created
May 4, 2016 18:25
-
-
Save brozkeff/4b6591b942364a23338d896ef33af46e to your computer and use it in GitHub Desktop.
recordmydesktop tweaked
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
#!/bin/bash | |
today=`date '+%Y%m%d-%H%M%S'`; | |
foldername="${HOME}/Videos/recordmydesktop" | |
filename="$foldername/$today.ogv" | |
echo 'RecordMyDesktop - screen capture ogv to folder' | |
echo $filename | |
echo 'Recording starts in 5 sec, terminate with Ctrl-C.' | |
sleep 5 | |
echo Creating folder $foldername if not exists yet | |
mkdir -p $foldername | |
echo 'Recording begins now!' | |
recordmydesktop --v_quality 24 --s_quality -1 --freq 44100 -o $filename |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment