#16 2021-01-16 16:05:45

piwigodcp
Member
2021-01-16
1

Re: Video JS Warnings and Notice

I moved my system and as I was troubleshooting little issues I kept searching and finding this post. The issues presented here are primarily caused by selinux not allowing the httpd process access to the executables. The following links helped me with correcting my system.

https://serverfault.com/questions/76032 … in-usr-bin

https://www.digitalocean.com/community/ … ual-hosts-(recommended)

https://access.redhat.com/documentation … ng_denials

the bad dates with mediainfo immediately went away.

errors about not being able to find ffmpeg and don't forget ffprobe and ffplay

then exiftool

Offline

 

#17 2022-05-27 18:35:04

DarkDvr
Member
2022-05-27
1

Re: Video JS Warnings and Notice

I've had the same issues, and here's how I was able to solve it (no errors, everything seems to be working fine so far):

(mind you, I'm still new to Piwigo, so could be a better way)
1. Installed the VideoJS plugin through Piwigo admin panel
2. Deactivated the videojs plugin.
3. Downloaded the videojs 2.8b release from the github.
4. replaced 2 files (and copied permissions) in the plugin directory with those from the downloaded release, example (change your directory paths as needed):

Code:

sudo cd /var/www/html/piwigo/plugins/piwigo-videojs/admin
sudo mv admin_sync.php admin_sync.php.BK
sudo cp /mnt/e/downloads/piwigo-videojs-2.8.b/admin/admin_sync.php .
sudo chown --reference=admin_sync.php.BK admin_sync.php
sudo chmod --reference=admin_sync.php.BK admin_sync.php

cd /var/www/html/piwigo/plugins/piwigo-videojs/include
sudo mv function_dependencies.php function_dependencies.php.BK
sudo cp /mnt/e/downloads/piwigo-videojs-2.8.b/include/function_dependencies.php .
sudo chmod --reference=function_dependencies.php.BK function_dependencies.php
sudo chown --reference=function_dependencies.php.BK function_dependencies.php

So basically I've backed up the 2 error-prone 2.9b files and replaced them with those from 2.8b. No idea what are the differences, but errors are gone. So far syncs in VideoJS and Batch Manager work with no errors. I'll see if I get hidden errors along the line somewhere.

Oh, and don't forget to re-enable the videojs plugin from the piwigo admin panel.

Offline

 

#18 2024-10-20 21:21:03

osaris
Member
2024-10-20
1

Re: Video JS Warnings and Notice

HI i am new to piwigo.
installed 14.5.0 via docker https://docs.linuxserver.io/images/dock … ng-locally and tried using the video js plugin which failed horribly due to php version issues.
Then installed the plugin per https://github.com/Piwigo/piwigo-videojs and get the following error

Code:

Poster and Thumbnail creation disable because FFmpeg is not installed on the system, eg: '/usr/bin/ffmpeg'.

Code:

root@piwigo:/# /usr/bin/ffmpeg -version
ffmpeg version 6.1.1 Copyright (c) 2000-2023 the FFmpeg developers
built with gcc 13.2.1 (Alpine 13.2.1_git20240309) 20240309
configuration: --prefix=/usr --disable-librtmp --disable-lzma --disable-static --disable-stripping --enable-avfilter --enable-gpl --enable-ladspa --enable-libaom --enable-libass --enable-libbluray --enable-libdav1d --enable-libdrm --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libharfbuzz --enable-libmp3lame --enable-libopenmpt --enable-libopus --enable-libplacebo --enable-libpulse --enable-librav1e --enable-librist --enable-libsoxr --enable-libsrt --enable-libssh --enable-libtheora --enable-libv4l2 --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxcb --enable-libxml2 --enable-libxvid --enable-libzimg --enable-libzmq --enable-lto=auto --enable-lv2 --enable-openssl --enable-pic --enable-postproc --enable-pthreads --enable-shared --enable-vaapi --enable-vdpau --enable-version3 --enable-vulkan --optflags=-O3 --enable-libjxl --enable-libsvtav1 --enable-libvpl
libavutil      58. 29.100 / 58. 29.100
libavcodec     60. 31.102 / 60. 31.102
libavformat    60. 16.100 / 60. 16.100
libavdevice    60.  3.100 / 60.  3.100
libavfilter     9. 12.100 /  9. 12.100
libswscale      7.  5.100 /  7.  5.100
libswresample   4. 12.100 /  4. 12.100
libpostproc    57.  3.100 / 57.  3.100

Code:

root@piwigo:/# php --version
PHP 8.3.12 (cli) (built: Sep 27 2024 09:34:43) (NTS)
Copyright (c) The PHP Group
Zend Engine v4.3.12, Copyright (c) Zend Technologies

I do see a warning that the plugin is not supported by my current version which i assume is normal as its not installed via the built in plugin download thingy.

I would very much like to get video playback to work and moved from Photoprism to piwigo.

any help will be appreciated!

thanks

Offline

 

Board footer

Powered by FluxBB

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