[FFmpeg-devel] [PATCH] lavd/xcbgrab: do not try to create refcounted packets.

Clément Bœsch u at pkh.me
Tue Oct 25 20:47:20 EEST 2016


On Sun, Oct 23, 2016 at 02:29:37PM +0200, Nicolas George wrote:
> The framework will allocate a buffer and copy the data to it,
> that takes time. But it avoids constently creating and
> destroyng the shared memory segment, and that saves more time.
> 
> On my setup,
> from ~200 to ~300 FPS at full screen (1920×1200),

./ffmpeg -framerate 10000 -f x11grab -video_size hd1080 -i :0.0 -t 20 -f null -

before: fps=324
after:  fps=627

-- 
Clément B.


More information about the ffmpeg-devel mailing list