mediadc icon indicating copy to clipboard operation
mediadc copied to clipboard

ffmpeg ffprobe built from source not found

Open sergeng opened this issue 3 years ago • 5 comments
trafficstars

FFMPEG built from source ubuntu$ whereis ffmpeg ffmpeg: /usr/bin/ffmpeg /usr/local/bin/ffmpeg /home/ubuntu/bin/ffmpeg /usr/src/ffmpeginstaller.9.1/ffmpeg.sh

Still complaining Video processing won't work, video_required packages not installed. Not installed video_required packages: [ "ffmpeg", "ffprobe" ] video_required packages can't be installed automatically, this should be done by administrator manually and then recheck installation on this page.

sergeng avatar Jan 27 '22 16:01 sergeng

@sergeng https://github.com/andrey18106/mediadc/issues/41#issuecomment-1023375979 or to print Apache user environment variables(Ubuntu-Debian): sudo -u www-data printenv PATH

bigcat88 avatar Jan 27 '22 16:01 bigcat88

ubuntu$ sudo -u www-data printenv PATH /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin

nginx server username is nginx ubuntu$ sudo -u nginx ffmpeg ffmpeg version N-103105-gb9176dbfb7 Copyright (c) 2000-2021 the FFmpeg developers built with gcc 9 (Ubuntu 9.3.0-17ubuntu1~20.04) configuration: --prefix=/home/ubuntu/ffmpeg_build --pkg-config-flags=--static --extra-cflags=-I/home/ubuntu/ffmpeg_build/include --extra-ldflags=-L/home/ubuntu/ffmpeg_build/lib --extra-libs='-lpthread -lm' --ld=g++ --bindir=/home/ubuntu/bin --enable-gpl --enable-gnutls --enable-libaom --enable-libass --enable-libfdk-aac --enable-libfreetype --enable-libmp3lame --enable-libopus --enable-libsvtav1 --enable-libdav1d --enable-libvmaf --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libx265 --enable-nonfree libavutil 57. 3.100 / 57. 3.100 libavcodec 59. 3.102 / 59. 3.102 libavformat 59. 4.101 / 59. 4.101 libavdevice 59. 0.100 / 59. 0.100 libavfilter 8. 1.103 / 8. 1.103 libswscale 6. 0.100 / 6. 0.100 libswresample 4. 0.100 / 4. 0.100 libpostproc 56. 0.100 / 56. 0.100 Hyper fast Audio and Video encoder usage: ffmpeg [options] [[infile options] -i infile]... {[outfile options] outfile}...

Use -h to get full help or, even better, run 'man ffmpeg'

sergeng avatar Jan 27 '22 16:01 sergeng

@sergeng wow amazing output, is it it's version? --> N-103105-gb9176dbfb7

can you please run sudo -u nginx ffprobe -version

bigcat88 avatar Jan 27 '22 16:01 bigcat88

@sergeng you can make changes like in commit(with hands or just replace them from dev branch entirely) and say if it helps.

bigcat88 avatar Jan 27 '22 17:01 bigcat88

@bigcat88 working flawlessly after your commit! Best support ever 🥇

No Error message on configuration page, see: 2022-02-01_22-06-39

Video job running smoothly, see: 2022-02-01_22-07-07

sergeng avatar Feb 01 '22 13:02 sergeng