phw / peek

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

Gentoo - Failed with status 256 #307

Closed gentoosiasta closed 6 years ago

gentoosiasta commented 6 years ago

Peek: 1.3.1 GTK: 3.22.26 GLib: 2.52.3

Details:

Command "ffmpeg -f x11grab -show_region 0 -framerate 10 -video_size 1905x629 -i :0+15,451 -filter:v scale=iw/1:-1 -codec:v libvpx-vp9 -lossless 1 -r 10 -y /home/njord/.cache/peek/peek3YTBHZ.webm" failed with status 256 (received signal 0).

Output:
ffmpeg version 3.4.2 Copyright (c) 2000-2018 the FFmpeg developers  built with gcc 7.3.0 (Gentoo 7.3.0 p1.0)  configuration: --prefix=/usr --libdir=/usr/lib64 --shlibdir=/usr/lib64 --docdir=/usr/share/doc/ffmpeg-3.4.2-r1/html --mandir=/usr/share/man --enable-shared --cc=x86_64-pc-linux-gnu-gcc --cxx=x86_64-pc-linux-gnu-g++ --ar=x86_64-pc-linux-gnu-ar --optflags='-march=native -O2 -pipe' --disable-static --enable-avfilter --enable-avresample --disable-stripping --enable-version3 --disable-indev=v4l2 --disable-outdev=v4l2 --disable-indev=oss --disable-outdev=oss --enable-bzlib --disable-runtime-cpudetect --disable-debug --disable-gcrypt --disable-gnutls --disable-gmp --enable-gpl --enable-hardcoded-tables --enable-iconv --disable-lzma --enable-network --disable-opencl --disable-openssl --enable-postproc --enable-libsmbclient --enable-ffplay --enable-sdl2 --disable-vaapi --disable-vdpau --enable-xlib --enable-libxcb --enable-libxcb-shm --enable-libxcb-xfixes --enable-zlib --disable-libcdio --disable-libiec61883 --disable-libdc1394 --disable-libcaca --enable-openal --enable-opengl --disable-libv4l2 --disable-libpulse --disable-libdrm --disable-libopencore-amrwb --disable-libopencore-amrnb --disable-libfdk-aac --disable-libopenjpeg --disable-libbluray --disable-libcelt --disable-libgme --disable-libgsm --disable-mmal --disable-libmodplug --disable-libopus --disable-libilbc --disable-librtmp --disable-libssh --disable-libspeex --enable-librsvg --enable-libvorbis --disable-libvpx --disable-libzvbi --disable-appkit --disable-libbs2b --disable-chromaprint --disable-libflite --disable-frei0r --disable-libfribidi --disable-fontconfig --disable-ladspa --disable-libass --enable-libfreetype --disable-librubberband --disable-libzmq --disable-libzimg --disable-libsoxr --enable-pthreads --disable-libvo-amrwbenc --enable-libmp3lame --disable-libkvazaar --disable-nvenc --disable-libopenh264 --disable-libsnappy --disable-libtheora --disable-libtwolame --disable-libwavpack --disable-libwebp --enable-libx264 --disable-libx265 --enable-libxvid --disable-armv5te --disable-armv6 --disable-armv6t2 --disable-neon --disable-vfp --disable-vfpv3 --disable-armv8 --disable-mipsdsp --disable-mipsdspr2 --disable-mipsfpu --disable-altivec --disable-amd3dnow --disable-amd3dnowext --disable-fma4 --disable-xop --cpu=host --disable-doc --disable-htmlpages --enable-manpages  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  libavresample   3.  7.  0 /  3.  7.  0  libswscale      4.  8.100 /  4.  8.100  libswresample   2.  9.100 /  2.  9.100  libpostproc    54.  7.100 / 54.  7.100Unrecognized option 'lossless'.Error splitting the argument list: Option not found
phw commented 6 years ago

Your ffmpeg seems to miss functionality, likely vp9 encoding. The --disable-libvpx is likely to blame.

See https://github.com/phw/peek/blob/master/data/flatpak/flatpak-master.json#L37 for a list of minimal configure options that are needed for ffmpeg to support all the features Peek requires.

If you don't want to use MP4 encoding you can do without libx264 and MP4 muxer, but the rest is pretty much required.

phw commented 6 years ago

Closing this as I think that has been answered. If not please let me know.

oz123 commented 6 years ago

You should compile ffmpeg with the flag vpx.

emlove commented 5 years ago

Submitted to Gentoo for anyone who lands here from Google:

https://bugs.gentoo.org/672586