phw / peek

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

Ffmpeg fails in Flatpak #262

Closed briner closed 6 years ago

briner commented 6 years ago

Peek: 1.2.1 GTK: 3.22.26 GLib: 2.54.1

Details:

Missing output file after post processing.
phw commented 6 years ago

That's not really much info to go with. What file format are you recording? Is this on GNOME Shell or something else? If you start Peek from command line is there any addititional output?

briner commented 6 years ago

Hi,

sorry, but the message above was generated automagically by the application when clicking "report".

I did have launch it within my console.

I'm running in with gnome-shell within wayland on a Debian Testing

cED

flatpak run com.uploadedlobster.peek/x86_64/stable

(peek:3): Gtk-WARNING **: Locale not supported by C library.
    Using the fallback 'C' locale.
Using screen recorder backend gnome-shell
Recording to file /home/briner/.var/app/com.uploadedlobster.peek/cache/peek/peek6FR8CZ.mkv

Error: Child process exited with code 1
Error deleting temporary file /home/briner/.var/app/com.uploadedlobster.peek/cache/peek/peek6FR8CZ.mkv: Command "ffmpeg -y -i /home/briner/.var/app/com.uploadedlobster.peek/cache/peek/peek6FR8CZ.mkv -vf fps=5,palettegen /home/briner/.var/app/com.uploadedlobster.peek/cache/peek/peekCXG7CZ.png" failed with status 256 (received signal 0).

