Open dkilshtein opened 10 years ago
Hello,
Thanks for reporting. getid3 is use to read Height and Width from the video file directly at runtime. Could you please provide a video sample to reproduce the issue? Do you see all video details correctly using the photo-edit page? https://github.com/xbgmsharp/piwigo-videojs/wiki#photo-edit The photo-edit page does not use get_id3 at runtime.
I get the same error when going to a video asset in my library. But I only see "Warning: strpos(): Offset not contained in string in /srv/web/medialibrary/piwigo/include/functions_url.inc.php on line 765"
I do not see the rest of what dkilshtein sees....
When I go to the photo-edit page, i get this error:
Fatal error: Uncaught exception 'Exception' with message 'String could not be parsed as XML' in /srv/web/medialibrary/piwigo/plugins/piwigo-videojs/include/mediainfo.php:32 Stack trace: #0 /srv/web/medialibrary/piwigo/plugins/piwigo-videojs/include/mediainfo.php(32): SimpleXMLElement->__construct('') #1 /srv/web/medialibrary/piwigo/plugins/piwigo-videojs/admin/admin_photo.php(71): include_once('/srv/web/medial...') #2 /srv/web/medialibrary/piwigo/admin/plugin.php(56): include_once('/srv/web/medial...') #3 /srv/web/medialibrary/piwigo/admin.php(289): include('/srv/web/medial...') #4 {main} thrown in /srv/web/medialibrary/piwigo/plugins/piwigo-videojs/include/mediainfo.php on line 32
I can provide a video, but how do I share it? the video I want to share is 20MB and this box only allows up to 10MB
I see that I had to install mediainfo... so, I installed mediainfo, restarted apache2 (on ubuntu) and I see the media information just fine:
bitrate: 1087 Kbps channel: 2 date_creation: 2014-01-18T21:21:20-0500 display_aspect_ratio: 1.778 duration: 8s 217ms filename: IMG_0765.proxy filesize: 1.16 MiB format: MPEG-4 frame_rate: 120.000 height: 270 name: ./galleries/media_library/Bowling/IMG_0765.proxy.mp4 playtime_seconds: 8 rotation: 1 sampling_rate: 44.1 KHz type: video/mp4 width: 480 Synchronize metadata Poster: Videos source: 1 source src="/galleries/media_library/Bowling/IMG_0765.proxy.mp4" type="mp4" Thumbnails: 0
But I still get the error message up top stating:
Warning: strpos(): Offset not contained in string in /srv/web/medialibrary/piwigo/include/functions_url.inc.php on line 765
Nevermind, i figured out the problem, after installing quicktime (for an unrelated procedure) the page comes up fine. please ignore previous posts. thank you. works great. would be good if we could add our own thumbnails
@Baconite Why do you need quicktime to be install? Unless your video was not a valid H264 to be play in VideoJS Also you can add our own thumbnails, https://github.com/xbgmsharp/piwigo-videojs/wiki#manualy-add-video-and-poster
actually, i was wrong. it works perfectly fine in Internet Explorer, but the error comes up when i view the video asset in chrome...
thanks for the thumbnail link! i guess i don't know how to research! :)
in #23 @oraguirre had a very similar issue, it was fix by correcteyl setting the file attributes owner/group of the pwg_representative folder. Maybe you could check with the following command if it is the case with a
cd /path/to/your/webgallery/
chmod -R 777 *
Commit f9ad988 remove the GetID3 dependency and therfore the error you are having. Could you please test all is fine prior to release.
Could please test and feedback prior to release. http://piwigo.org/forum/viewtopic.php?id=24500
i followed the setup guide and i can see my video file (mp4) within piwigo gallery. when i click on it, it will not play and i see an error message on a top of an empty page:
Warning: strpos(): Offset not contained in string in /var/www/piwigo/include/functions_url.inc.php on line 765 Fatal error: Cannot redeclare class getid3_exception in /var/www/piwigo/plugins/piwigo-jplayer/include/getid3/getid3.php on line 1776
is there anything to do with it?