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.

City3d

Beginner

  • "City3d" started this thread

Posts: 10

Location: Romania

Occupation: Owner at City3d

  • Send private message

1

Thursday, April 23rd 2015, 12:24am

Video scene in VR

Hello guys,

I`m new on this forum. I`m reading posts when i need help but it`s the first time when i`m posting for help :)
I use krpano from more that 2 years but i never had advanced projects like this. I need to make a vr with video scens inside, something like this example

http://www.kolor.com/virtual-tours-files…x.html?s=pano35

Can anywone advise me how to do this? Kind of stept by step :D

Thank`s all!
www.city3d.ro
City3d
Your city online!

2

Tuesday, April 28th 2015, 5:47pm

Hi City3d

I'm going to try to help you.

First you shoot the panoramic view.

At the same position, you recorde the video.

Then into the panoramic view you anly have to had a Hotspot woth a video like this : http://krpano.com/plugins/videoplayer/

Feel free to zoom into the panortamic view, you will see the video on a square area.

Hope it help. ;-)

City3d

Beginner

  • "City3d" started this thread

Posts: 10

Location: Romania

Occupation: Owner at City3d

  • Send private message

3

Monday, May 18th 2015, 10:30pm

Thank`s for the info. The problem, untill that, is that i`m shooting all images with a fish eye lens and same for the video. How can i crop or mask or how can i hide the black areas from the fish eye video in order to overlap on the pano?
www.city3d.ro
City3d
Your city online!

mstoss

Intermediate

Posts: 296

Location: Berlin

  • Send private message

4

Tuesday, May 19th 2015, 12:22pm

Thank`s for the info. The problem, untill that, is that i`m shooting all images with a fish eye lens and same for the video. How can i crop or mask or how can i hide the black areas from the fish eye video in order to overlap on the pano?
Well, I do use the same lens for pano and video as well now.

My approach is, inspired by part of the discussion in this thread here:

Example/Tutorial - Extract a Distorted Hotspot from any kind of Pano Image (with perfect pixel alignment) You should read some posts there to get an idea.

Basically, I use ptgui and templates and batches to produce new frames out of the existing video:

1.Stitch your panoramic as usual
2. Export frames out of your video
3. Load one frame into your existing panorama and align. Resolution will differ, but that is no problem for ptgui.
4. Use this project as a template for batch exporting all the frames according to Klaus' perfect pixel alignment instructions Example/Tutorial - Extract a Distorted Hotspot from any kind of Pano Image (with perfect pixel alignment) By doing so, you will zoom in into the video zone only, don't worry about black areas outside the lens circle then.
5. Reassemble the frames to a video file.

(You can add a step to color match panorama and video if need be, there seem to be different ways to do that, I use a Photoshop action to batch the frames.)

Hope this is of some help

Michael

City3d

Beginner

  • "City3d" started this thread

Posts: 10

Location: Romania

Occupation: Owner at City3d

  • Send private message

5

Tuesday, May 19th 2015, 11:52pm

Thank`s for the reply *thumbsup* . I`ll try to do all of those stepts and hope that i will not have any "surprise" untill the end.
Thank`s again!
www.city3d.ro
City3d
Your city online!

City3d

Beginner

  • "City3d" started this thread

Posts: 10

Location: Romania

Occupation: Owner at City3d

  • Send private message

6

Wednesday, May 20th 2015, 2:05pm

Thank`s for the info. The problem, untill that, is that i`m shooting all images with a fish eye lens and same for the video. How can i crop or mask or how can i hide the black areas from the fish eye video in order to overlap on the pano?
Well, I do use the same lens for pano and video as well now.

My approach is, inspired by part of the discussion in this thread here:

Example/Tutorial - Extract a Distorted Hotspot from any kind of Pano Image (with perfect pixel alignment) You should read some posts there to get an idea.

Basically, I use ptgui and templates and batches to produce new frames out of the existing video:

1.Stitch your panoramic as usual
2. Export frames out of your video
3. Load one frame into your existing panorama and align. Resolution will differ, but that is no problem for ptgui.
4. Use this project as a template for batch exporting all the frames according to Klaus' perfect pixel alignment instructions Example/Tutorial - Extract a Distorted Hotspot from any kind of Pano Image (with perfect pixel alignment) By doing so, you will zoom in into the video zone only, don't worry about black areas outside the lens circle then.
5. Reassemble the frames to a video file.

(You can add a step to color match panorama and video if need be, there seem to be different ways to do that, I use a Photoshop action to batch the frames.)

Hope this is of some help