Output:
ffmpeg version 3.4 Copyright (c) 2000-2017 the FFmpeg developers  built with gcc 6.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-ffserver --disable-doc --disable-everything --enable-decoder=libvpx_vp8 --enable-decoder=h264 --enable-decoder=png --enable-decoder=rawvideo --enable-encoder=apng --enable-encoder=ffvhuff --enable-encoder=gif --enable-encoder=libvpx_vp8 --enable-encoder=libx264 --enable-encoder=libx264rgb --enable-encoder=png --enable-demuxer=image2 --enable-demuxer=matroska --enable-muxer=apng --enable-muxer=gif --enable-muxer=image2 --enable-muxer=matroska --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  WARNING: library configuration mismatch  avutil      configuration: --prefix=/usr --disable-debug --disable-doc --disable-static --enable-gpl --enable-optimizations --enable-libvpx --enable-shared --disable-ffplay --disable-ffprobe --disable-ffserver --disable-everything --enable-gnutls --enable-libfontconfig --enable-libfreetype --enable-libopus --enable-libpulse --enable-libspeex --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libwebp --enable-openal --enable-opengl --enable-sdl2 --enable-decoder='pcm_s16be,pcm_s24be,pcm_mulaw,pcm_alaw' --enable-decoder='pcm_u8,pcm_s16le,pcm_s24le,pcm_f32le' --enable-decoder='theora,vorbis,vp8,vp9,mp3,flac,webp' --enable-decoder='rawvideo,png,gif' --enable-parser='opus,vp3,vorbis,vp8,mpegaudio,flac' --enable-demuxer='ogg,matroska,wav,mp3,gif,flac' --enable-filter='crop,scale' --enable-protocol=file  avcodec     configuration: --prefix=/usr --disable-debug --disable-doc --disable-static --enable-gpl --enable-optimizations --enable-libvpx --enable-shared --disable-ffplay --disable-ffprobe --disable-ffserver --disable-everything --enable-gnutls --enable-libfontconfig --enable-libfreetype --enable-libopus --enable-libpulse --enable-libspeex --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libwebp --enable-openal --enable-opengl --enable-sdl2 --enable-decoder='pcm_s16be,pcm_s24be,pcm_mulaw,pcm_alaw' --enable-decoder='pcm_u8,pcm_s16le,pcm_s24le,pcm_f32le' --enable-decoder='theora,vorbis,vp8,vp9,mp3,flac,webp' --enable-decoder='rawvideo,png,gif' --enable-parser='opus,vp3,vorbis,vp8,mpegaudio,flac' --enable-demuxer='ogg,matroska,wav,mp3,gif,flac' --enable-filter='crop,scale' --enable-protocol=file  avformat    configuration: --prefix=/usr --disable-debug --disable-doc --disable-static --enable-gpl --enable-optimizations --enable-libvpx --enable-shared --disable-ffplay --disable-ffprobe --disable-ffserver --disable-everything --enable-gnutls --enable-libfontconfig --enable-libfreetype --enable-libopus --enable-libpulse --enable-libspeex --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libwebp --enable-openal --enable-opengl --enable-sdl2 --enable-decoder='pcm_s16be,pcm_s24be,pcm_mulaw,pcm_alaw' --enable-decoder='pcm_u8,pcm_s16le,pcm_s24le,pcm_f32le' --enable-decoder='theora,vorbis,vp8,vp9,mp3,flac,webp' --enable-decoder='rawvideo,png,gif' --enable-parser='opus,vp3,vorbis,vp8,mpegaudio,flac' --enable-demuxer='ogg,matroska,wav,mp3,gif,flac' --enable-filter='crop,scale' --enable-protocol=file  avdevice    configuration: --prefix=/usr --disable-debug --disable-doc --disable-static --enable-gpl --enable-optimizations --enable-libvpx --enable-shared --disable-ffplay --disable-ffprobe --disable-ffserver --disable-everything --enable-gnutls --enable-libfontconfig --enable-libfreetype --enable-libopus --enable-libpulse --enable-libspeex --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libwebp --enable-openal --enable-opengl --enable-sdl2 --enable-decoder='pcm_s16be,pcm_s24be,pcm_mulaw,pcm_alaw' --enable-decoder='pcm_u8,pcm_s16le,pcm_s24le,pcm_f32le' --enable-decoder='theora,vorbis,vp8,vp9,mp3,flac,webp' --enable-decoder='rawvideo,png,gif' --enable-parser='opus,vp3,vorbis,vp8,mpegaudio,flac' --enable-demuxer='ogg,matroska,wav,mp3,gif,flac' --enable-filter='crop,scale' --enable-protocol=file  avfilter    configuration: --prefix=/usr --disable-debug --disable-doc --disable-static --enable-gpl --enable-optimizations --enable-libvpx --enable-shared --disable-ffplay --disable-ffprobe --disable-ffserver --disable-everything --enable-gnutls --enable-libfontconfig --enable-libfreetype --enable-libopus --enable-libpulse --enable-libspeex --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libwebp --enable-openal --enable-opengl --enable-sdl2 --enable-decoder='pcm_s16be,pcm_s24be,pcm_mulaw,pcm_alaw' --enable-decoder='pcm_u8,pcm_s16le,pcm_s24le,pcm_f32le' --enable-decoder='theora,vorbis,vp8,vp9,mp3,flac,webp' --enable-decoder='rawvideo,png,gif' --enable-parser='opus,vp3,vorbis,vp8,mpegaudio,flac' --enable-demuxer='ogg,matroska,wav,mp3,gif,flac' --enable-filter='crop,scale' --enable-protocol=file  swscale     configuration: --prefix=/usr --disable-debug --disable-doc --disable-static --enable-gpl --enable-optimizations --enable-libvpx --enable-shared --disable-ffplay --disable-ffprobe --disable-ffserver --disable-everything --enable-gnutls --enable-libfontconfig --enable-libfreetype --enable-libopus --enable-libpulse --enable-libspeex --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libwebp --enable-openal --enable-opengl --enable-sdl2 --enable-decoder='pcm_s16be,pcm_s24be,pcm_mulaw,pcm_alaw' --enable-decoder='pcm_u8,pcm_s16le,pcm_s24le,pcm_f32le' --enable-decoder='theora,vorbis,vp8,vp9,mp3,flac,webp' --enable-decoder='rawvideo,png,gif' --enable-parser='opus,vp3,vorbis,vp8,mpegaudio,flac' --enable-demuxer='ogg,matroska,wav,mp3,gif,flac' --enable-filter='crop,scale' --enable-protocol=file  swresample  configuration: --prefix=/usr --disable-debug --disable-doc --disable-static --enable-gpl --enable-optimizations --enable-libvpx --enable-shared --disable-ffplay --disable-ffprobe --disable-ffserver --disable-everything --enable-gnutls --enable-libfontconfig --enable-libfreetype --enable-libopus --enable-libpulse --enable-libspeex --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libwebp --enable-openal --enable-opengl --enable-sdl2 --enable-decoder='pcm_s16be,pcm_s24be,pcm_mulaw,pcm_alaw' --enable-decoder='pcm_u8,pcm_s16le,pcm_s24le,pcm_f32le' --enable-decoder='theora,vorbis,vp8,vp9,mp3,flac,webp' --enable-decoder='rawvideo,png,gif' --enable-parser='opus,vp3,vorbis,vp8,mpegaudio,flac' --enable-demuxer='ogg,matroska,wav,mp3,gif,flac' --enable-filter='crop,scale' --enable-protocol=file  postproc    configuration: --prefix=/usr --disable-debug --disable-doc --disable-static --enable-gpl --enable-optimizations --enable-libvpx --enable-shared --disable-ffplay --disable-ffprobe --disable-ffserver --disable-everything --enable-gnutls --enable-libfontconfig --enable-libfreetype --enable-libopus --enable-libpulse --enable-libspeex --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libwebp --enable-openal --enable-opengl --enable-sdl2 --enable-decoder='pcm_s16be,pcm_s24be,pcm_mulaw,pcm_alaw' --enable-decoder='pcm_u8,pcm_s16le,pcm_s24le,pcm_f32le' --enable-decoder='theora,vorbis,vp8,vp9,mp3,flac,webp' --enable-decoder='rawvideo,png,gif' --enable-parser='opus,vp3,vorbis,vp8,mpegaudio,flac' --enable-demuxer='ogg,matroska,wav,mp3,gif,flac' --enable-filter='crop,scale' --enable-protocol=file  libavutil      55. 78.100 / 55. 78.100  libavcodec     57.107.100 / 57.107.100  libavformat    57. 83.100 / 57. 83.100  libavdevice    57. 10.100 / 57. 10.100  libavfilter     6.107.100 /  6.107.100  libswscale      4.  8.100 /  4.  8.100  libswresample   2.  9.100 /  2.  9.100  libpostproc    54.  7.100 / 54.  7.100Input #0, matroska,webm, from '/home/briner/.var/app/com.uploadedlobster.peek/cache/peek/peek6FR8CZ.mkv':  Metadata:    encoder         : GStreamer matroskamux version 1.12.4    creation_time   : 2018-01-18T13:54:07.000000Z  Duration: 00:00:12.06, start: 0.016000, bitrate: 489 kb/s    Stream #0:0(eng): Video: vp8, yuv420p(progressive), 1094x774, SAR 1:1 DAR 547:387, 5 fps, 1k tbr, 1k tbn, 1k tbc (default)    Metadata:      title           : Video[NULL @ 0xe9fe40] Unable to find a suitable output format for '/home/briner/.var/app/com.uploadedlobster.peek/cache/peek/peekCXG7CZ.png'/home/briner/.var/app/com.uploadedlobster.peek/cache/peek/peekCXG7CZ.png: Invalid argument
Recording canceled: Missing output file after post processing.

