Pano2VR - Video
From Garden Gnome Software
Since Pano2VR 2.0 beta4 it is possible to play back panoramic video within a Flash 9 panorama. The video simple replaces the images so all normal panorama functions like view limits, auto rotation, hotspots, skins etc. work as in a normal panorama.
To create the video you need to do the following steps:
- extract all frames of the video as single images (if you don't have them already as single images). The images must be in a format that Pano2VR understands, for example equirectangular images.
- Convert those images with Pano2VR beta4 into the "3x2 (special)" format (in the thumbnail output section). This format puts the cube faces in a 3x2 array. The width parameter is the total width of all 3 tiles so tile size is only a third of the width. The maximum width for Flash is 2880 pixels. The tiles size should be dividable by 16 to avoid macroblocks over the border of disjoint cubefaces (for example bottom and top in the second row)
- Import those images into a video file (for example with QuickTime pro) and encode the video into a Flash video format
- Feed the video into the Pano2VR Flash player with HTML code
Here is a short example for the HTML code:
<script language="javascript" src="p2q_embed_object.js"></script> <script language="javascript"> <!-- function htmlEncode(s) { var str = new String(s); str = str.replace(/&/g, "&"); str = str.replace(/</g, "<"); str = str.replace(/>/g, ">"); str = str.replace(/"/g, """); return str; } var flashvars,video; video='<video url="video.flv"/>'; flashvars="video=" + htmlEncode(video); p2q_EmbedFlash('test.swf','570','350','allowFullScreen','true','FlashVars',flashvars); //--> </script>
You can downloaded the required p2q_embed_object.js from here


