Announcement

  •  » Extensions
  •  » VideoJS Program Dependencies Path Question

#1 2020-05-28 14:09:46

kc27
Member
2014-02-25
77

VideoJS Program Dependencies Path Question

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

 

#2 2020-05-28 19:42:36

executive
Member
2017-08-16
1214

Re: VideoJS Program Dependencies Path Question

installation is covered in the plugin documentation.

Offline

 

#3 2020-05-29 15:07:02

kc27
Member
2014-02-25
77

Re: VideoJS Program Dependencies Path Question

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

 

#4 2020-05-29 21:44:10

executive
Member
2017-08-16
1214

Re: VideoJS Program Dependencies Path Question

try putting the tools in your piwigo directory

Offline

 

#5 2020-06-01 05:43:28

kc27
Member
2014-02-25
77

Re: VideoJS Program Dependencies Path Question

I copied the installation from the home directory to the piwigo directory. The VideoJS Sycnronize tab still shows the paths as not valid.

Offline

 

#6 2020-06-01 23:57:54

erAck
Only trying to help
2015-09-06
2023

Re: VideoJS Program Dependencies Path Question

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:

Code:

$conf['vjs_mediainfo_dir'] = '/home/hmc/ffmpeg';
$conf['ffmpeg_dir'] = '/home/hmc/ffmpeg';

Running Piwigo at https://erack.net/gallery/

Offline

 

#7 2020-06-04 13:47:38

kc27
Member
2014-02-25
77

Re: VideoJS Program Dependencies Path Question

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

 
  •  » Extensions
  •  » VideoJS Program Dependencies Path Question

Board footer

Powered by FluxBB

github twitter newsletter Donate Piwigo.org © 2002-2024 · Contact