phw / peek

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

peek crashes on ubuntu 20.04 when recording gif #1056

Closed rbavery closed 2 years ago

rbavery commented 2 years ago

tried to record a gif and it crashed on ubuntu 20.04 from a fresh install.

Peek: 1.5.1 GTK: 3.24.13 GLib: 2.63.5 Desktop: Unity:Unity7:ubuntu Display server: X FFmpeg version:

ffmpeg version 4.4.1 Copyright (c) 2000-2021 the FFmpeg developers
built with gcc 9.4.0 (GCC)
configuration: --prefix=/home/conda/feedstock_root/build_artifacts/ffmpeg_1636205340875/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_plac --cc=/home/conda/feedstock_root/build_artifacts/ffmpeg_1636205340875/_build_env/bin/x86_64-conda-linux-gnu-cc --disable-doc --disable-openssl --enable-avresample --enable-demuxer=dash --enable-gnutls --enable-gpl --enable-hardcoded-tables --enable-libfreetype --enable-libopenh264 --enable-vaapi --enable-libx264 --enable-libx265 --enable-libaom --enable-libsvtav1 --enable-libxml2 --enable-libvpx --enable-pic --enable-pthreads --enable-shared --disable-static --enable-version3 --enable-zlib --enable-libmp3lame --pkg-config=/home/conda/feedstock_root/build_artifacts/ffmpeg_1636205340875/_build_env/bin/pkg-config
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
libavresample   4.  0.  0 /  4.  0.  0
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 -f x11grab -show_region 0 -framerate 10 -video_size 1851x978 -i :0+1267,504 -filter:v scale=iw/1:-1 -codec:v libvpx-vp9 -lossless 1 -r 10 -y /home/rave/.cache/peek/peekOHLPL1.webm" failed with status 256 (received signal 0).

Output:
ffmpeg version 4.4.1 Copyright (c) 2000-2021 the FFmpeg developers  built with gcc 9.4.0 (GCC)  configuration: --prefix=/home/conda/feedstock_root/build_artifacts/ffmpeg_1636205340875/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_plac --cc=/home/conda/feedstock_root/build_artifacts/ffmpeg_1636205340875/_build_env/bin/x86_64-conda-linux-gnu-cc --disable-doc --disable-openssl --enable-avresample --enable-demuxer=dash --enable-gnutls --enable-gpl --enable-hardcoded-tables --enable-libfreetype --enable-libopenh264 --enable-vaapi --enable-libx264 --enable-libx265 --enable-libaom --enable-libsvtav1 --enable-libxml2 --enable-libvpx --enable-pic --enable-pthreads --enable-shared --disable-static --enable-version3 --enable-zlib --enable-libmp3lame --pkg-config=/home/conda/feedstock_root/build_artifacts/ffmpeg_1636205340875/_build_env/bin/pkg-config  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  libavresample   4.  0.  0 /  4.  0.  0  libswscale      5.  9.100 /  5.  9.100  libswresample   3.  9.100 /  3.  9.100  libpostproc    55.  9.100 / 55.  9.100Unrecognized option 'show_region'.Error splitting the argument list: Option not found
rbavery commented 2 years ago

this is due to old install of ffmpeg from conda

https://github.com/phw/peek/issues/633