[FFmpeg-devel] x11-grab error : Segmentation fault (core dumped)

Nicolas George george at nsup.org
Tue Jul 15 11:12:48 CEST 2014


Le septidi 27 messidor, an CCXXII, Li Hui a écrit :
> I can use x11-grab to capture vnc screen with depth 16bit correctly. But with depth 24 or 32bit, it doesn’t work.
> 
> I use this command:
> ffmpeg -f x11grab -video_size 1280x720 -framerate 25 -i :5 /tmp/out.yuv
> than, display this error:

> ffmpeg version N-64657-g2d91b3b Copyright (c) 2000-2014 the FFmpeg developers
                          ^^^^^^^
I can not find a commit with shorthash 2d91b3b in the current Git tree. Can
you explain how you got your source tree exactly? An excerpt of "git log"
would probably help.

> [x11grab @ 0xe8cd00] device: :5 -> display: :5 x: 0 y: 0 width: 1280 height: 720
> [x11grab @ 0xe8cd00] shared memory extension found
> Segmentation fault (core dumped)
> 
> The display info as below:
> xdpyinfo -display :5
> screen #0:
>   dimensions:    1280x720 pixels (325x183 millimeters)
>   resolution:    100x100 dots per inch
>   depths (2):    1, 32

Can you explain how you arrived to that configuration? I tried with my
current X11 server (Intel HD), which has this: "depths (7): 24, 1, 4, 8, 15,
16, 32", and it works.

Also, please remember to send bug-reports to the users' mailing-list unless
you have a patch to fix them.

Regards,

-- 
  Nicolas George
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20140715/3b4d8895/attachment.asc>


More information about the ffmpeg-devel mailing list