Posts by saideadev

    I retried the single plugin for every scene and got it working (all videos have now share the same FOV). It still requires me to write the terrible panoscript code with all the switches for loading the appropriate video for the appropriate scene, but it's better than nothing.
    This issue with the multiple instances of the video plugin however breaks a few of my scenes where I was supposed to have multiple video hotspots overlayed to the panoramic video.

    However, for my usecase that should be "fixable" simply by having the video that would've acted as a hotspot directly into the panorama video, and the actual hotspot will simply be a transparent selector

    Greetings,

    I'm working on a multi-scene tour that includes several videopano based scenes, together with a couple of static 360 images.

    I've done some testing on my laptop running the tour locally in "2D" mode and it worked, so I decided to give it a try on the VR headset (I'm using an Oculus Quest 2) and my issues begun.

    The tour loads an initial static panorama, from where the user can then navigate into the first panovideo, which is set up to loop continuously, and presents three choices (three hotspots). Each hotspot navigates to a new scene where the video plugin is configured to automatically return to the looping scene once the video has been played.

    What happens though is that the initial navigation from static to panovideo works, and once I click one of the hotspots in the video scene, the video fades to black and I get stuck there. Exiting immersive mode shows that video plugin loaded the video but could not render it for some reason (no console error).

    Looking around the forums for solutions/suggestions, I tried the following:

    • One video plugin per scene, each with its own configuration, and used as the scene's panorama. This was my initial setup and resulted in the error "video corrupted or codec error" in the yellow krpano console upon returning from a non loopable video.
    • One video plugin for the entire tour, with a panoscript event that loads the appropriate video according to the scene being loaded. This was a result of what was asked here but it still did not work and had the side offect of resulting in me having to write terrible panoscript actions to load the appropriate videos
    • Two video plugins for the entire tour (one for the loopy video, one for the ones that should return). This also did not work, resulting in the same issue I have with the single plugin.


    Any ideas on what might be causing the issue? If played singularly, each video works as a panorama, so it's not a media compatibility issue.


    EDIT: upon further testing, the issue seems to only appear if my scenes are switching HFOV, as the main panorama is a 360 video, and the others are 180 videos. Switching back and forth between the two appears to be braking something

    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