[FFmpeg-user] unable to capture desktop session using x11grab on debian jessie with ffmpeg 3.1.4

肖文良 xiaowenliang at youku.com
Thu Nov 10 04:43:59 EET 2016


Yes, I believe so. After side-by-side comparation with a good ffmpeg build on my old laptop, I found that these two packages are *required* to build ffmpeg on Debian, even they are optional for ffmpeg.

libxcb-xfixes0-dev libxcb-shm0-dev

Thanks.

On Wed, 2016-11-09 at 23:25 +0100, Carl Eugen Hoyos wrote:


2016-11-08 6:51 GMT+01:00 肖文良 <xiaowenliang at youku.com<mailto:xiaowenliang at youku.com>>:

> I'am trying to capture my X11 desktop sessoin using ffmpeg, but the same
> command capture nothing on my new Lenovo T450 laptop running Debian
> Jessie.
>
> The command I used was:  ffmpeg -loglevel debug -s 1366x768 -f x11grab
> -i :0.0 -c libx264 -crf 28 -preset ultrafast /tmp/output.mp4
>
> And the detailed output of ffmepg at:  http://pastebin.com/rM8QvkQm
>
> ffmpeg seems to keep dropping frames according to the log:
> frame=    3 fps=0.1 q=-1.0 Lsize=     0kB time=00:00:00.00 bitrate=N/A
> dup=0 drop=1241 speed=0.00119x

You may be seeing this issue:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=843144
You have to rebuild with libxcb-shm (which is auto-detected
if available).

Carl Eugen
_______________________________________________
ffmpeg-user mailing list
ffmpeg-user at ffmpeg.org<mailto:ffmpeg-user at ffmpeg.org>
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-request at ffmpeg.org<mailto:ffmpeg-user-request at ffmpeg.org> with subject "unsubscribe".


--
Thanks,
肖文良
Programmer at youku&tudou
Mob: 18610724876
Addr: 北京市海淀区中关村海淀大街8号中钢国际广场5层


More information about the ffmpeg-user mailing list