make-it-3d
A Claude Code plugin that turns any 2D video or movie into 3D: red-cyan anaglyph for paper 3D glasses, half side-by-side 1080p for 3D projectors and 3D TVs, or full side-by-side for VR headsets. Works on macOS, Windows and Linux.
Just ask Claude: "make this movie 3D for my projector", "make this 3D for red-cyan glasses" or "convert this clip to 3D for my Quest".
Install
In Claude Code:
/plugin marketplace add thesarthakkumar/make-it-3d
/plugin install make-it-3d@make-it-3d
Requirements: ffmpeg and Python 3.9+.
| OS | Install ffmpeg | GPU used |
|---|
| macOS | brew install ffmpeg | Apple Silicon (MPS) |
| Windows 10/11 | winget install Gyan.FFmpeg | NVIDIA (CUDA), else CPU |
| Linux | sudo apt install ffmpeg | NVIDIA (CUDA), else CPU |
On first use the skill creates its own Python environment (~/.cache/make-it-3d/venv, or %LOCALAPPDATA%\make-it-3d\venv on Windows), installs PyTorch (the CUDA build automatically if an NVIDIA GPU is found) and transformers, and downloads the depth model (about 100 MB). Everything runs locally. CPU-only works but is slow for full movies.
CI runs the converter on Windows, macOS and Linux on every push.
Presets
| Watching on | --preset | Output |
|---|
| Red-cyan paper glasses, any screen or ordinary projector | glasses (default) | anaglyph (red lens on the left eye) |
| 3D projector (Epson, BenQ, Optoma, ViewSonic, DLP-Link) | projector | half side-by-side 1920x1080, gentler depth for big screens |
| 3D TV | tv | half side-by-side 1920x1080 |
| VR headset (Quest, Vision Pro player apps, Pico) | vr | full side-by-side |
Add --format tb for devices that want top-bottom. Output names are auto-detected by players: name.3D.HSBS.mp4 (Kodi), name_3D_LRF_Full_SBS.mp4 (Skybox, DeoVR).
Watching on a 3D projector
- Convert with
--preset projector.
- Play the file fullscreen at 1080p (VLC, Kodi, PowerDVD, a media stick or a laptop over HDMI).
- In the projector's 3D menu set the format to Side by Side and switch the glasses on. Kodi and PowerDVD can switch it automatically from the file name.
- If the depth looks inside-out, use the projector's L/R swap ("3D inverse") or re-render with
--swap-eyes.
No 3D projector? Any projector shows the glasses (anaglyph) version; watch with red-cyan glasses.
How it works
- Depth: Video Depth Anything Small (Apache-2.0) by default. It looks at 32 frames at a time, so depth stays steady from frame to frame. The upstream code loads a whole video into memory; make-it-3d streams it in overlapping windows (same alignment maths) so a full film runs in constant memory, restarts the window at every scene cut, and swaps the attention for PyTorch's fused SDPA, which made it about 5x faster on Apple Silicon and stopped it running out of memory.
--model fast uses per-frame Depth Anything V2 Small instead.
- Temporal stability: the depth range is EMA-normalised and lightly blended, reset at scene cuts so a new shot never inherits the last one's depth.
- Edge dilation: the foreground grows by a couple of pixels so edges don't leave halos.
- Stereo views: each eye is rendered by z-ordered forward splatting at 2x horizontal supersampling (nearer surfaces win), and disoccluded gaps are filled from the background side.
- Packing: Dubois least-squares anaglyph in linear light, or SBS / half-SBS / TB, letterboxed to the preset's frame size (adds
stereo_mode metadata when the output is .mkv). Audio is carried across.
Benchmark on an Apple M5 (20 s of 720p film, depth model only):
--model | Depth speed | Frame-to-frame flicker | Licence |
|---|
vda (default) | 20 fps | 0.0023 | Apache-2.0 |
fast | 71 fps | 0.0044 | Apache-2.0 |
large | 9 fps | 0.0041 | CC-BY-NC |
End to end with stereo rendering and encoding: about 10 fps with vda (a 1-hour 720p episode takes about 2.5 hours), about 13 fps with fast. Use --save-depth once, then --depth-in to make other formats at about 18 fps without re-running the model. A mid-range NVIDIA GPU is in the same range or faster; CPU-only is many times slower.
Standalone CLI
PY=$(python3 skills/make-3d/scripts/setup.py)
"$PY" skills/make-3d/scripts/convert3d.py movie.mkv --preset projector --start 00:10:00 --duration 20 # preview
"$PY" skills/make-3d/scripts/convert3d.py movie.mkv --preset projector # full
Windows PowerShell:
$PY = python skills\make-3d\scripts\setup.py
& $PY skills\make-3d\scripts\convert3d.py movie.mkv --preset projector