1 | | edit: Please ignore this comment. I accidentally ran the wrong version. |
| 1 | I just tested 219a6fb, and it fails. The output follows. I'll try to either find another version that does work, or try to fix the bug myself and submit a patch. |
| 2 | |
| 3 | $ ./ffmpeg -v 100 -an -f x11grab -s 800x600 -r 30 -i :10.0 -vcodec libx264 -threads 2 ${HOME}/capturedvideoXvfb.avi |
| 4 | ffmpeg version N-38847-g219a6fb Copyright (c) 2000-2012 the FFmpeg developers |
| 5 | built on Sep 15 2012 11:27:39 with gcc 4.6.3 |
| 6 | configuration: --enable-libx264 --enable-x11grab --enable-gpl --enable-nonfree |
| 7 | libavutil 51. 42.100 / 51. 42.100 |
| 8 | libavcodec 54. 10.100 / 54. 10.100 |
| 9 | libavformat 54. 2.100 / 54. 2.100 |
| 10 | libavdevice 53. 4.100 / 53. 4.100 |
| 11 | libavfilter 2. 65.100 / 2. 65.100 |
| 12 | libswscale 2. 1.100 / 2. 1.100 |
| 13 | libswresample 0. 7.100 / 0. 7.100 |
| 14 | libpostproc 52. 0.100 / 52. 0.100 |
| 15 | [x11grab @ 0x2ccb620] device: :10.0 -> display: :10.0 x: 0 y: 0 width: 800 height: 600 |
| 16 | [x11grab @ 0x2ccb620] shared memory extension found |
| 17 | X Error of failed request: BadCursor (invalid Cursor parameter) |
| 18 | Major opcode of failed request: 142 (XFIXES) |
| 19 | Minor opcode of failed request: 25 (XFixesGetCursorImageAndName) |
| 20 | Resource id in failed request: 0x200001 |
| 21 | Serial number of failed request: 14 |
| 22 | Current serial number in output stream: 14 |