Some helper functions to start screencasting with ffmpeg and stumpwm