Hi all, I am having a custom PowerPC board running eldk-5.3 with xorg. When i try to grab video using the following command i get the following error. However i was able to grab video with Xvfb and x11vnc on the same board and same ffmpeg library. What parameter i messed up with? Anyone has a clue?
root@ppc:/ffmpeg-0.11.1-ppc-altivec/bin# ./ffmpeg -f x11grab -s 1280x1024 -r 30 -i :0.0 -qscale 0.1 -t 3 grab.avi ffmpeg version 0.11.1 Copyright (c) 2000-2012 the FFmpeg developers built on May 29 2014 10:56:22 with gcc 4.7.2 configuration: --arch=powerpc --enable-cross-compile --cross-prefix=powerpc-linux- --target-os=linux --enable-altivec --enable-shared --enable-gpl --enable-x11grab --enable-avresample --prefix=/opt/ffmpeg-0.11.1/ffmpeg-ppc --sysroot=/opt/eldk-5.3/powerpc/sysroots/powerpc-linux --sysinclude=/opt/eldk-5.3/powerpc/sysroots/powerpc-linux/usr/include --extra-cflags=-fPIC --disable-static libavutil 51. 54.100 / 51. 54.100 libavcodec 54. 23.100 / 54. 23.100 libavformat 54. 6.100 / 54. 6.100 libavdevice 54. 0.100 / 54. 0.100 libavfilter 2. 77.100 / 2. 77.100 libswscale 2. 1.100 / 2. 1.100 libswresample 0. 15.100 / 0. 15.100 libpostproc 52. 0.100 / 52. 0.100 [x11grab @ 0x10805560] device: :0.0 -> display: :0.0 x: 0 y: 0 width: 1280 height: 1024 [x11grab @ 0x10805560] shared memory extension found X Error of failed request: BadMatch (invalid parameter attributes) Major opcode of failed request: 141 (MIT-SHM) Minor opcode of failed request: 4 (X_ShmGetImage) Serial number of failed request: 11 Current serial number in output stream: 11 root@ppc:/ffmpeg-0.11.1-ppc-altivec/bin# Thanks, Naishab KP -- "be conservative in what you do, be liberal in what you accept from others"
_______________________________________________ eldk mailing list [email protected] http://lists.denx.de/mailman/listinfo/eldk
