[FFmpeg-trac] #9482(avdevice:new): digital clock in systray won't be captured properly with compiz window manager in Ubuntu 20.04 Mate Desktop

FFmpeg trac at avcodec.org
Tue Nov 9 12:54:29 EET 2021


#9482: digital clock in systray won't be captured properly with compiz window
manager in Ubuntu 20.04 Mate Desktop
-------------------------------------+-------------------------------------
             Reporter:  Atilla       |                    Owner:  (none)
  Karaca                             |
                 Type:  defect       |                   Status:  new
             Priority:  normal       |                Component:  avdevice
              Version:  unspecified  |               Resolution:
             Keywords:  x11grab      |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------
Description changed by Atilla Karaca:

Old description:

> Summary of the bug: When I capture digital clock in the systray on Ubuntu
> 20.04 Mate Desktop, the video from the captured area looks erroneous,
> clock in the video sometimes repeats between a few seconds back and
> forth, sometimes it captures a still frame from the previous capture. It
> happens especially in the systray digital clock. When I capture the whole
> screen it records rest of the screen
> but systray digital clock still behaves erratic.
> Edit: I noticed that it happens with compiz window manager. I tried
> metacity, it records the clock well.
> How to reproduce:
> {{{
> % ffmpeg -video_size 68x26 -framerate 25 -f x11grab -i :0.0+1157,770
> output.mp4
>
> ffmpeg version 4.2.4-1ubuntu0.1 Copyright (c) 2000-2020 the FFmpeg
> developers
>   built with gcc 9 (Ubuntu 9.3.0-10ubuntu2)
>   configuration: --prefix=/usr --extra-version=1ubuntu0.1
> --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu
> --incdir=/usr/include/x86_64-linux-gnu --arch=amd64 --enable-gpl
> --disable-stripping --enable-avresample --disable-filter=resample
> --enable-avisynth --enable-gnutls --enable-ladspa --enable-libaom
> --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca
> --enable-libcdio --enable-libcodec2 --enable-libflite --enable-
> libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme
> --enable-libgsm --enable-libjack --enable-libmp3lame --enable-libmysofa
> --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-
> libpulse --enable-librsvg --enable-librubberband --enable-libshine
> --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libssh
> --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-
> libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-
> libx265 --enable-libxml2 --enable-libxvid --enable-libzmq --enable-
> libzvbi --enable-lv2 --enable-omx --enable-openal --enable-opencl
> --enable-opengl --enable-sdl2 --enable-libdc1394 --enable-libdrm
> --enable-libiec61883 --enable-nvenc --enable-chromaprint --enable-frei0r
> --enable-libx264 --enable-shared
>
> built on Ubuntu 20.04
> }}}
> Patches should be submitted to the ffmpeg-devel mailing list and not this
> bug tracker.

New description:

 Summary of the bug: When I capture digital clock in the systray on Ubuntu
 20.04 Mate Desktop, the video from the captured area looks erroneous,
 clock in the video sometimes repeats between a few seconds back and forth,
 sometimes it captures a still frame from the previous capture. It happens
 especially in the systray digital clock. When I capture the whole screen
 it records rest of the screen
 but systray digital clock still behaves erratic.
 Edit: I noticed that it happens with compiz window manager. I tried
 metacity, it records the clock well.
 Edit2:  It also fails to capture the digital clock properly in Gala,
 Mutter, GnomeShell window managers.
 How to reproduce:
 {{{
 % ffmpeg -video_size 68x26 -framerate 25 -f x11grab -i :0.0+1157,770
 output.mp4

 ffmpeg version 4.2.4-1ubuntu0.1 Copyright (c) 2000-2020 the FFmpeg
 developers
   built with gcc 9 (Ubuntu 9.3.0-10ubuntu2)
   configuration: --prefix=/usr --extra-version=1ubuntu0.1
 --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu
 --incdir=/usr/include/x86_64-linux-gnu --arch=amd64 --enable-gpl
 --disable-stripping --enable-avresample --disable-filter=resample
 --enable-avisynth --enable-gnutls --enable-ladspa --enable-libaom
 --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca
 --enable-libcdio --enable-libcodec2 --enable-libflite --enable-
 libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme
 --enable-libgsm --enable-libjack --enable-libmp3lame --enable-libmysofa
 --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-
 libpulse --enable-librsvg --enable-librubberband --enable-libshine
 --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libssh
 --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-
 libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-
 libx265 --enable-libxml2 --enable-libxvid --enable-libzmq --enable-libzvbi
 --enable-lv2 --enable-omx --enable-openal --enable-opencl --enable-opengl
 --enable-sdl2 --enable-libdc1394 --enable-libdrm --enable-libiec61883
 --enable-nvenc --enable-chromaprint --enable-frei0r --enable-libx264
 --enable-shared

 built on Ubuntu 20.04
 }}}
 Patches should be submitted to the ffmpeg-devel mailing list and not this
 bug tracker.

--
-- 
Ticket URL: <https://trac.ffmpeg.org/ticket/9482#comment:7>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list