[FFmpeg-trac] #1499(undetermined:new): x11grab BadCursor
FFmpeg
trac at avcodec.org
Sun Jul 1 15:48:44 CEST 2012
#1499: x11grab BadCursor
-------------------------------------+-------------------------------------
Reporter: ghafil | Owner:
Type: defect | Status: new
Priority: important | Component:
Version: git-master | undetermined
Keywords: x11grab | Resolution:
Blocking: | Blocked By:
Analyzed by developer: 0 | Reproduced by developer: 0
-------------------------------------+-------------------------------------
Changes (by cehoyos):
* component: FFmpeg => undetermined
Old description:
> FFMPEG recent master/head x11grab input gives BadCursor request, tested
> on Ubuntu 10.04/11.04/12.04/12.10. Initially we thought this might be a X
> Window System issue but FFMPEG 0.11.1 work flawlessly on all same
> distribution without any issue.
>
> How to reproduce:
> git clone git clone git://source.ffmpeg.org/ffmpeg.git ffmpeg
> cd ffmpeg ; ./configure --arch=x86_64 --enable-avfilter --enable-vdpau
> --enable-bzlib --enable-pthreads --enable-zlib --disable-stripping
> --enable-gpl --enable-postproc --enable-swscale --enable-x11grab ; make ;
> make install
> % ffmpeg -f x11grab -r 15 -s 1024x768 -i :0.0 -f flv filename.flv
> % ffmpeg -f x11grab -r 15 -s 1024x768 -i :0.0 -vcodec qtrle filename.mov
> % ffmpeg -f x11grab -r 15 -s 1024x768 -i :0.0 -vcodec rawvideo
> screencast.raw
>
> ffmpeg version: N-42091-gf7cba73
> Ubuntu 12.10 x86_64
> }}}
> ubuntu at ip-10-17-194-99:~$ ffmpeg -f x11grab -r 15 -s 1024x768 -i :0.0 -f
> flv filename.flv
> ffmpeg version N-42091-gf7cba73 Copyright (c) 2000-2012 the FFmpeg
> developers
> built on Jul 1 2012 12:31:40 with gcc 4.7.1
> configuration: --arch=x86_64 --enable-avfilter --enable-vdpau --enable-
> bzlib --enable-pthreads --enable-zlib --disable-stripping --enable-gpl
> --enable-postproc --enable-swscale --enable-x11grab
> libavutil 51. 63.100 / 51. 63.100
> libavcodec 54. 31.100 / 54. 31.100
> libavformat 54. 14.100 / 54. 14.100
> libavdevice 54. 0.100 / 54. 0.100
> libavfilter 3. 0.100 / 3. 0.100
> libswscale 2. 1.100 / 2. 1.100
> libswresample 0. 15.100 / 0. 15.100
> libpostproc 52. 0.100 / 52. 0.100
> [x11grab @ 0x18dd340] device: :0.0 -> display: :0.0 x: 0 y: 0 width: 1024
> height: 768
> [x11grab @ 0x18dd340] shared memory extension found
> X Error of failed request: BadCursor (invalid Cursor parameter)
> Major opcode of failed request: 142 (XFIXES)
> Minor opcode of failed request: 25 (XFixesGetCursorImageAndName)
> Resource id in failed request: 0x400001
> Serial number of failed request: 14
> Current serial number in output stream: 14
New description:
FFMPEG recent master/head x11grab input gives BadCursor request, tested on
Ubuntu 10.04/11.04/12.04/12.10. Initially we thought this might be a X
Window System issue but FFMPEG 0.11.1 work flawlessly on all same
distribution without any issue.
How to reproduce:
git clone git clone git://source.ffmpeg.org/ffmpeg.git ffmpeg
cd ffmpeg ; ./configure --arch=x86_64 --enable-avfilter --enable-vdpau
--enable-bzlib --enable-pthreads --enable-zlib --disable-stripping
--enable-gpl --enable-postproc --enable-swscale --enable-x11grab ; make ;
make install
% ffmpeg -f x11grab -r 15 -s 1024x768 -i :0.0 -f flv filename.flv
% ffmpeg -f x11grab -r 15 -s 1024x768 -i :0.0 -vcodec qtrle filename.mov
% ffmpeg -f x11grab -r 15 -s 1024x768 -i :0.0 -vcodec rawvideo
screencast.raw
ffmpeg version: N-42091-gf7cba73
Ubuntu 12.10 x86_64
{{{
ubuntu at ip-10-17-194-99:~$ ffmpeg -f x11grab -r 15 -s 1024x768 -i :0.0 -f
flv filename.flv
ffmpeg version N-42091-gf7cba73 Copyright (c) 2000-2012 the FFmpeg
developers
built on Jul 1 2012 12:31:40 with gcc 4.7.1
configuration: --arch=x86_64 --enable-avfilter --enable-vdpau --enable-
bzlib --enable-pthreads --enable-zlib --disable-stripping --enable-gpl
--enable-postproc --enable-swscale --enable-x11grab
libavutil 51. 63.100 / 51. 63.100
libavcodec 54. 31.100 / 54. 31.100
libavformat 54. 14.100 / 54. 14.100
libavdevice 54. 0.100 / 54. 0.100
libavfilter 3. 0.100 / 3. 0.100
libswscale 2. 1.100 / 2. 1.100
libswresample 0. 15.100 / 0. 15.100
libpostproc 52. 0.100 / 52. 0.100
[x11grab @ 0x18dd340] device: :0.0 -> display: :0.0 x: 0 y: 0 width: 1024
height: 768
[x11grab @ 0x18dd340] shared memory extension found
X Error of failed request: BadCursor (invalid Cursor parameter)
Major opcode of failed request: 142 (XFIXES)
Minor opcode of failed request: 25 (XFixesGetCursorImageAndName)
Resource id in failed request: 0x400001
Serial number of failed request: 14
Current serial number in output stream: 14
}}}
--
Comment:
Could you test if it work with 219a6fb?
Unrelated:
Is arch=x86_64 necessary? I believe it should not be needed
The following configure options are superfluous afaict:
--enable-avfilter --enable-vdpau --enable-zlib --enable-bzlib --enable-
pthreads --enable-postproc --enable-swscale
--
Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/1499#comment:1>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list