phw / peek

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

Gif recording: Error while opening encoder for output stream #758

Closed kotler-dev closed 3 years ago

kotler-dev commented 3 years ago

~ >>> journalctl | tail -200 | egrep 'com.uploadedlobster.peek|gnome-shell'

апр 27 12:30:36 valum systemd[1346]: Started Application launched by gnome-shell.
апр 27 12:30:46 valum dbus-daemon[4011]: [session uid=1000 pid=4011] Activating service name='org.gnome.ControlCenter.SearchProvider' requested by ':1.15' (uid=1000 pid=4056 comm="/usr/bin/gnome-shell ")
апр 27 12:30:46 valum dbus-daemon[4011]: [session uid=1000 pid=4011] Activating service name='org.gnome.Nautilus' requested by ':1.15' (uid=1000 pid=4056 comm="/usr/bin/gnome-shell ")
апр 27 12:30:46 valum dbus-daemon[4011]: [session uid=1000 pid=4011] Activating service name='org.manjaro.pamac.manager' requested by ':1.15' (uid=1000 pid=4056 comm="/usr/bin/gnome-shell ")
апр 27 12:30:46 valum dbus-daemon[4011]: [session uid=1000 pid=4011] Activating service name='org.gnome.Calculator.SearchProvider' requested by ':1.15' (uid=1000 pid=4056 comm="/usr/bin/gnome-shell ")
апр 27 12:30:46 valum dbus-daemon[4011]: [session uid=1000 pid=4011] Activating via systemd: service name='org.gnome.Terminal' unit='gnome-terminal-server.service' requested by ':1.15' (uid=1000 pid=4056 comm="/usr/bin/gnome-shell ")
апр 27 12:30:46 valum dbus-daemon[4011]: [session uid=1000 pid=4011] Activating service name='org.gnome.Epiphany.SearchProvider' requested by ':1.15' (uid=1000 pid=4056 comm="/usr/bin/gnome-shell ")
апр 27 12:30:57 valum systemd[1346]: Started Application launched by gnome-shell.
апр 27 12:31:01 valum gnome-shell[4056]: updates_checker.vala:71: check updates
апр 27 12:31:02 valum gnome-shell[4056]: updates_checker.vala:101: 0 updates found
апр 27 12:31:26 valum dbus-daemon[4011]: [session uid=1000 pid=4011] Activating service name='org.gnome.Screenshot' requested by ':1.15' (uid=1000 pid=4056 comm="/usr/bin/gnome-shell ")
апр 27 12:31:26 valum gnome-shell[4056]: Couldn't find child [0x562fd5dddd70 Gjs_ui_windowPreview_WindowPreview:last-child ("Screenshot")] in window slots
апр 27 12:31:26 valum gnome-shell[4056]: Couldn't find child [0x562fd5dddd70 Gjs_ui_windowPreview_WindowPreview:last-child ("Screenshot")] in window slots
апр 27 12:31:26 valum gnome-shell[4056]: Couldn't find child [0x562fd5dddd70 Gjs_ui_windowPreview_WindowPreview:first-child ("Screenshot")] in window slots
апр 27 12:31:26 valum gnome-shell[4056]: Couldn't find child [0x562fd5dddd70 Gjs_ui_windowPreview_WindowPreview:last-child ("Screenshot")] in window slots
апр 27 12:31:26 valum gnome-shell[4056]: Couldn't find child [0x562fd5dddd70 Gjs_ui_windowPreview_WindowPreview:last-child ("Screenshot")] in window slots
апр 27 12:31:26 valum gnome-shell[4056]: Couldn't find child [0x562fd5dddd70 Gjs_ui_windowPreview_WindowPreview:last-child ("Screenshot")] in window slots
апр 27 12:31:26 valum gnome-shell[4056]: Couldn't find child [0x562fd5dddd70 Gjs_ui_windowPreview_WindowPreview:last-child ("Screenshot")] in window slots
апр 27 12:31:26 valum gnome-shell[4056]: Couldn't find child [0x562fd5dddd70 Gjs_ui_windowPreview_WindowPreview:last-child ("Screenshot")] in window slots
апр 27 12:31:26 valum gnome-shell[4056]: Couldn't find child [0x562fd5dddd70 Gjs_ui_windowPreview_WindowPreview:last-child ("Screenshot")] in window slots
апр 27 12:31:34 valum dbus-daemon[4011]: [session uid=1000 pid=4011] Activating service name='com.uploadedlobster.peek' requested by ':1.15' (uid=1000 pid=4056 comm="/usr/bin/gnome-shell ")
апр 27 12:31:34 valum systemd[1346]: Started app-flatpak-com.uploadedlobster.peek-4772.scope.
апр 27 12:31:34 valum dbus-daemon[4011]: [session uid=1000 pid=4011] Successfully activated service 'com.uploadedlobster.peek'
апр 27 12:31:40 valum com.uploadedlobster.peek[4781]: Error: Child process exited with code 1
апр 27 12:31:40 valum com.uploadedlobster.peek[4781]: Recording canceled: Command "ffmpeg -f x11grab -show_region 0 -framerate 10 -video_size 1067x820 -i :99.0+675,213 -filter:v scale=iw/1:-1 -codec:v libvpx-vp9 -lossless 1 -r 10 -y /home/tony/.var/app/com.uploadedlobster.peek/cache/peek/peekB5VJ20.webm" failed with status 256 (received signal 0).
апр 27 12:31:40 valum com.uploadedlobster.peek[4781]: Output:
апр 27 12:31:40 valum com.uploadedlobster.peek[4781]: ffmpeg version 4.3.1 Copyright (c) 2000-2020 the FFmpeg developers  built with gcc 10.2.0 (GCC)  configuration: --prefix=/app --disable-debug --disable-static --enable-gpl --enable-libvpx --enable-libx264 --enable-shared --enable-libxcb --enable-libxcb-xfixes --disable-libxcb-shape --disable-ffplay --disable-ffprobe --disable-doc --disable-everything --enable-bsf=vp9_superframe --enable-decoder=libvpx_vp9 --enable-decoder=png --enable-decoder=rawvideo --enable-encoder=apng --enable-encoder=ffvhuff --enable-encoder=gif --enable-encoder=libvpx_vp9 --enable-encoder=libx264 --enable-encoder=png --enable-demuxer=image2 --enable-demuxer=matroska --enable-muxer=apng --enable-muxer=gif --enable-muxer=image2 --enable-muxer=mp4 --enable-muxer=webm --enable-filter=crop --enable-filter=fps --enable-filter=palettegen --enable-filter=paletteuse --enable-filter=scale --enable-protocol=file --enable-indev=xcbgrab  libavutil      56. 51.100 / 56. 51.100  libavcodec     58. 91.100 / 58. 91.100  libavformat    58. 45.100 / 58. 45.100  libavdevice    58. 10.100 / 58. 10.100  libavfilter     7. 85.100 /  7. 85.100  libswscale      5.  7.100 /  5.  7.100  libswresample   3.  7.100 /  3.  7.100  libpostproc    55.  7.100 / 55.  7.100[x11grab @ 0x55f67f0bf980] Stream #0: not enough frames to estimate rate; consider increasing probesizeInput #0, x11grab, from ':99.0+675,213':  Duration: N/A, start: 1619515900.080040, bitrate: 279980 kb/s    Stream #0:0: Video: rawvideo (BGR[0] / 0x524742), bgr0, 1067x820, 279980 kb/s, 10 fps, 1000k tbr, 1000k tbn, 1000k tbcStream mapping:  Stream #0:0 -> #0:0 (rawvideo (native) -> vp9 (libvpx-vp9))Press [q] to stop, [?] for help[libvpx-vp9 @ 0x55f67f0cb8c0] v1.10.0[libvpx-vp9 @ 0x55f67f0cb8c0] Failed to initialize encoder: ABI version mismatchError initializing output stream 0:0 -- Error while opening encoder for output stream #0:0 - maybe incorrect parameters such as bit_rate, rate, width or heightConversion failed!
апр 27 12:31:47 valum com.uploadedlobster.peek[4781]: Recording canceled
апр 27 12:31:49 valum systemd[1346]: Started Application launched by gnome-shell.
апр 27 12:31:54 valum com.uploadedlobster.peek[4781]: Using screen recorder backend ffmpeg
апр 27 12:31:54 valum systemd[1346]: app-flatpak-com.uploadedlobster.peek-4772.scope: Succeeded.
апр 27 12:32:34 valum dbus-daemon[4011]: [session uid=1000 pid=4011] Activating service name='org.manjaro.pamac.manager' requested by ':1.15' (uid=1000 pid=4056 comm="/usr/bin/gnome-shell ")
апр 27 12:32:34 valum gnome-shell[4056]: meta_window_set_stack_position_no_sync: assertion 'window->stack_position >= 0' failed
апр 27 12:38:07 valum systemd[1346]: Started Application launched by gnome-shell.
апр 27 12:38:07 valum gnome-shell[4056]: Couldn't find child [0x562fd2a8f210 Gjs_ui_windowPreview_WindowPreview ("System Monitor")] in window slots
апр 27 12:38:07 valum gnome-shell[4056]: Couldn't find child [0x562fd2a8f210 Gjs_ui_windowPreview_WindowPreview ("System Monitor")] in window slots
апр 27 12:38:08 valum gnome-shell[4056]: Couldn't find child [0x562fd2a8f210 Gjs_ui_windowPreview_WindowPreview:first-child ("System Monitor")] in window slots
апр 27 12:38:09 valum dbus-daemon[4011]: [session uid=1000 pid=4011] Activating service name='com.gexperts.Tilix' requested by ':1.15' (uid=1000 pid=4056 comm="/usr/bin/gnome-shell ")