BRINER: Now there is a dialog telling : Recording Error: An unexpected error occured during recording. Recording was aborted
flatpak list
Ref                                                   Options       
com.uploadedlobster.peek/x86_64/stable                system,current
com.vinszent.GnomeTwitch/x86_64/stable                system,current
de.haeckerfelix.gradio/x86_64/stable                  system,current
org.nextcloud.Nextcloud/x86_64/stable                 system,current
org.telegram.desktop/x86_64/master                    system        
org.telegram.desktop/x86_64/stable                    system,current
org.freedesktop.Platform.Icontheme.Adwaita/x86_64/1.0 system,runtime
org.freedesktop.Platform.VAAPI.Intel/x86_64/1.6       system,runtime
org.gnome.Platform/x86_64/3.24                        system,runtime
org.gnome.Platform/x86_64/3.26                        system,runtime
org.kde.Platform/x86_64/5.9                           system,runtime
flatpak info com.uploadedlobster.peek/x86_64/stable
Ref: app/com.uploadedlobster.peek/x86_64/stable
ID: com.uploadedlobster.peek
Arch: x86_64
Branch: stable
Origin: flathub
Date: 2017-12-03 16:37:08 +0000
Subject: Release 1.2.1 (ee24a4cc)
Commit: 57459940c1d047cbd23318bc303d6ab224a01341282eabc92de46188d832c4a1
Parent: 17bb112edbdf083eb32c83d7293fc91c4c10f9affb7b31811371c31483b37700
Location: /var/lib/flatpak/app/com.uploadedlobster.peek/x86_64/stable/57459940c1d047cbd23318bc303d6ab224a01341282eabc92de46188d832c4a1
Installed size: 7.3 MB
Runtime: org.gnome.Platform/x86_64/3.26
flatpak --version
Flatpak 0.10.2.1
phw commented 6 years ago

Thanks for the details. It might be that the Gnome Shell screen recorder is not working for you. Do you have gstreamer1.0-plugins-good installed? If not, please install it.

If this does not solve the issue looking at journalctl -f while starting the recording should show more details what's going wrong.

sorry, but the message above was generated automagically by the application when clicking "report".

Yeah, I know, sorry :) I have to make this more useful and also encourage users to provide more info.

briner commented 6 years ago

Hi,

yes, I do have the plugins-good

dpkg -l| grep plugins-good
ii  gstreamer1.0-plugins-good:amd64                             1.12.4-1                             amd64        GStreamer plugins from the "good" set

