Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
capture display on linux
https://trac.ffmpeg.org/wiki/Capture/Desktop
ffmpeg -framerate 25 -video_size 1024x768 -f x11grab -i :0.0+100,200 -f alsa -ac 2 -i pulse -vcodec libx264 -crf 0 -preset ultrafast -acodec pcm_s16le output.mkv
losless
ffmpeg -video_size 1920x1080 -framerate 30 -f x11grab -i :0.0 -c:v libx264 -qp 0 -preset ultrafast capture.mkv
---- convert
ffmpeg -i output.mkv -acodec ... -vcodec ... final.mkv
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.