#!/bin/bash # record desktop with ffmpeg ffmpeg -r 30 -s 1024x768 -f x11grab -i :0.0 -vcodec msmpeg4v2 -qscale 2 desktop_record-`date +%Y%m%d`.avi