This is an old revision of the document!
#!/bin/ksh # Copyright (c) 1994-2016 Matt Samudio (Zenteknix) All Rights Reserved. # Contact information for Zenteknix is available at http://www.zenteknix.com # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program. If not, see <http://www.gnu.org/licenses/>. VID="$HOME/video/desktop-$$.mkv" #XDR="1920x1080" # "1920x1200", "800x600" XDR="2560x1440" # "1920x1200", "800x600" XDO="0,0" # XDO="734,51" #APO="-f alsa -ac 2 -i hw:0,0" # "" (suppresses audio capture) APO="" ffmpeg ${APO} -f x11grab -s ${XDR} -r 24 -i :0.0+${XDO} -vcodec libx264 -preset ultrafast -threads 4 ${VID} 2>&1 > /dev/null & dvidkill $! &