Hi,
One of my client wants the same result as a krpano panorama but with a vidéo (panorama with rotation, hotspots, script, ...).
It seems that there is no convenient solution to export a panorama to a high quality vidéo (fullscreen, good fps).
I think I have found a solution but I don't know if it can be used with krpano or not.
An actionscript code is given here : http://stackoverflow.com/questions/8403…-flash-as-jpegs
Code
var fileReference:FileReference = new FileReference();
// Capture the BitmapData of the stage for example
var captureMovieClip:DisplayObjectContainer = stage;
var stage_snapshot:BitmapData = new BitmapData(captureMovieClip.width, captureMovieClip.height);
stage_snapshot.draw(captureMovieClip);
// Setup the JPGEncoder, run the algorithm on the BitmapData, and retrieve the ByteArray
var encoded_jpg:JPGEncoder = new JPGEncoder(100);
var jpg_binary:ByteArray = encoded_jpg.encode(stage_snapshot);
// save
fileReference.save(jpg_binary, "screenshot.jpg");
Alles anzeigen
Can anyone tell me if this code can be used to create a plugin or something else to export screenshots in order to create a vidéo (with virtualdub for example).
If yes, is it possible to intercept tweening event in krpano ?
Thank you
A.L.