You are not logged in.

#1 2014-01-19 02:06:41

sweetthdevil
Member
Registered: 2009-10-20
Posts: 432

FFMPEG - X11GRAB - shared memory extension found

Good Evening,

I used the following FFMPEG command for the last two years and suddenly I am having errors. Troubles is that after searching the net and reading through the documentation I cannot work it out!

ffmpeg -s 3040x929 -f x11grab -i :0.0 -pix_fmt yuv420p -vcodec mpeg4 -q:v 0 -y -t 600 screen_`date +%F_%H.%M.%S`.avi
ffmpeg version 2.1.3 Copyright (c) 2000-2013 the FFmpeg developers
  built on Jan 15 2014 20:53:51 with gcc 4.8.2 (GCC) 20131219 (prerelease)
  configuration: --prefix=/usr --disable-debug --disable-static --enable-avresample --enable-dxva2 --enable-fontconfig --enable-gnutls --enable-gpl --enable-libass --enable-libbluray --enable-libfreetype --enable-libgsm --enable-libmodplug --enable-libmp3lame --enable-libopencore_amrnb --enable-libopencore_amrwb --enable-libopenjpeg --enable-libopus --enable-libpulse --enable-librtmp --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-libv4l2 --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxvid --enable-pic --enable-postproc --enable-runtime-cpudetect --enable-shared --enable-swresample --enable-vdpau --enable-version3 --enable-x11grab
  libavutil      52. 48.101 / 52. 48.101
  libavcodec     55. 39.101 / 55. 39.101
  libavformat    55. 19.104 / 55. 19.104
  libavdevice    55.  5.100 / 55.  5.100
  libavfilter     3. 90.100 /  3. 90.100
  libavresample   1.  1.  0 /  1.  1.  0
  libswscale      2.  5.101 /  2.  5.101
  libswresample   0. 17.104 /  0. 17.104
  libpostproc    52.  3.100 / 52.  3.100
[x11grab @ 0x9024fa0] device: :0.0 -> display: :0.0 x: 0 y: 0 width: 3040 height: 929
[x11grab @ 0x9024fa0] shared memory extension found
[x11grab @ 0x9024fa0] Fatal: Can't get shared memory!
:0.0: Cannot allocate memory

Many thanks for your assistance,

Offline

Board footer

Powered by FluxBB