Last active
August 29, 2015 14:16
-
-
Save dllud/e93cbb92f158ce71ad88 to your computer and use it in GitHub Desktop.
Command to screen capture/cast a selectable X11 window using ffmpeg (avconv) with lossless H.264
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
gm=$(xwininfo | grep 'geometry') && avconv -video_size $(echo $gm | grep -Eo '[0-9]+x[0-9]+') -framerate 30 -f x11grab -i :0.0+$(echo $gm | grep -Eo '[0-9]+\+[0-9]+$' | sed s/+/,/),nomouse -c:v libx264 -qp 0 -preset ultrafast -profile:v high444 capture.mov |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment