#!/bin/sh # File: ~/bin/screencast.sh # Author: kryptart # Created: 14-Jan-2012 # Last Modified: Tue-02-Feb 09:54:52 +0100 (CET) 2016 # ----------------------------------------------------------------------- # Note: screencast with ffmpeg # Relative heavy cpu-consumtion unfortunately - Do you know a better way? # *********************************************************************** ffmpeg -f x11grab -s `xdpyinfo | grep 'dimensions:' | awk '{print $2}'` -r 25 -i :0.0 -sameq ~/Desktop/Records/video/ffmpeg/screencast.mpg