Piwigo / piwigo-videojs

Videojs port for piwigo. Play your videos on your web gallery!
http://piwigo.org/ext/extension_view.php?eid=610
GNU General Public License v3.0
62 stars 44 forks source link

videojs plugin errors #185

Open Phil353556 opened 2 years ago

Phil353556 commented 2 years ago

Hi, I looked via search engines and found several similar issues, however no solution shared. Note : All these four tools are installed, I also indicated the version of each: -MediaInfo (MediaInfoLib - v20.09) -ffprobe (ffprobe version 4.3.4-0+deb11u1+rpt1 Copyright (c) 2007-2021 the FFmpeg developers built with gcc 10 (Raspbian 10.2.1-6+rpi1) -ffmpeg (ffmpeg version 4.3.4-0+deb11u1+rpt1 Copyright (c) 2000-2021 the FFmpeg developers built with gcc 10 (Raspbian 10.2.1-6+rpi1) -exiftool (12.16)

Case1 : plugins then tab "synchronize" see screenshot "videojs case1"

Case2 : photos > batchmode > edit a photo which a mp4 in fact. Three tabs "Properties", "videojs", "Rotate" I choose "videojs" see screenshot "videojs case2a" I ran manually as written, it works perfectly, see screenshot "videojs case2b"

Thank you for your help Phil

Piwigo is running on Raspberry Pi 4 Model B Rev 1.4 with 8Go of memory Piwigo: 12.2.0 OS: Linux PHP: 7.4.28 MySQL: 5.5.5-10.5.15-MariaDB-0+deb11u1 [2022-05-30 14:55:33] Graphics library: External ImageMagick 6.9.11-60 videojs_case2b videojs_case2a videojs_case1

cvarga commented 2 years ago

There is an array issue. Try to update your vjs config Eg: UPDATE config SET value="a:0:{}" WHERE param="vjs_sync"

if you added a prefix (piwigo) it would be something like UPDATE piwigo_config SET value="a:0:{}" WHERE param="vjs_sync"

Hope this helps

Phil353556 commented 1 year ago

Hi @cvarga, I apologize for delay. My fault. Thank you for your help, however: -I didn't found what you wrote. find . -name 'video.js' -exec grep vjs_sync {} \; result is nothing :-(

  find . -name 'video.js'                           
./piwigo-videojs/video-js-6/video.js 
./piwigo-videojs/video-js-7/video.js
./piwigo-videojs/video-js-5/video.js
./piwigo-videojs/video-js-4/video.js

Thank you