r/StableDiffusion • u/Jerg • 4d ago
Workflow Included Turn 2D videos into 3D stereoscopic videos, via SHARP Gaussian Splatting
Forked off of the SHARP Gaussian Stereo Preview feature by @aromatic-Somewhere29 because I was impressed with the quality of the stereoscopy with the still images and wanted to leverage this and actually convert whole videos: https://www.reddit.com/r/StableDiffusion/comments/1y64yol/view_images_in_stereoscopic_3d_directly_in/
Here is the GitHub repo: https://github.com/jerg-git/ComfyUI-SHARP-VR-Video
You can also find it in comfyui custom nodes (search sharp VR video).
Sample workflow (needs VHS video suite too): https://github.com/jerg-git/ComfyUI-SHARP-VR-Video/blob/main/workflow/sharp-vr-video-batch-audio-sample.json
KEY FUNCTIONALITIES AS OF V0.1.5:
- Virtual camera controls — Adjust inward dolly, horizontal orbit and vertical orbit to reframe the reconstructed 3D scene.
- Camera animations — Independently animate all three camera axes using multiple motion patterns, smooth ease-in/out transitions and precise target values.
- Long-video support — VHS Meta Batch integration significantly reduces peak RAM usage by processing videos in manageable chunks.
- Continuous animation across batches — Camera motion spans the entire video rather than restarting with each chunk.
- Automatic queue protection — Built-in QuietNoise Queue Manager compatibility prevents recognized Meta Batch continuations from being interrupted by prefetched jobs.
- Automatic audio passthrough — Preserves source audio, respects video trimming and handles silent videos without requiring manual audio connections.
- Automatic FPS passthrough — Preserves source or selected playback frame rate without manual configuration.
- Flexible video sourcing — Supports VHS Upload and Path loaders, Impact Switch source selection and external text-based file paths.
- Cross-eyed / Freeview preset — Enables stereoscopic viewing without a VR headset.
- Improved UI and workflow usability — Dropdown selectors, context-sensitive animation controls, camera reset and an updated sample workflow.
Overall: Evolved from a basic stereoscopic video converter into a more complete, memory-efficient, queue-friendly VR video production tool with creative camera control and automated video/audio handling.
Visual output quality / 3D effect is excellent. Great in VR headset. Conversion speed is about 2sec/frame for 800p input video on my 5080.
Attached video is a sample 3D conversion from a random portion I clipped from this other thread (https://www.reddit.com/r/StableDiffusion/comments/1y5y22g/pure_cinema_music_videocinematic_stills_lora_for/). Ideally viewed with a VR headset, if not, then you can try the cross-eye trick.
Have fun!
2
u/Jerg 3d ago
UPDATE: V0.2.0 is 4-5x faster! I implemented multiple rounds of optimizations this afternoon. It's also more robust for longer videos. Quality is essentially identical still.
See new thread: https://www.reddit.com/r/StableDiffusion/comments/1y778k4/sharp_vr_video_v020_4x_faster_2d_to_3d/
2
u/noLOOPai 4d ago
What ere the limitations in video duration and resolution?
2
u/Aromatic-Somewhere29 4d ago
This turned out really great! I think this is an excellent new direction for using Gaussian splatting and stereoscopic viewing. Taking it beyond individual images and applying it to entire videos opens up some really interesting possibilities.
It's great to see you take the idea and turn it into a standalone project. Really nice work!
1
u/Jerg 4d ago
Update: I pushed 2 updates since last evening (latest now is v0.1.2).
Personally I think the animated dolly and orbiting work great as long as they are kept low (0.05m, 1degree, mayyybe can go a bit higher), and leans on the advantage of gaussian splatting constructing the actual scene frame by frame.
1
u/Jerg 4d ago
Major update (v0.1.5)
1
u/Radiant-Photograph46 4d ago
Will it still work with single images as well?
1
u/Radiant-Photograph46 4d ago
Quick thought, could you add an option to output as red-cyan anaglyph? Shouldn't be too difficult with a hue filter and overlaying both eyes.
1
u/RewardSafe9807 4d ago
hmm, i tried the magic eye unfocus my eyes method and the cross-eye method and i cant seem to get a proper 3d effect. i might be doing it wrong but in theory it should work. unless its only giving enough data to create the faux 3d effect that 3d conversion typically applies so it could be viewed in Photon from the Meta store or something and I'm misunderstanding.
1
u/MrLegz 3d ago
Cool Stuff! I added it to my free 2D-3D conversion app "Stereo3DStudio", as an experimental mode. I added your credits as well. Let me know what you think, Thanks!
https://github.com/drewmedina55-ux/Stereo3DStudio
1
u/Jero9871 13h ago
Great Work. However on my 4090 it is pretty slow and when I look at my GPU it usually does nothing only has bursts every few seconds and VRAM is only at 5GB. Any ideas?
2
u/Negative_Space77 4d ago
great
1
u/MrLegz 4d ago
This is great! Thank you!