Skip to content

Instantly share code, notes, and snippets.

@BonsaiDen
Last active September 3, 2023 10:12
Show Gist options
  • Select an option

  • Save BonsaiDen/71209a0867d2da2ba8c8 to your computer and use it in GitHub Desktop.

Select an option

Save BonsaiDen/71209a0867d2da2ba8c8 to your computer and use it in GitHub Desktop.

Revisions

  1. BonsaiDen revised this gist May 25, 2015. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion record.sh
    Original file line number Diff line number Diff line change
    @@ -1,5 +1,5 @@
    xvfb-run -s "-screen 0 1280x800x16" -e /dev/stdout -a /home/ivo/Desktop/foo.sh
    ./ffmpeg -r 30 -f x11grab -s 1280x800 -i :99 -c:v libvpx -quality realtime -cpu-used 0 -b:v 384k -qmin 10 -qmax 42 -maxrate 384k -bufsize 1000k -an screen.webm
    ./ffmpeg -r 30 -f x11grab -draw_mouse 0 -s 1280x800 -i :99 -c:v libvpx -quality realtime -cpu-used 0 -b:v 384k -qmin 10 -qmax 42 -maxrate 384k -bufsize 1000k -an screen.webm


    # foo.sh
  2. BonsaiDen created this gist May 22, 2015.
    7 changes: 7 additions & 0 deletions record.sh
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,7 @@
    xvfb-run -s "-screen 0 1280x800x16" -e /dev/stdout -a /home/ivo/Desktop/foo.sh
    ./ffmpeg -r 30 -f x11grab -s 1280x800 -i :99 -c:v libvpx -quality realtime -cpu-used 0 -b:v 384k -qmin 10 -qmax 42 -maxrate 384k -bufsize 1000k -an screen.webm


    # foo.sh
    google-chrome --incognito --window-size=1280,800 --app=http://github.com