Peek: 1.5.1 GTK: 3.24.23 GLib: 2.66.0 Desktop: GNOME Display server: X FFmpeg version: n4.3.2

ffmpeg version 4.3.1 Copyright (c) 2000-2020 the FFmpeg developers
built with gcc 10.2.0 (GCC)
configuration: --prefix=/app --disable-debug --disable-static --enable-gpl --enable-libvpx --enable-libx264 --enable-shared --enable-libxcb --enable-libxcb-xfixes --disable-libxcb-shape --disable-ffplay --disable-ffprobe --disable-doc --disable-everything --enable-bsf=vp9_superframe --enable-decoder=libvpx_vp9 --enable-decoder=png --enable-decoder=rawvideo --enable-encoder=apng --enable-encoder=ffvhuff --enable-encoder=gif --enable-encoder=libvpx_vp9 --enable-encoder=libx264 --enable-encoder=png --enable-demuxer=image2 --enable-demuxer=matroska --enable-muxer=apng --enable-muxer=gif --enable-muxer=image2 --enable-muxer=mp4 --enable-muxer=webm --enable-filter=crop --enable-filter=fps --enable-filter=palettegen --enable-filter=paletteuse --enable-filter=scale --enable-protocol=file --enable-indev=xcbgrab
libavutil      56. 51.100 / 56. 51.100
libavcodec     58. 91.100 / 58. 91.100
libavformat    58. 45.100 / 58. 45.100
libavdevice    58. 10.100 / 58. 10.100
libavfilter     7. 85.100 /  7. 85.100
libswscale      5.  7.100 /  5.  7.100
libswresample   3.  7.100 /  3.  7.100
libpostproc    55.  7.100 / 55.  7.100

Output format: gif gifski enabled: false

Error details:

Command "ffmpeg -f x11grab -show_region 0 -framerate 10 -video_size 1067x820 -i :99.0+1988,130 -filter:v scale=iw/1:-1 -codec:v libvpx-vp9 -lossless 1 -r 10 -y /home/tony/.var/app/com.uploadedlobster.peek/cache/peek/peekY5XK20.webm" failed with status 256 (received signal 0).

Output:
ffmpeg version 4.3.1 Copyright (c) 2000-2020 the FFmpeg developers  built with gcc 10.2.0 (GCC)  configuration: --prefix=/app --disable-debug --disable-static --enable-gpl --enable-libvpx --enable-libx264 --enable-shared --enable-libxcb --enable-libxcb-xfixes --disable-libxcb-shape --disable-ffplay --disable-ffprobe --disable-doc --disable-everything --enable-bsf=vp9_superframe --enable-decoder=libvpx_vp9 --enable-decoder=png --enable-decoder=rawvideo --enable-encoder=apng --enable-encoder=ffvhuff --enable-encoder=gif --enable-encoder=libvpx_vp9 --enable-encoder=libx264 --enable-encoder=png --enable-demuxer=image2 --enable-demuxer=matroska --enable-muxer=apng --enable-muxer=gif --enable-muxer=image2 --enable-muxer=mp4 --enable-muxer=webm --enable-filter=crop --enable-filter=fps --enable-filter=palettegen --enable-filter=paletteuse --enable-filter=scale --enable-protocol=file --enable-indev=xcbgrab  libavutil      56. 51.100 / 56. 51.100  libavcodec     58. 91.100 / 58. 91.100  libavformat    58. 45.100 / 58. 45.100  libavdevice    58. 10.100 / 58. 10.100  libavfilter     7. 85.100 /  7. 85.100  libswscale      5.  7.100 /  5.  7.100  libswresample   3.  7.100 /  3.  7.100  libpostproc    55.  7.100 / 55.  7.100[x11grab @ 0x560998510980] Stream #0: not enough frames to estimate rate; consider increasing probesizeInput #0, x11grab, from ':99.0+1988,130':  Duration: N/A, start: 1619514042.043492, bitrate: 279980 kb/s    Stream #0:0: Video: rawvideo (BGR[0] / 0x524742), bgr0, 1067x820, 279980 kb/s, 10 fps, 1000k tbr, 1000k tbn, 1000k tbcStream mapping:  Stream #0:0 -> #0:0 (rawvideo (native) -> vp9 (libvpx-vp9))Press [q] to stop, [?] for help[libvpx-vp9 @ 0x56099851c8c0] v1.10.0[libvpx-vp9 @ 0x56099851c8c0] Failed to initialize encoder: ABI version mismatchError initializing output stream 0:0 -- Error while opening encoder for output stream #0:0 - maybe incorrect parameters such as bit_rate, rate, width or heightConversion failed!
kotler-dev commented 3 years ago

Don't worked version installed from Flatpak and Wayland session (black screen). Installed from official repository Manjaro Gnome and rebooted system. Peek works.