Greetings,
Where does VideoJS (Version 2.9.b) expect programs like ffmpeg to be installed? Ffmpeg and the other required programs are installed at the paths shown below. When I go into the Synchronization Tab in VideoJS, it shows these programs as missing. How do I resolve this?
FROM MY WEB HOST:
ffmpeg has installed under /home/hmc/ffmpeg
==
[hmc@webhosting2025 ffmpeg]$ pwd
/home/hmc/ffmpeg
[hmc@webhosting2025 ffmpeg]$ ll
total 78536
-rwxr-xr-x 1 hmc hmc 4278515 Mar 15 2016 faac
-rwxr-xr-x 1 hmc hmc 42544288 Jan 24 2016 ffmpeg
-rwxr-xr-x 1 hmc hmc 37 Jan 24 2016 flvtool2
-rwxr-xr-x 1 hmc hmc 2007009 Mar 10 2016 lame
-rwxr-xr-x 1 hmc hmc 8338061 Jan 24 2016 mediainfo
-rwxr-xr-x 1 hmc hmc 3445354 Jan 24 2016 MP4Box
-rwxr-xr-x 1 hmc hmc 19792032 Jan 26 2016 mplayer
Piwigo 2.10.2
PHP: 7.1.33 [2020-05-28 12:05:07]
MySQL: 5.5.5-10.1.44-MariaDB-cll-lve [2020-05-28 08:05:07]
Offline
installation is covered in the plugin documentation.
Offline
VideoJS documentation states:
Custom binary path now need to set manually into the local config file local/config/config.inc.php.
$conf['vjs_mediainfo_dir'] = '';
$conf['ffmpeg_dir'] = '';
My host says path is
/home/hmc/ffmpeg/ffmpeg
/home/hmc/ffmpeg/mediainfo
I use LocalFiles Editor to edit config.inc.php as below. VideoJS still says path not valid.
$conf['vjs_mediainfo_dir'] = '/home/hmc/ffmpeg/mediainfo';
$conf['ffmpeg_dir'] = '/home/hmc/ffmpeg/ffmpeg';
Offline
try putting the tools in your piwigo directory
Offline
I copied the installation from the home directory to the piwigo directory. The VideoJS Sycnronize tab still shows the paths as not valid.
Offline
As the config variables say ..._dir I'd assume it's supposed to be a directory, not a full path of the executable, so this (untested) might work:
$conf['vjs_mediainfo_dir'] = '/home/hmc/ffmpeg'; $conf['ffmpeg_dir'] = '/home/hmc/ffmpeg';
Offline
Thanks. Moving the ffmpeg to the Piwigo directory, or setting the path in local config file to the directory level It did not work, either. Maybe it is a version compatibility issue?
My host says they have done their part, and have offered as much support as they are able. I wanted ffmpeg for video poster creation. For now, I am just creating the posters for videos manually. My site has very few videos, so it is not a hardship to rely on manual poster creation. I am going to drop the issue for now, and reexamine it at a later time with a fresh eye. Sometimes just walking away and coming back later helps get things sorted out. Thanks for the suggestions.
Offline