[FFmpeg-user] Desktop catpture attempt failed

mark_a_lee-abeng at yahoo.ca mark_a_lee-abeng at yahoo.ca
Tue Jun 10 20:56:39 CEST 2014


I made my first attempt at capturing a window on my desktop (Debian Wheezy HP Pavilion Entertainment PC), that failed and gave the following output and so would appreciate any help in finding and fixing the problem:

ffmpeg -f x11grab -s 1280x800 -r 25 -i :0.0+80,91 ./mydesktop.mp4
ffmpeg version 2.2.git Copyright (c) 2000-2014 the FFmpeg developers
  built on Jun  5 2014 13:56:22 with gcc 4.7 (Debian 4.7.2-5)
  configuration: --prefix=/home/valerie/ffmpeg_build --extra-cflags=-I/home/valerie/ffmpeg_build/include --extra-ldflags=-L/home/valerie/ffmpeg_build/lib --bindir=/home/valerie/bin --extra-libs=-ldl --enable-gpl --enable-libass --enable-libfdk-aac --enable-libfreetype --enable-libmp3lame --enable-libopus --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libx264 --enable-nonfree --enable-x11grab
  libavutil      52. 89.100 / 52. 89.100
  libavcodec     55. 66.100 / 55. 66.100
  libavformat    55. 42.101 / 55. 42.101
  libavdevice    55. 13.101 / 55. 13.101
  libavfilter     4.  5.100 /  4.  5.100
  libswscale      2.  6.100 /  2.  6.100
  libswresample   0. 19.100 /  0. 19.100
  libpostproc    52.  3.100 / 52.  3.100
[x11grab @ 0xa8128c0] device: :0.0+80,91 -> display: :0.0 x: 80 y: 91 width: 1280 height: 800
[x11grab @ 0xa8128c0] shared memory extension found
X Error of failed request:  BadMatch (invalid parameter attributes)
  Major opcode of failed request:  140 (MIT-SHM)
  Minor opcode of failed request:  4 (X_ShmGetImage)
  Serial number of failed request:  11
  Current serial number in output stream:  11

Mark.


More information about the ffmpeg-user mailing list