[FFmpeg-trac] #5878(avdevice:new): x11grab slow with smaller -video_size
FFmpeg
trac at avcodec.org
Fri Oct 7 18:46:51 EEST 2016
#5878: x11grab slow with smaller -video_size
-------------------------------------+------------------------------------
Reporter: lolilolicon | Owner:
Type: defect | Status: new
Priority: normal | Component: avdevice
Version: unspecified | Resolution:
Keywords: x11grab | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
-------------------------------------+------------------------------------
Comment (by lolilolicon):
Replying to [comment:5 cehoyos]:
> Replying to [comment:4 lolilolicon]:
> > ffmpeg version 3.0.git Copyright (c) 2000-2016 the FFmpeg developers
>
> Can you explain how you downloaded the source for this build?
> I thought this should never happen, there should always be a useful
version information...
Ouch, sorry. I grabbed https://github.com/FFmpeg/FFmpeg/archive/master.zip
I believe it's commit 572f16e10041c9af131709f88a53750a4b3db802
>
> I believe that {{{--disable-stripping}}} is never a good idea, debug is
the default.
I used the build script from my distro repo, which came with this; the
build tool strips binaries later, IIRC.
>
> Please test if performance is better if you build with {{{--disable-
libxcb --enable-x11grab --enable-gpl}}}.
Added `--disable-libxcb`, performance of `ffmpeg` is improved somewhat,
e.g. for `-video_size 100x100` time is `0.690` compared to `0.724`. But
it's still bad at smaller sizes.
--
Ticket URL: <https://trac.ffmpeg.org/ticket/5878#comment:7>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list