Underwater diving video automatic colour correction and index-of-refraction-aware Gyroflow stabilization, rewritten in Rust (wgpu + gyroflow-core + ffmpeg-next, with an upcoming egui desktop UI).
crates/reefshader-core: Core processing pipeline (wgpucompute shaders,gyroflow-corestabilization, FFmpeg video I/O).crates/reefshader-cli: Command-line interface (reefshader).legacy/: Original Python / JAX / PySide6 prototype.
Install FFmpeg and pkg-config via Homebrew, then build with Cargo:
brew install ffmpeg pkg-config
cargo build --release --bin reefshadercargo run --bin reefshader -- --input dive.mp4 --output dive_corrected.mp4Run cargo run --bin reefshader -- --help for all options.