Greetings,
I'm building a guided interactive tour using Krpano, that will be viewed locally on a bunch of Meta Quest 2s each running their own local web server, and I'm encountering a few issues with the video plugin.
To give some context, my tour will consists of several "passive" fragments, where the user is immersed in a long panoramic 360° 3D video, and a few choice fragments that will be either short 360° 3D loops or a panoramic photo.
For anything to look good on the headset, We decided to use 5248x5248, H265 encoded Top/Bottom 360 videos (that should be about the maximium supported format of the VR headset) that are several minutes long, and thus average to little less than 20MB per second of video.
Now, my issue lies with the video player loading more or less the entire video before it starts showing it. This makes the initial load time for each panovideo quite long even locally, with the headset freezing for several seconds before showing the panorama and eventually breaking (the panorama gets stuck on the last frame of the previous video, and never navigates to the next one).
Additionally, the videos are too large for the browser to cache them, so the problem repeats on successive views.
I'm taking a look to the AHLS plugin , but before going on the additional spending route, I'd like to know if there's something else I could do to mitigate the issue. I tried playing around with the preload="true" on the video plugin and put that on the initial frame (that consists of a static panorama image), but while that might work for a demo with two videos, I doubt the device will have sufficient memory to keep all the videos loaded.
So, is there any way to have Krpano "stream" the video without loading it entirely, other than the aforementioned plugin?
Since the web page is hosted locally, i'd be more than fine with something like 'disabling the videoplugin buffer', but the only reference I found for something like it was about the now defunct flash support.
I've attached the tour.xml file in case it could be of any use. The demo mimics what should be in the final product:
- you're placed in a static 360 panorama
- you navigate to the first panovideo scene
- after the first video ends, you're moved to the second panovideo scene