Michael
Mstoss.....you was very explicit but it`s the first time when i`m attempting to do that and on top of that, i`m a beginer :D
I have read a lot of posts but sincerly non of them was so helpfull. I`m stuck since from the start :(

I made my 6 shoots fisheye images (for the panoramic image) and in the same last position, i made the movie (with the same lens).
After that i have stitched those 6 images and got the panoramic image. With the video, i have broke it in frames (as you told) and for eg i`ve got 300 frames. Untill here was easy. But i don`t understand when you are saying that i`ll have to load one frame into existing panorama and align. From what i have read, some are saying that i have to import in ptgui only a frame from the video and crop it, than use batch builder with the template for all the frames. I don`t understand exactly this stepts.


Can you please help me again, kind of step by step :D


Appreciate your effort
www.city3d.ro
City3d
Your city online!

mstoss

Intermediate

Posts: 296

Location: Berlin

  • Send private message

7

Thursday, June 4th 2015, 1:36pm

With the video, i have broke it in frames (as you told) and for eg i`ve got 300 frames. Untill here was easy. But i don`t understand when you are saying that i`ll have to load one frame into existing panorama and align. From what i have read, some are saying that i have to import in ptgui only a frame from the video and crop it, than use batch builder with the template for all the frames. I don`t understand exactly this stepts.

Well, thats pretty much the same, I guess

You will need to:

1. align the video "frame image" in the same way you would with one of the regular fisheye images.
So load the 360° panoramic image in PTGUI first, then add the frame image. Since your camera is capturing images and videos with different dimensions, you will find, that the frame image is much smaller due to the limited video resolution. So in the lens settings tab check the "use individual lens parameters" for the frame image and roughly align it in the editor window. Then set your control points and optimize (only the frame image!). The frame image should fit the panoramic then.

2. export the frame-to-be out of the frame image.
In the panorama editor you can then zoom in to the desired video area, and export as tiff or jpg. Write down the parameters in the image parameters tab according to the perfect pixel alignment thread linked above. You could now replace the frame image no. 1 by no.2 and export again and repeat 300 times... You'll understand that it is much better to use the batch procedure offered by PTGUI for this purpose. So save the project and use as batch template for the rest of the frames (have a look at the ptgui help, if in doubt).

3. reassemble the video.
When all the frames are processed, you can build a movie file out of them again.

4. embed the video file
This is done analog to the perfect pixel alignment thread again, i.e. with the calc_pos_from_hfov_yaw_pitch_roll action call and the values which you wrote down in step 2

Hope this helps

Michael

8

Thursday, June 4th 2015, 3:33pm

before save the template,do i need to remove the other five image? *question*

mstoss

Intermediate

Posts: 296

Location: Berlin

  • Send private message

9

Thursday, June 4th 2015, 11:11pm

wowowo... stop it. You create your normal panoramic image. Then you start a new project from scratch, add the final single layer 360x180 panorama image to the project (ptgui will automatically recognise the right settings) and THEN you add the frame image. You will have only these two images in your project then!

Yours,
Michael

City3d

Beginner

  • "City3d" started this thread

Posts: 10

Location: Romania

Occupation: Owner at City3d

  • Send private message

10

Monday, June 8th 2015, 10:03am

With the video, i have broke it in frames (as you told) and for eg i`ve got 300 frames. Untill here was easy. But i don`t understand when you are saying that i`ll have to load one frame into existing panorama and align. From what i have read, some are saying that i have to import in ptgui only a frame from the video and crop it, than use batch builder with the template for all the frames. I don`t understand exactly this stepts.

Well, thats pretty much the same, I guess

You will need to:

1. align the video "frame image" in the same way you would with one of the regular fisheye images.
So load the 360° panoramic image in PTGUI first, then add the frame image. Since your camera is capturing images and videos with different dimensions, you will find, that the frame image is much smaller due to the limited video resolution. So in the lens settings tab check the "use individual lens parameters" for the frame image and roughly align it in the editor window. Then set your control points and optimize (only the frame image!). The frame image should fit the panoramic then.

2. export the frame-to-be out of the frame image.
In the panorama editor you can then zoom in to the desired video area, and export as tiff or jpg. Write down the parameters in the image parameters tab according to the perfect pixel alignment thread linked above. You could now replace the frame image no. 1 by no.2 and export again and repeat 300 times... You'll understand that it is much better to use the batch procedure offered by PTGUI for this purpose. So save the project and use as batch template for the rest of the frames (have a look at the ptgui help, if in doubt).

3. reassemble the video.
When all the frames are processed, you can build a movie file out of them again.

4. embed the video file
This is done analog to the perfect pixel alignment thread again, i.e. with the calc_pos_from_hfov_yaw_pitch_roll action call and the values which you wrote down in step 2

Hope this helps

Michael
Would not be more easyer if i`ll upload all 6 fisheye images in PTgui and stitch them for my clean pano and than (in the same ptgui project) add the first video frame picture (so i`ll have 7 images in ptgui)? The first frame image, i`ll allign it in my pano (with control points and mask if necessary) and once this is done, i`ll upload the 299 frames and link them to all values from my first frame. Since this will be done, when i`ll create pano, i`ll just export the layers only. The result will be 300images with my desiered extracted image + 6 images (that i`ll delete) from my clean pano.

I don`t know if in this way i`ll get the same result as you told me to, but i think is more easy to get.
I`m asking you this beacause something went wrong when i added in PTgui my pano image (got from those 6 fisheye images) and the first frame from the video. Ptgui has not recognized my 360x180 pano image and i was not able to sthict this pano image with the first frame. Maybe i did something wrong.
www.city3d.ro
City3d
Your city online!

mstoss

Intermediate

Posts: 296

Location: Berlin

  • Send private message

11

Wednesday, July 1st 2015, 12:39pm

Would not be more easyer if i`ll upload all 6 fisheye images in PTgui and stitch them for my clean pano and than (in the same ptgui project) add the first video frame picture (so i`ll have 7 images in ptgui)? The first frame image, i`ll allign it in my pano (with control points and mask if necessary) and once this is done, i`ll upload the 299 frames and link them to all values from my first frame. Since this will be done, when i`ll create pano, i`ll just export the layers only. The result will be 300images with my desiered extracted image + 6 images (that i`ll delete) from my clean pano.
Well, sounds like a reasonable approach as well. Did you try in the meantime? Either way, the problem sometimes is aligning the frame image to the proper pano images.

Michael

City3d

Beginner

  • "City3d" started this thread

Posts: 10

Location: Romania

Occupation: Owner at City3d

  • Send private message

12

Thursday, July 2nd 2015, 9:51am

yes, i have tried this method and as you said, it`s hard to allign correctly the pano but it was ok :)
where i still have problems, is after this step when i have to recompose the frames in to video. i don`t know why but in the final vr, the video hotspot it`s not playing. someone told me that the output video has an inappropriate dimension.....
www.city3d.ro
City3d
Your city online!

