phw / peek

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

Peek Giving Issues on Flatpak Version while saving the recorded gif #664

Open bhattaraib58 opened 3 years ago

bhattaraib58 commented 3 years ago

When I stop the recording and trying to save the GIF peek gives error. I even have got ffmpeg normally as well.

Peek: 1.5.1 GTK: 3.24.23 GLib: 2.66.0 Desktop: pop:GNOME Display server: X FFmpeg version:

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 -y -i /home/bhattaraib58/.var/app/com.uploadedlobster.peek/cache/peek/peekD902S0.webm -vf fps=5,palettegen /home/bhattaraib58/.var/app/com.uploadedlobster.peek/cache/peek/peek9N5WS0.png" 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/home/bhattaraib58/.var/app/com.uploadedlobster.peek/cache/peek/peekD902S0.webm: Invalid data found when processing input
bhattaraib58 commented 3 years ago

It was working normally a day ago. App just Stopped working today, maybe due to some breaking updates. I also don't use Nvidia or AMD Graphics. I only use Intel Integrated Graphics.

bhattaraib58 commented 3 years ago

Uninstalled and installed flatpak version 2-3 times also restarted PC but didn't work. Installed the ubuntu:ppa version, the ubuntu:ppa version is working.

bhattaraib58 commented 3 years ago

Update GIF recording is only working on DEB version, other recording types is giving issues. Is this because of lack of support in Ubuntu 20.04 ??