journalctl -f gives (this is long). The line jumps was added by me: the first just after clicking start, the second just before clicking stop.

jan 19 11:35:16 cedian dbus-daemon[1829]: [session uid=1000 pid=1829] Activating service name='org.gnome.Calculator.SearchProvider' requested by ':1.10' (uid=1000 pid=1872 comm="/usr/bin/gnome-shell ")
jan 19 11:35:16 cedian dbus-daemon[1829]: [session uid=1000 pid=1829] Activating service name='org.gnome.Contacts.SearchProvider' requested by ':1.10' (uid=1000 pid=1872 comm="/usr/bin/gnome-shell ")
jan 19 11:35:16 cedian dbus-daemon[1829]: [session uid=1000 pid=1829] Activating service name='org.gnome.Nautilus' requested by ':1.10' (uid=1000 pid=1872 comm="/usr/bin/gnome-shell ")
jan 19 11:35:16 cedian dbus-daemon[1829]: [session uid=1000 pid=1829] Activating service name='org.gnome.clocks' requested by ':1.10' (uid=1000 pid=1872 comm="/usr/bin/gnome-shell ")
jan 19 11:35:16 cedian dbus-daemon[1829]: [session uid=1000 pid=1829] Successfully activated service 'org.gnome.Calculator.SearchProvider'
jan 19 11:35:16 cedian dbus-daemon[1829]: [session uid=1000 pid=1829] Successfully activated service 'org.gnome.Nautilus'
jan 19 11:35:16 cedian dbus-daemon[1829]: [session uid=1000 pid=1829] Successfully activated service 'org.gnome.clocks'
jan 19 11:35:16 cedian dbus-daemon[1829]: [session uid=1000 pid=1829] Successfully activated service 'org.gnome.Contacts.SearchProvider'
jan 19 11:35:16 cedian gnome-software[2129]: running search with refine-flags=require-icon with timeout=60 with max-results=20 with search=pee on plugin=flatpak took 8ms
jan 19 11:35:16 cedian org.gnome.Nautilus[1829]: sys:1: PyGIWarning: Nautilus was imported without specifying a version first. Use gi.require_version('Nautilus', '3.0') before import to ensure that the right version gets loaded.
jan 19 11:35:16 cedian dhclient[1272]: DHCPREQUEST of 129.194.132.128 on wlp4s0 to 1.1.1.1 port 67
jan 19 11:35:17 cedian dbus-daemon[1829]: [session uid=1000 pid=1829] Activating service name='com.uploadedlobster.peek' requested by ':1.10' (uid=1000 pid=1872 comm="/usr/bin/gnome-shell ")
jan 19 11:35:17 cedian systemd[906]: Started flatpak-com.uploadedlobster.peek-6817.scope.
jan 19 11:35:17 cedian peek[6827]: Locale not supported by C library.
                                           Using the fallback 'C' locale.
