Page 1 of 1

how to insert aligned video into a panorama

Posted: Sun Oct 06, 2013 4:24 am
by JimWatters
I created a screen cast to show how to insert video into a panorama and have that video be aligned.
http://youtu.be/4hf7U1OH3GQ

Using PTGui, VideoStitch, Premiere, and Pano2VR

Steps:
Shoot and stitch a panorama
Shoot a video at the same time. For simplicity use the same lens. Can use a slightly longer. Because most cameras can capture stills at a much higher resolution than video.
Add video to VideoStitch.
VideoStitch: New Calibration -> Launches PTGui
PTGui: Add Pano, new lens, set lens distortion to 0
PTGui: Add Control points, optimize.
PTGui: Set out put to recliner, Adjust View, Use Numeric Transform to point of view, remember offset, and Field of View used.
PTGui: set size to a factor of 4
PTGui: save.
VideoStitch: Apply Calibration
VideoStitch: Render
Pano2VR: Media | Modify | Double click to add
Pano2VR: set FoV, save and close
In text editor modify the Pan and tilt values to match the values used to offset pano to center video. Save.
Pano2VR: reopen project, Export pano.

Re: how to insert aligned video into a panorama

Posted: Sun Oct 06, 2013 5:08 am
by JimWatters
The posted pano with the video inserted. The video of the animation of the clock is almost 12 minutes long.

http://photocreations.ca/messina/messin ... tower.html

Re: how to insert aligned video into a panorama

Posted: Sun Oct 06, 2013 3:55 pm
by jobes
Great proof of concept, Jim… nice work. I've not used Video Stitcher before, that's a good idea. I'll have to try out this workflow.

Your output doesn't seem to work it HTML5 (yet)… wonder if it's a memory issue with such a long video clip?

Re: how to insert aligned video into a panorama

Posted: Sun Oct 06, 2013 4:47 pm
by JimWatters
HTML5 worked on my PC. On a mobile device it is a lot to handle.
Just tested; Android Browser and Flash worked, but Chrome failed to play the video.
All the tiles for the multiresolution Flash version is less than 10MB
The cropped and heavily compressed video is 53MB. Probably could be compressed a lot more. The raw file out of camera was 1659MB.
The video is also mp4 which I don't think mobile Chrome likes.
I don't have an iOS device to test on.
This project has uncovered some minor issues that I'll make sure are in the bug tracker if not already there.