City3d

Beginner

  • "City3d" started this thread

Posts: 10

Location: Romania

Occupation: Owner at City3d

  • Send private message

13

Tuesday, July 7th 2015, 12:49am

If there is someone who know better this kind of technique to make a virtual tour with a video hotspot inside and who would want to make a tutorial for me, please pm and tell me the price.
I`m stuck and i have treid a lot of ways and i`m more than sure that i`m not making something correct *cursing*
So if someone what to make a tutorial for me, please let me know
www.city3d.ro
City3d
Your city online!

mstoss

Intermediate

Posts: 296

Location: Berlin

  • Send private message

14

Friday, July 24th 2015, 9:57am

yes, i have tried this method and as you said, it`s hard to allign correctly the pano but it was ok :)
where i still have problems, is after this step when i have to recompose the frames in to video. i don`t know why but in the final vr, the video hotspot it`s not playing. someone told me that the output video has an inappropriate dimension.....
How do you recompose your video? What software do you use? I do use After Effects, which you can buy a license for at a monthly rate, so you only have to pay while using it for a specific project. Some might say AE is overkill, but I tried several other free or low cost programs and it was a waste of time.

Yours,
Michael

freezyh

Beginner

Posts: 15

Location: China

Occupation: study

  • Send private message

15

Monday, August 24th 2015, 3:39am

Hello guys,

I`m new on this forum. I`m reading posts when i need help but it`s the first time when i`m posting for help :)
I use krpano from more that 2 years but i never had advanced projects like this. I need to make a vr with video scens inside, something like this example

Hello guys,

I`m new on this forum. I`m reading posts when i need help but it`s the first time when i`m posting for help :)
I use krpano from more that 2 years but i never had advanced projects like this. I need to make a vr with video scens inside, something like this example

http://www.kolor.com/virtual-tours-files/20130626-kolor-panoramic-restaurant/index.html?s=pano35

Can anywone advise me how to do this? Kind of stept by step :D

Thank`s all!
Hi,I'm lucky to see your post,I want to learn this also, if you have solve it ,can you tell me how to do it,thank you very much,my email:2294963715@qq.com *smile* *smile*

This post has been edited 1 times, last edit by "freezyh" (Aug 24th 2015, 4:14am)


City3d

Beginner

  • "City3d" started this thread

Posts: 10

Location: Romania

Occupation: Owner at City3d

  • Send private message

16

Monday, August 24th 2015, 11:00pm

Hello,

Sorry but still i jave not managed to resolve this project. I still need an example. The easiest way would be a complete example step by step. First time it's hard :(
www.city3d.ro
City3d
Your city online!