I'm not sure that you'd have to do ANY actual editing. You might just be able to have it so that when you chose a button for 2D to 3D mode, it pads the video space and then displays it accordingly, Basically, you would just be popping the video into a black window frame, and then the play can just play the video as if the black frame is part of the picture. So, for example, something that is 1920x1080, you just to convert it to 1920x3414 using the formula I listed above. So you just need to pad it by 1167 pixels on the top and bottom. And then the button also needs to be set to display 180 degrees monoscopic spherical.