You are not logged in.

Dear visitor, welcome to krpano.com Forum. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

1

Wednesday, October 17th 2018, 5:55pm

How to make 360 video tour

Hello,

Can anyone help me to get started with virtual tours with 360 video content?

I'm not complete new to the software and know the basics of how to create a virtualtour with 360 panorama's.
I want to experiment with 360 stereoscopic video's.

I dont know how to get the 360 video's into the tour because there is no droplet for video.
Any help will be awesome. *smile*


Cheers, Kelvin

Tuur

Sage

Posts: 3,071

Location: Netherlands

Occupation: Krpano custom coding / Virtual Tours / Photography / Musician / Recording engineer

  • Send private message

2

Thursday, October 18th 2018, 2:24pm

Hi,

it is actually quite simple to do.

Just use a 'scene' for every video.
The video formats you need depend on the resolution(s) you want to offer.

Let's say we do only 2k.
Then i would put for every video the following files:
- mp4
- webm
- poster.jpg

audio
mp3
ogg

To switch scene's i have an little script that works like this

code for your scenes

Source code

1
2
3
4
5
6
<scene name="scene_1" title="ski"  onstart="" >
	<view hlookat="0" vlookat="0" fov="90" fovmin="60" fovmax="110" limitview="on" />
		<image>
		  <sphere url="plugin:video" />
    </image>
</scene>


code to switch video in the new scene (desktop version)

Source code

1
2
3
4
<action name="ChangeVideoScene" devices="desktop"> 
		set(plugin[video].posterurl, calc:'video/%1-2k-poster.jpg');
		plugin[video].playvideo(video/%1-2k.mp4|video/%1-2k.webm|video/%1.mp3);
</action>


You can see my video's are in the video folder.

and

Source code

1
<events name="vidchange" keep="true" onnewscene="ChangeVideoScene(get(scene[get(xml.scene)].title));" />


so my video's are named like:
ski-2k.mp4 etc..
(because the %1 will be filled-inn with the scene title this way.

Now you only need a button or a hotspot, or so, to load the next scene.

Hope this helps,
Tuur *thumbsup*
http://www.virtualtuur.com
Skype:studiotuur