My dotfiles for my Linux rice managed with stow and make
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

screencast 225B

12345678910111213
  1. #!/bin/bash
  2. while [[ -f $HOME/screencast$n.mkv ]]
  3. do
  4. n=$((n+1))
  5. done
  6. filename="$HOME/screencast$n.mkv"
  7. ffmpeg -y \
  8. -f x11grab \
  9. -s $(xdpyinfo | grep dimensions | awk '{print $2;}') \
  10. -i :0.0 \
  11. -c:v libx264 -r 30 $filename