scripts

Various scripts for UNIX-like systems
git clone https://git.tronto.net/scripts
Download | Log | Files | Refs | README

ffmpeg-screenrecord (179B)


      1 #!/bin/sh
      2 
      3 # One-line screen record with ffmpeg (I always forget the command)
      4 # Requires: ffmpeg
      5 
      6 outfile=${1:-output.mkv}
      7 
      8 ffmpeg -f x11grab -i :0 -f pulse -i default "$outfile"