Skip to content
This repository was archived by the owner on Nov 7, 2026. It is now read-only.
p-janikPublic archive

About

A small desktop app for shrinking Nikon R3D NE and N-RAW footage while keeping it RAW.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

8 Commits

Folders and files

Repository files navigation

RAW Compact

RAW Compact is a small desktop app for shrinking Nikon R3D NE (.R3D) and N-RAW (.NEV) footage while keeping the original resolution and RAW controls.

I built the app with OpenAI Codex using Tauri 2. The compression comes from the open-source Blue Compressor Rust core.

RAW Compact on macOS, showing compression presets and output options

Downloads

Get the 0.2.0 preview: macOS Apple silicon DMG/ZIP, Windows x64 installers, and Linux x64 AppImage, Debian and RPM packages. Platform packages are built by the build and test workflow.

On macOS, download the DMG, open it and drag RAW Compact to Applications or a folder on an external SSD. No developer tools or separate engine installation is required.

Only macOS Apple silicon has been exercised with real footage. Mac builds are ad hoc signed and not notarized; Windows installers are unsigned.

First working version

  • Add clips or whole folders with native pickers or drag and drop. Folder input searches subdirectories for Nikon .NEV and .R3D files and ignores proxy MP4s and unrelated files.
  • "Skip compressed copies and existing outputs" is on by default. It filters _light, _medium and _strong suffixes and RAW Compact - … batch folders, and skips a job whose destination already exists. Turn it off to include those copies intentionally; existing files are still never overwritten.
  • Detection uses names and locations because camera metadata is preserved. Renamed copies and files compressed by other tools may not be recognisable. Nested directory symlinks are not followed.
  • Light, Medium and Strong compression presets; Medium is the default.
  • Save copies beside each original as clip_light.NEV, clip_medium.NEV or clip_strong.NEV (and the equivalent .R3D names). Clips dropped from different folders stay in their respective folders, even with identical names.
  • Alternatively choose one output folder, including an external SSD; that mode creates a new batch folder and preserves the clip names.
  • Sequential batch queue with live progress, speed and actual savings.
  • Cancel the batch; closing the app waits for cancellation and cleanup.
  • Existing files are never replaced. A name collision is reported and the original is kept.
  • Originals are kept by default. Optionally move each original to the operating system's Trash after full verification. This never falls back to permanent deletion; failed or cancelled work keeps the original.
  • Keeping originals uses fast checks of format, coded resolution, frame count, frame rate and audio track count.
  • The Trash option also decodes every output frame, checks container/camera metadata and byte-identical audio/non-video data, and confirms the source has not changed. Unsupported no-overwrite renames use exclusive file creation plus checksum verification.
  • Shows the full source path, planned copy path, and whether each original was kept or moved to Trash.

These are lossy RAW presets, approximately 25%, 45% and 65% smaller. The actual target is derived from each clip's source bitrate. Header checks are not a full decode. Even full verification cannot guarantee visual quality from lossy compression. Review copies in your editor before emptying Trash; disk space is freed when Trash is emptied.

This first version intentionally has no trimming, card offload, proxy export, grading or built-in image comparison. It does not send footage anywhere and has no update check or telemetry.

Build

Install Tauri prerequisites, Rust 1.90+ and Node.js 22+.

npm ci
npm run dev
npm run build

The UI is plain HTML, CSS and JavaScript. There is no frontend build step. npm run build produces platform bundles in src-tauri/target/release/bundle (or $CARGO_TARGET_DIR/release/bundle).

To keep build files and dependency caches off an internal drive, set CARGO_HOME, CARGO_TARGET_DIR, npm_config_cache and TMPDIR to folders on your external drive before building. Do not unplug that drive while running or building the app.

cargo test --release --manifest-path src-tauri/Cargo.toml --locked
cargo fmt --manifest-path src-tauri/Cargo.toml --check

The GitHub workflow builds macOS, Windows and Linux packages. Only macOS Apple silicon has been exercised with real footage so far; other platforms require runtime qualification. Preview macOS builds are ad hoc signed, not notarized; Windows builds are unsigned.

Validation so far

Version 0.2.0 adds regression checks for suffix naming, cancellation, corrupt metadata, and refusing existing outputs. A separately invoked real-media integration test uses disposable copies in two folders on an external SSD, exercises name collisions, cancels during full verification, and moves only a disposable original to native Trash. Camera footage is not part of the repository. To run that test, set RAW_COMPACT_TEST_CLIP and RAW_COMPACT_TEST_ROOT and run cargo test --release --manifest-path src-tauri/Cargo.toml -- --include-ignored.

On an Apple M4 Mac, a 561-frame Nikon ZR 6K R3D NE clip at 59.94 fps went from 4.35 GB to 2.47 GB at Medium (43.3% smaller) in a 28.3-second GUI run. Native file selection, external-drive output, live progress and cancellation were exercised. Cancellation left no partial video behind; the source SHA-256 stayed unchanged.

The app output was byte-for-byte identical to the earlier Medium output independently reviewed in DaVinci Resolve Studio 21.1. That output passed full-frame decoding, metadata, timing and byte-identical audio checks. With matching RED IPP2 grading, sampled 6K frames looked close, with differences mainly in grain and fine texture. This is one short indoor sample, not broad camera or quality qualification. No user footage is included in this repository.

Engine and attribution

The codec is Blue Compressor 0.3.6, pinned to commit 186fdf785fe0b735b27eb16b62fbf5a6c8cfab9d. RAW Compact is a new UI around its Rust core, not a new compression codec. The codec and RAW transformations are unchanged. Automatic backend selection uses the engine's GPU implementation when available and falls back to CPU.

Licensed under Apache-2.0. Engine notices and the rawmakase MIT license are in licenses/ and bundled with the app. No FFmpeg executable is distributed. Nikon, RED, R3D and N-RAW belong to their respective owners; this project is independent.

About

A small desktop app for shrinking Nikon R3D NE and N-RAW footage while keeping it RAW.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages