Install:
Suppose that the piwigo have been installed at the dir of
PIWIGO_DIR=/opt/local/data/www/gallery,
wget -O piwigo-videojs.zip https://github.com/xbgmsharp/piwigo-videojs/archive/master.zip
unzip piwigo-videojs.zip
sudo mv piwigo-videojs-master ${PIWIGO_DIR}/piwigo-videojs
sudo chown ${PHP_USER} -R ${PIWIGO_DIR}/piwigo-videojs
sudo chgrp ${PHP_GROUP} -R ${PIWIGO_DIR}/piwigo-videojs
Customize bin path
Suppose that ffmpeg,mediainfo,exiftool,ffprobe have been installed at /opt/local/bin/
Add the following line into the file of ${PIWIGO_DIR}/include/config_default.inc.php
$conf['vjs_mediainfo_dir']='/opt/local/bin/';
$conf['vjs_exiftool_dir']='/opt/local/bin/';
$conf['vjs_ffprobe_dir']='/opt/local/bin/';
$conf['ffmpeg_dir']='/opt/local/bin/';
Update media info of your video
Go to the admin page of your gallery,
Select the album with video ,
Edit the album,
Manager the image of the album
Select video file
Launch the videos batch operation