+# Run ffmpeg
+# Audio from alsa, using one channel, using the default pulse input device
+# Video from X11, framerate 30
+# Use the libx264 video encoder with the lossless_ultrafast preset
+# Use the libmp3lame audio encoder
+# Output to a file in the user's homedir, using current date and time
+
+ffmpeg \
+-f alsa -ac 1 -i pulse \
+-f x11grab -r 30 -s ${WIN_WIDTH}x${WIN_HEIGHT} -i :0.0+${WIN_XY} \
+-vcodec libx264 -vpre lossless_ultrafast \
+-acodec libmp3lame \
+${HOME}/screencast-$(date +%F-%H-%M-%S).mkv