jan 19 11:35:17 cedian dbus-daemon[1829]: [session uid=1000 pid=1829] Successfully activated service 'com.uploadedlobster.peek'
jan 19 11:35:17 cedian gnome-shell[1872]: Object Clutter.Clone (0x55f1fa491ad0), has been already finalized. Impossible to get any property from it.
jan 19 11:35:17 cedian gnome-shell[1872]: Object Clutter.Clone (0x55f1fa491ad0), has been already finalized. Impossible to set any property to it.
jan 19 11:35:17 cedian org.gnome.Shell.desktop[1872]: == Stack trace for context 0x55f1f455d000 ==
jan 19 11:35:17 cedian org.gnome.Shell.desktop[1872]: #0 0x7ffefc879360 b   resource:///org/gnome/shell/ui/tweener.js:73 (0x7f9c5c4ddef0 @ 9)
jan 19 11:35:17 cedian org.gnome.Shell.desktop[1872]: #1 0x7ffefc879400 b   resource:///org/gnome/shell/ui/tweener.js:105 (0x7f9c5c4df230 @ 36)
jan 19 11:35:17 cedian org.gnome.Shell.desktop[1872]: #2 0x7ffefc8794a0 b   resource:///org/gnome/shell/ui/tweener.js:92 (0x7f9c5c4df098 @ 52)
jan 19 11:35:17 cedian org.gnome.Shell.desktop[1872]: #3 0x7ffefc87a410 b   resource:///org/gnome/gjs/modules/tweener/tweener.js:203 (0x7f9c5c4e9cd0 @ 54)
jan 19 11:35:17 cedian org.gnome.Shell.desktop[1872]: #4 0x7ffefc87a560 b   resource:///org/gnome/gjs/modules/tweener/tweener.js:332 (0x7f9c5c4e9d58 @ 1626)
jan 19 11:35:17 cedian org.gnome.Shell.desktop[1872]: #5 0x7ffefc87a610 b   resource:///org/gnome/gjs/modules/tweener/tweener.js:345 (0x7f9c5c4e9de0 @ 100)
jan 19 11:35:17 cedian org.gnome.Shell.desktop[1872]: #6 0x7ffefc87a6a0 b   resource:///org/gnome/gjs/modules/tweener/tweener.js:360 (0x7f9c5c4e9e68 @ 10)
jan 19 11:35:17 cedian org.gnome.Shell.desktop[1872]: #7 0x7ffefc87a720 I   resource:///org/gnome/gjs/modules/signals.js:126 (0x7f9c5c4e2b38 @ 386)
jan 19 11:35:17 cedian org.gnome.Shell.desktop[1872]: #8 0x7ffefc87a7d0 b   resource:///org/gnome/shell/ui/tweener.js:208 (0x7f9c5c4df808 @ 159)
jan 19 11:35:17 cedian org.gnome.Shell.desktop[1872]: #9 0x7ffefc87a830 I   resource:///org/gnome/gjs/modules/_legacy.js:82 (0x7f9c5c4c2bc0 @ 71)
jan 19 11:35:17 cedian org.gnome.Shell.desktop[1872]: #10 0x7ffefc87a830 I   resource:///org/gnome/shell/ui/tweener.js:183 (0x7f9c5c4df780 @ 20)
jan 19 11:35:17 cedian org.gnome.Shell.desktop[1872]: #11 0x7ffefc87a8c0 I   self-hosted:917 (0x7f9c5c4ee5e8 @ 394)
jan 19 11:35:17 cedian org.gnome.Shell.desktop[1872]: == Stack trace for context 0x55f1f455d000 ==
jan 19 11:35:17 cedian org.gnome.Shell.desktop[1872]: #0 0x7ffefc879360 b   resource:///org/gnome/shell/ui/tweener.js:80 (0x7f9c5c4ddef0 @ 82)
jan 19 11:35:17 cedian org.gnome.Shell.desktop[1872]: #1 0x7ffefc879400 b   resource:///org/gnome/shell/ui/tweener.js:105 (0x7f9c5c4df230 @ 36)
jan 19 11:35:17 cedian org.gnome.Shell.desktop[1872]: #2 0x7ffefc8794a0 b   resource:///org/gnome/shell/ui/tweener.js:92 (0x7f9c5c4df098 @ 52)
jan 19 11:35:17 cedian org.gnome.Shell.desktop[1872]: #3 0x7ffefc87a410 b   resource:///org/gnome/gjs/modules/tweener/tweener.js:203 (0x7f9c5c4e9cd0 @ 54)
jan 19 11:35:17 cedian org.gnome.Shell.desktop[1872]: #4 0x7ffefc87a560 b   resource:///org/gnome/gjs/modules/tweener/tweener.js:332 (0x7f9c5c4e9d58 @ 1626)
jan 19 11:35:17 cedian org.gnome.Shell.desktop[1872]: #5 0x7ffefc87a610 b   resource:///org/gnome/gjs/modules/tweener/tweener.js:345 (0x7f9c5c4e9de0 @ 100)
jan 19 11:35:17 cedian org.gnome.Shell.desktop[1872]: #6 0x7ffefc87a6a0 b   resource:///org/gnome/gjs/modules/tweener/tweener.js:360 (0x7f9c5c4e9e68 @ 10)
jan 19 11:35:17 cedian org.gnome.Shell.desktop[1872]: #7 0x7ffefc87a720 I   resource:///org/gnome/gjs/modules/signals.js:126 (0x7f9c5c4e2b38 @ 386)
jan 19 11:35:17 cedian org.gnome.Shell.desktop[1872]: #8 0x7ffefc87a7d0 b   resource:///org/gnome/shell/ui/tweener.js:208 (0x7f9c5c4df808 @ 159)
jan 19 11:35:17 cedian org.gnome.Shell.desktop[1872]: #9 0x7ffefc87a830 I   resource:///org/gnome/gjs/modules/_legacy.js:82 (0x7f9c5c4c2bc0 @ 71)
jan 19 11:35:17 cedian org.gnome.Shell.desktop[1872]: #10 0x7ffefc87a830 I   resource:///org/gnome/shell/ui/tweener.js:183 (0x7f9c5c4df780 @ 20)
jan 19 11:35:17 cedian org.gnome.Shell.desktop[1872]: #11 0x7ffefc87a8c0 I   self-hosted:917 (0x7f9c5c4ee5e8 @ 394)
jan 19 11:35:17 cedian evolution-addre[6729]: Unknown value `b\' for ENCODING parameter.  values will be treated as raw
jan 19 11:35:17 cedian evolution-addre[6729]: Unknown value `b\' for ENCODING parameter.  values will be treated as raw
jan 19 11:35:17 cedian evolution-addre[6729]: Unknown value `b\' for ENCODING parameter.  values will be treated as raw
jan 19 11:35:17 cedian evolution-addre[6729]: Unknown value `b\' for ENCODING parameter.  values will be treated as raw
jan 19 11:35:17 cedian evolution-addre[6729]: Unknown value `b\' for ENCODING parameter.  values will be treated as raw
jan 19 11:35:17 cedian evolution-addre[6729]: Unknown value `b\' for ENCODING parameter.  values will be treated as raw
jan 19 11:35:17 cedian gnome-contacts-[6672]: Unknown value `b\' for ENCODING parameter.  values will be treated as raw
jan 19 11:35:17 cedian gnome-contacts-[6672]: Unknown value `b\' for ENCODING parameter.  values will be treated as raw
jan 19 11:35:17 cedian gnome-contacts-[6672]: Unknown value `b\' for ENCODING parameter.  values will be treated as raw
jan 19 11:35:17 cedian gnome-contacts-[6672]: Unknown value `b\' for ENCODING parameter.  values will be treated as raw
jan 19 11:35:17 cedian gnome-contacts-[6672]: Unknown value `b\' for ENCODING parameter.  values will be treated as raw
jan 19 11:35:17 cedian gnome-contacts-[6672]: Unknown value `b\' for ENCODING parameter.  values will be treated as raw

