phw / peek

Simple animated GIF screen recorder with an easy to use interface
GNU General Public License v3.0
10.15k stars 318 forks source link

Could not start GNOME Shell recorder but nothing is using org.gnome.Shell.Screencast #1297

Closed fredericcogny closed 3 months ago

fredericcogny commented 3 months ago

I read the FAQs at https://github.com/phw/peek#frequently-asked-questions and

mars 26 11:57:40 nova dbus-daemon[1965]: [session uid=1000 pid=1965] Activating service name='org.gnome.Shell.Screencast' requested by ':1.4077' (uid=1000 pid=45001 comm="peek " label="unconfined")
mars 26 11:57:40 nova dbus-daemon[1965]: [session uid=1000 pid=1965] Successfully activated service 'org.gnome.Shell.Screencast'
mars 26 11:57:59 nova dbus-daemon[1965]: [session uid=1000 pid=1965] Activating service name='org.gnome.Shell.Screencast' requested by ':1.4077' (uid=1000 pid=45001 comm="peek " label="unconfined")
mars 26 11:58:00 nova dbus-daemon[1965]: [session uid=1000 pid=1965] Successfully activated service 'org.gnome.Shell.Screencast'
mars 26 11:58:15 nova dbus-daemon[1965]: [session uid=1000 pid=1965] Activating service name='org.gnome.Shell.Screencast' requested by ':1.4077' (uid=1000 pid=45001 comm="peek " label="unconfined")
mars 26 11:58:16 nova dbus-daemon[1965]: [session uid=1000 pid=1965] Successfully activated service 'org.gnome.Shell.Screencast'
mars 26 12:03:39 nova dbus-daemon[1965]: [session uid=1000 pid=1965] Activating service name='org.gnome.Shell.Screencast' requested by ':1.4613' (uid=1000 pid=50792 comm="peek " label="unconfined")
mars 26 12:03:39 nova dbus-daemon[1965]: [session uid=1000 pid=1965] Successfully activated service 'org.gnome.Shell.Screencast'
mars 26 12:03:57 nova dbus-daemon[1965]: [session uid=1000 pid=1965] Activating service name='org.gnome.Shell.Screencast' requested by ':1.4613' (uid=1000 pid=50792 comm="peek " label="unconfined")
mars 26 12:03:58 nova dbus-daemon[1965]: [session uid=1000 pid=1965] Successfully activated service 'org.gnome.Shell.Screencast'

here are some other things tried:

sudo apt remove --purge peek
sudo apt install peek

Peek: 1.5.1 GTK: 3.24.30 GLib: 2.70.2 Desktop: ubuntu:GNOME Display server: X FFmpeg version:

ffmpeg version 4.4.2-0ubuntu0.22.04.1 Copyright (c) 2000-2021 the FFmpeg developers
built with gcc 11 (Ubuntu 11.2.0-19ubuntu1)
configuration: --prefix=/usr --extra-version=0ubuntu0.22.04.1 --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --arch=amd64 --enable-gpl --disable-stripping --enable-gnutls --enable-ladspa --enable-libaom --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libcodec2 --enable-libdav1d --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-librabbitmq --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libsrt --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzimg --enable-libzmq --enable-libzvbi --enable-lv2 --enable-omx --enable-openal --enable-opencl --enable-opengl --enable-sdl2 --enable-pocketsphinx --enable-librsvg --enable-libmfx --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-libx264 --enable-shared
libavutil      56. 70.100 / 56. 70.100
libavcodec     58.134.100 / 58.134.100
libavformat    58. 76.100 / 58. 76.100
libavdevice    58. 13.100 / 58. 13.100
libavfilter     7.110.100 /  7.110.100
libswscale      5.  9.100 /  5.  9.100
libswresample   3.  9.100 /  3.  9.100
libpostproc    55.  9.100 / 55.  9.100

Output format: webm gifski enabled: false

Error details:

Could not start GNOME Shell recorder.

Missing codec or another active screen recording using org.gnome.Shell.Screencast?

Please see the FAQ at https://github.com/phw/peek#what-is-the-cause-for-could-not-start-gnome-shell-recorder-errors
fredericcogny commented 3 months ago

ok https://github.com/phw/peek/issues/1280 actually answered it

# install ffmpeg
sudo apt install ffmpeg

# launch peek like this
peek -b ffmpeg

thanks to @benjaoming