Skip to content

Instantly share code, notes, and snippets.

@klaxa
Created October 20, 2012 19:09
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save klaxa/7dcccbd86fdcce3c4ced to your computer and use it in GitHub Desktop.
Save klaxa/7dcccbd86fdcce3c4ced to your computer and use it in GitHub Desktop.
how did i screencasted video?
Step 1: Create lossless raw:
ffmpeg -f x11grab -s 1366x768 -r 30 -i :0.0 -f alsa -i hw:0,0 -acodec pcm_s16le -vcodec ffvhuff -acodec flac raw.mkv
Step 2: Reencode lossly:
ffmpeg -i raw.mkv -acodec libvorbis -vcodec libvpx encode.webm
Step 3: Publish to web
scp encode.webm root@server:/var/www/01.webm
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment