phw / peek

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

Recording Error - cannot record gif in ubuntu 22.04 #1322

Open PhungXuanAnh opened 3 months ago

PhungXuanAnh commented 3 months ago

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: gif gifski enabled: false

Error details:

Command "ffmpeg -y -i /home/xuananh/.cache/peek/peekPL61R2.webm -vf fps=10,palettegen /home/xuananh/.cache/peek/peek81W9R2.png" failed with status 256 (received signal 0).

Output:
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[matroska,webm @ 0x5c5d744da680] 0x00 at pos 221 (0xdd) invalid as first byte of an EBML number[matroska,webm @ 0x5c5d744da680] Duplicate element[matroska,webm @ 0x5c5d744da680] 0x00 at pos 72 (0x48) invalid as first byte of an EBML number[matroska,webm @ 0x5c5d744da680] 0x00 at pos 100 (0x64) invalid as first byte of an EBML number[matroska,webm @ 0x5c5d744da680] Unknown-sized element at 0x7f inside parent with finite size[matroska,webm @ 0x5c5d744da680] Unknown-sized element at 0x9b inside parent with finite size[matroska,webm @ 0x5c5d744da680] Unknown-sized element at 0xb7 inside parent with finite size[matroska,webm @ 0x5c5d744da680] 0x00 at pos 221 (0xdd) invalid as first byte of an EBML number[matroska,webm @ 0x5c5d744da680] Duplicate element/home/xuananh/.cache/peek/peekPL61R2.webm: End of file
PhungXuanAnh commented 3 months ago

re-install peek fix this issue