•  » Extensions
  •  » VideoJS - problems with spaces and such in path names

#1 2014-08-18 02:36:03

SnotRocket
Member
2014-08-15
63

VideoJS - problems with spaces and such in path names

Hello/Hi/Greetings,

Working my way into Piwigo from Gallery3 and tracking down my last few major issues.

I've installed the VideoJS and am working on importing current videos.

When I run the import, I get various poster errors.

An example:

Error poster running ffmpeg, try it manually:
ffmpeg -itsoffset -4 -i ./galleries/Lillian/2nd Birthday/M2U00339.mp4 -vcodec mjpeg -vframes 1 -an -f rawvideo -y ./galleries/Lillian/2nd Birthday/pwg_representative/M2U00339.jpg

I did run this at the command prompt, and it does indeed fail.

After playing with the command and path names, this finally worked:

ffmpeg -itsoffset -4 -i /var/www/2000transam.com/gallery/galleries/Lillian/2nd\ \Birthday/M2U00339.mp4 -vcodec mjpeg -vframes 1 -an -f rawvideo -y /var/www/2000transam.com/gallery/galleries/Lillian/2nd\ \Birthday/pwg_representative/M2U00339.jpg


Is there a way that I can modify the VideoJS module to reflect the proper path names, both full path as well as with spaces?

Images that are generated aren't showing, and my video's aren't playing (with directories with spaces in them)

I'm happy to help test if someone can mod the script for me.

Piwigo version
Piwigo 2.6.3

Environment
Operating system: Linux
PHP: 5.5.9-1ubuntu4.3 (Show info) [2014-08-17 19:34:59]
MySQL: 5.5.38-0ubuntu0.14.04.1 [2014-08-17 19:34:59]
Graphics Library: External ImageMagick 6.7.7-10

Database
62788 photos (first photo added on Wednesday 10 May 2006)
687 albums including 681 physical and 6 virtual (62489 associations)
108 tags (9355 associations)
2 users
0 groups
no rate

Last edited by SnotRocket (2014-08-18 02:50:15)

Offline

 

#2 2014-08-23 01:38:57

xbgmsharp
Member
1970-01-01
215

Re: VideoJS - problems with spaces and such in path names

Hello,

This is know limitation as the documentation refer to not use space in video name neither folder
It has been fixed on the main stream source code available on GitHub.
However it is not release yet as I wish to include new feature like responsive design.

You have 3 options:
1- Wait for the next release, hopefully by October/November
2- Use the latest dev version so you can report on the new feature https://github.com/xbgmsharp/piwigo-vid … stallation
3- Apply the fix to your instance, [Github] piwigo-videojs issue #16 [Github] piwigo-videojs commit 3f773a96


Thanks

Offline

 
  •  » Extensions
  •  » VideoJS - problems with spaces and such in path names

Board footer

Powered by FluxBB