I'm currently getting frustrated at screen recording on Linux again. However, I think I've finally found tools that will work:
ffmpeg
/avconv
for recording- https://trac.ffmpeg.org/wiki/Capture/Desktop
ffmpeg -video_size 1024x768 -framerate 25 -f x11grab -i :0.0+100,200 output.mp4
- Linux Mint/Ubuntu 14.04 need to use
avconv
instead offfmpeg
but they are the same damn thing -_-;; - Installed via
apt
:avconv-tools
- Linux Mint/Ubuntu 14.04 need to use
xrectsel
for selecting a screen area- https://github.com/lolilolicon/xrectsel
- Found via
ffcast
which semi-worked but wasn't so good with selection drawing and ran intoavconv
width is not even error
- ImageMagick or GraphicsMagick for serializing as a GIF
- http://superuser.com/a/556031
mkdir frames
- Create frames directoryavconv -i output.mp4 -r 10 frames/ffout%03d.png
- Output 10 frames per second from input to keyed files- Cut frames by hand
convert -loop 0 frames/ffout*.png output.gif
- Generate GIF with 0 delay between framesimagemin output.gif > output.min.gif
- Optionally minify GIF