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

Carl Eugen Hoyos ceffmpeg at gmail.com
Thu Nov 10 00:25:00 EET 2016


2016-11-08 6:51 GMT+01:00 肖文良 <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


More information about the ffmpeg-user mailing list