Skip to content

Instantly share code, notes, and snippets.

@benschwarz
Created October 3, 2014 22:02
Show Gist options
  • Save benschwarz/8c6fa64945c9eaf642e1 to your computer and use it in GitHub Desktop.
Save benschwarz/8c6fa64945c9eaf642e1 to your computer and use it in GitHub Desktop.
ffmpeg -y -r 30 -g 600 -crf 0 -s 1280x1024 -f x11grab -draw_mouse 0 -i :0.0+10,10 -vcodec libx264 /tmp/ffmpeg.mov
avconv version 9.16-6:9.16-0ubuntu0.14.04.1, Copyright (c) 2000-2014 the Libav developers
built on Aug 10 2014 18:16:02 with gcc 4.8 (Ubuntu 4.8.2-19ubuntu1)
[x11grab @ 0x1c5fd60] device: :0.0+10,10 -> display: :0.0 x: 10 y: 10 width: 1280 height: 1024
[x11grab @ 0x1c5fd60] shared memory extension found
X Error of failed request: BadMatch (invalid parameter attributes)
Major opcode of failed request: 130 (MIT-SHM)
Minor opcode of failed request: 4 (X_ShmGetImage)
Serial number of failed request: 11
Current serial number in output stream: 11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment