Also see [[WebM]], [[Theora]], and [[CheatSheet/Photointervalometry]] for other FFmpeg-related stuff. == Creating a screencast == {{{#!highlight sh screencap() { RESOLUTION="1920x1080" # Make this the capture size QUALITY="libvpx-1080p" # Run ls /usr/share/ffmpeg and pick a preset THREADS="16" # Change this to the amount of cpu threads you want ffmpeg to use OUTPUT="VideoFileName.mp4" # Leave the extension, change the file name to whatever ffmpeg -f alsa -i pulse -vol 255 -f x11grab -r 25 \ -s $RESOLUTION -i :0.0+0,0 -acodec pcm_s16le \ -vcodec libx264 -vpre $QUALITY \ -threads $THREADS temp.mkv ffmpeg -i temp.mkv -vcodec libx264 -vpre $QUALITY -strict -2 -crf 22 -threads $THREADS $OUTPUT rm temp.mkv } }}} Source: [[http://www.reddit.com/r/linux/comments/113ws7/im_looking_for_a_screen_capture_program_might_be/c6j7m25|Reddit]] ---- CategoryCheatSheet