#!/bin/sh


ffmpeg \
    -f x11grab \
    -framerate 60 \
    -video_size 1920x1080 \
    -i :0.0 \
    -codec:v mpeg2video \
    -g 18 \
    -b:v 6000k \
    -maxrate:v 36000k \
    -minrate:v 0 \
    -bufsize:v 7340032 \
    -ar 48000 \
    -codec:a ac3 \
    -b:a 448k  \
    out.mpg
