The only parameter I know is to use panostart (which is part of hugin) from any server language you use.
See here for more information and other command line tools that make parts of the process more specific.
panostart just works with images, so obviously, if you want it to work with video, you need to process the video with something like that ffmpeg -i z.mov -f image2 export2\%d.pngto generate the images transferred to panostart.
Another more demanding alternative is to write something that uses libpano13 and libffmpeg directly.
source
share