[FFmpeg-devel] x11-grab error : Segmentation fault (core dumped)
Li Hui
lihuicau at gmail.com
Tue Jul 15 12:16:16 CEST 2014
> 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.
I fork from 2a9b4c0 to add customize codec.
> 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.
I use this command vncserver -geometry 1280x720 -depth 32 to get DISPLAY :5.
Thank you a lot.
On Jul 15, 2014, at 5:12 PM, Nicolas George <george at nsup.org> wrote:
> 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
> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-devel
More information about the ffmpeg-devel
mailing list