Sie sind nicht angemeldet.

Lieber Besucher, herzlich willkommen bei: krpano.com Forum. Falls dies Ihr erster Besuch auf dieser Seite ist, lesen Sie sich bitte die Hilfe durch. Dort wird Ihnen die Bedienung dieser Seite näher erläutert. Darüber hinaus sollten Sie sich registrieren, um alle Funktionen dieser Seite nutzen zu können. Benutzen Sie das Registrierungsformular, um sich zu registrieren oder informieren Sie sich ausführlich über den Registrierungsvorgang. Falls Sie sich bereits zu einem früheren Zeitpunkt registriert haben, können Sie sich hier anmelden.

1

Dienstag, 10. Oktober 2023, 17:51

Multiple video scenes VR mode

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

Dieser Beitrag wurde bereits 1 mal editiert, zuletzt von »saideadev« (11. Oktober 2023, 14:45)


2

Montag, 16. Oktober 2023, 16:58

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