Opened 11 years ago

Closed 10 years ago

#3696 closed defect (needs_more_info)

x11grab fails on powerpc

Reported by: Naishab KP Owned by:
Priority: normal Component: undetermined
Version: unspecified Keywords:
Cc: Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description

ffmpeg -f x11grab -s 1280x1024 -r 30 -i :0.0 -qscale 0.1 -t 3 grab.avi

I am getting the following error while capturing on PowerPC board. same command worked on the same board with Xvfb and x11vnc [with same ffmpeg binaries].

root@ppc: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

What this error means?

Change History (2)

comment:1 by Carl Eugen Hoyos, 11 years ago

Please test current FFmpeg git head before reporting bugs here.

comment:2 by Carl Eugen Hoyos, 10 years ago

Resolution: needs_more_info
Status: newclosed
Note: See TracTickets for help on using tickets.