jan 19 11:35:26 cedian org.gnome.Shell.desktop[1872]: Recording to /home/briner/.var/app/com.uploadedlobster.peek/cache/peek/peekZ3G9CZ.mkv
jan 19 11:35:31 cedian dhclient[1272]: DHCPREQUEST of 129.194.132.128 on wlp4s0 to 1.1.1.1 port 67

jan 19 11:35:36 cedian com.uploadedlobster.peek[1829]: Error: Child process exited with code 1
jan 19 11:35:36 cedian com.uploadedlobster.peek[1829]: Error deleting temporary file /home/briner/.var/app/com.uploadedlobster.peek/cache/peek/peekZ3G9CZ.mkv: Command "ffmpeg -y -i /home/briner/.var/app/com.uploadedlobster.peek/cache/peek/peekZ3G9CZ.mkv -vf fps=5,palettegen /home/briner/.var/app/com.uploadedlobster.peek/cache/peek/peekXQTGDZ.png" failed with status 256 (received signal 0).
jan 19 11:35:36 cedian com.uploadedlobster.peek[1829]: Output:
jan 19 11:35:36 cedian com.uploadedlobster.peek[1829]: ffmpeg version 3.4 Copyright (c) 2000-2017 the FFmpeg developers  built with gcc 6.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-ffserver --disable-doc --disable-everything --enable-decoder=libvpx_vp8 --enable-decoder=h264 --enable-decoder=png --enable-decoder=rawvideo --enable-encoder=apng --enable-encoder=ffvhuff --enable-encoder=gif --enable-encoder=libvpx_vp8 --enable-encoder=libx264 --enable-encoder=libx264rgb --enable-encoder=png --enable-demuxer=image2 --enable-demuxer=matroska --enable-muxer=apng --enable-muxer=gif --enable-muxer=image2 --enable-muxer=matroska --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  WARNING: library configuration mismatch  avutil      configuration: --prefix=/usr --disable-debug --disable-doc --disable-static --enable-gpl --enable-optimizations --enable-libvpx --enable-shared --disable-ffplay --disable-ffprobe --disable-ffserver --disable-everything --enable-gnutls --enable-libfontconfig --enable-libfreetype --enable-libopus --enable-libpulse --enable-libspeex --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libwebp --enable-openal --enable-opengl --enable-sdl2 --enable-decoder='pcm_s16be,pcm_s24be,pcm_mulaw,pcm_alaw' --enable-decoder='pcm_u8,pcm_s16le,pcm_s24le,pcm_f32le' --enable-decoder='theora,vorbis,vp8,vp9,mp3,flac,webp' --enable-decoder='rawvideo,png,gif' --enable-parser='opus,vp3,vorbis,vp8,mpegaudio,flac' --enable-demuxer='ogg,matroska,wav,mp3,gif,flac' --enable-filter='crop,scale' --enable-protocol=file  avcodec     configuration: --prefix=/usr --disable-debug --disable-doc --disable-static --enable-gpl --enable-optimizations --enable-libvpx --enable-shared --disable-ffplay --disable-ffprobe --disable-ffserver --disable-everything --enable-gnutls --enable-libfontconfig --enable-libfreetype --enable-libopus --enable-libpulse --enable-libspeex --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libwebp --enable-openal --enable-opengl --enable-sdl2 --enable-decoder='pcm_s16be,pcm_s24be,pcm_mulaw,pcm_alaw' --enable-decoder='pcm_u8,pcm_s16le,pcm_s24le,pcm_f32le' --enable-decoder='theora,vorbis,vp8,vp9,mp3,flac,webp' --enable-decoder='rawvideo,png,gif' --enable-parser='opus,vp3,vorbis,vp8,mpegaudio,flac' --enable-demuxer='ogg,matroska,wav,mp3,gif,flac' --enable-filter='crop,scale' --enable-protocol=file  avformat    configuration: --prefix=/usr --disable-debug --disable-doc --disable-static --enable-gpl --enable-optimizations --enable-libvpx --enable-shared --disable-ffplay --disable-ffprobe --disable-ffserver --disable-everything --enable-gnutls --enable-libfontconfig --enable-libfreetype --enable-libopus --enable-libpulse --enable-libspeex --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libwebp --enable-openal --enable-opengl --enable-sdl2 --enable-decoder='pcm_s16be,pcm_s24be,pcm_mulaw,pcm_alaw' --enable-decoder='pcm_u8,pcm_s16le,pcm_s24le,pcm_f32le' --enable-decoder='theora,vorbis,vp8,vp9,mp3,flac,webp' --enable-decoder='rawvideo,png,gif' --enable-parser='opus,vp3,vorbis,vp8,mpegaudio,flac' --enable-demuxer='ogg,matroska,wav,mp3,gif,flac' --enable-filter='crop,scale' --enable-protocol=file  avdevice    configuration: --prefix=/usr --disable-debug --disable-doc --disable-static --enable-gpl --enable-optimizations --enable-libvpx --enable-shared --disable-ffplay --disable-ffprobe --disable-ffserver --disable-everything --enable-gnutls --enable-libfontconfig --enable-libfreetype --enable-libopus --enable-libpulse --enable-libspeex --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libwebp --enable-openal --enable-opengl --enable-sdl2 --enable-decoder='pcm_s16be,pcm_s24be,pcm_mulaw,pcm_alaw' --enable-decoder='pcm_u8,pcm_s16le,pcm_s24le,pcm_f32le' --enable-decoder='theora,vorbis,vp8,vp9,mp3,flac,webp' --enable-decoder='rawvideo,png,gif' --enable-parser='opus,vp3,vorbis,vp8,mpegaudio,flac' --enable-demuxer='ogg,matroska,wav,mp3,gif,flac' --enable-filter='crop,scale' --enable-protocol=file  avfilter    configuration: --prefix=/usr --disable-debug --disable-doc --disable-static --enable-gpl --enable-optimizations --enable-libvpx --enable-shared --disable-ffplay --disable-ffprobe --disable-ffserver --disable-everything --enable-gnutls --enable-libfontconfig --enable-libfreetype --enable-libopus --enable-libpulse --enable-libspeex --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libwebp --enable-openal --enable-opengl --enable-sdl2 --enable-decoder='pcm_s16be,pcm_s24be,pcm_mulaw,pcm_alaw' --enable-decoder='pcm_u8,pcm_s16le,pcm_s24le,pcm_f32le' --enable-decoder='theora,vorbis,vp8,vp9,mp3,flac,webp' --enable-decoder='rawvideo,png,gif' --enable-parser='opus,vp3,vorbis,vp8,mpegaudio,flac' --enable-demuxer='ogg,matroska,wav,mp3,gif,flac' --enable-filter='crop,scale' --enable-protocol=file  swscale     configuration: --prefix=/usr --disable-debug --disable-doc --disable-static --enable-gpl --enable-optimizations --enable-libvpx --enable-shared --disable-ffplay --disable-ffprobe --disable-ffserver --disable-everything --enable-gnutls --enable-libfontconfig --enable-libfreetype --enable-libopus --enable-libpulse --enable-libspeex --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libwebp --enable-openal --enable-opengl --enable-sdl2 --enable-decoder='pcm_s16be,pcm_s24be,pcm_mulaw,pcm_alaw' --enable-decoder='pcm_u8,pcm_s16le,pcm_s24le,pcm_f32le' --enable-decoder='theora,vorbis,vp8,vp9,mp3,flac,webp' --enable-decoder='rawvideo,png,gif' --enable-parser='opus,vp3,vorbis,vp8,mpegaudio,flac' --enable-demuxer='ogg,matroska,wav,mp3,gif,flac' --enable-filter='crop,scale' --enable-protocol=file  swresample  configuration: --prefix=/usr --disable-debug --disable-doc --disable-static --enable-gpl --enable-optimizations --enable-libvpx --enable-shared --disable-ffplay --disable-ffprobe --disable-ffserver --disable-everything --enable-gnutls --enable-libfontconfig --enable-libfreetype --enable-libopus --enable-libpulse --enable-libspeex --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libwebp --enable-openal --enable-opengl --enable-sdl2 --enable-decoder='pcm_s16be,pcm_s24be,pcm_mulaw,pcm_alaw' --enable-decoder='pcm_u8,pcm_s16le,pcm_s24le,pcm_f32le' --enable-decoder='theora,vorbis,vp8,vp9,mp3,flac,webp' --enable-decoder='rawvideo,png,gif' --enable-parser='opus,vp3,vorbis,vp8,mpegaudio,flac' --enable-demuxer='ogg,matroska,wav,mp3,gif,flac' --enable-filter='crop,scale' --enable-protocol=file  postproc    configuration: --prefix=/usr --disable-debug --disable-doc --disable-static --enable-gpl --enable-optimizations --enable-libvpx --enable-shared --disable-ffplay --disable-ffprobe --disable-ffserver --disable-everything --enable-gnutls --enable-libfontconfig --enable-libfreetype --enable-libopus --enable-libpulse --enable-libspeex --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libwebp --enable-openal --enable-opengl --enable-sdl2 --enable-decoder='pcm_s16be,pcm_s24be,pcm_mulaw,pcm_alaw' --enable-decoder='pcm_u8,pcm_s16le,pcm_s24le,pcm_f32le' --enable-decoder='theora,vorbis,vp8,vp9,mp3,flac,webp' --enable-decoder='rawvideo,png,gif' --enable-parser='opus,vp3,vorbis,vp8,mpegaudio,flac' --enable-demuxer='ogg,matroska,wav,mp3,gif,flac' --enable-filter='crop,scale' --enable-protocol=file  libavutil      55. 78.100 / 55. 78.100  libavcodec     57.107.100 / 57.107.100  libavformat    57. 83.100 / 57. 83.100  libavdevice    57. 10.100 / 57. 10.100  libavfilter     6.107.100 /  6.107.100  libswscale      4.  8.100 /  4.  8.100  libswresample   2.  9.100 /  2.  9.100  libpostproc    54.  7.100 / 54.  7.100Input #0, matroska,webm, from '/home/briner/.var/app/com.uploadedlobster.peek/cache/peek/peekZ3G9CZ.mkv':  Metadata:    encoder         : GStreamer matroskamux version 1.12.4    creation_time   : 2018-01-19T10:35:26.000000Z  Duration: 00:00:10.33, start: 0.011000, bitrate: 463 kb/s    Stream #0:0(eng): Video: vp8, yuv420p(progressive), 1094x774, SAR 1:1 DAR 547:387, 5 fps, 1k tbr, 1k tbn, 1k tbc (default)    Metadata:      title           : Video[NULL @ 0x6b7aa0] Unable to find a suitable output format for '/home/briner/.var/app/com.uploadedlobster.peek/cache/peek/peekXQTGDZ.png'/home/briner/.var/app/com.uploadedlobster.peek/cache/peek/peekXQTGDZ.png: Invalid argument
jan 19 11:35:36 cedian com.uploadedlobster.peek[1829]: Recording canceled: Missing output file after post processing.
phw commented 6 years ago

Thanks for the details. I think ffmpeg is missing something here. I currently experience very similar error with the same message Unable to find a suitable output format... with ffmpeg 3.4.1 in the Flatpak. However, same version works well on Arch. I will investigate.

phw commented 6 years ago

Ah, I was so focused on you mentioning Debian that I totally missed that you installed via Flatpak. So this is essentially a Flatpak issue. I wonder if some Gnome platform update broke things.

phw commented 6 years ago

It was indeed a library mismatch. The bundled ffmpeg did not use the ffmpeg libraries build for Peek but some provided for the runtime, and those where missing some features required. I updated the flatpaks.

@briner Could you test whether the new builds on Flathub work now for you? I have updated the stable builds on flathub and the dev build I host myself.

phw commented 6 years ago

Tested again, it is working for me now (both the stable build from flathub and the dev build). Please let me know if this should not work for you.

briner commented 6 years ago

That made my day. Thank you very much for your fast resolution.

Now, it works like a charm !