MIT Licensed · 100% Rust · Rip & Mux

Own your movies, not just the discs.

  • UHD
  • BD
  • HD DVD
  • DVD
  • AACS 1.0, 2.0, & 2.1

Free & open source · Linux, macOS & Windows · Intel & ARM

One pipeline, built on one idea.

Bad-sector recovery

A tolerant sweep reads the whole disc and skips past unreadable sectors, then patch passes retry only the damage, multi-attempt, with per-sector timeouts and range bisection.

Disc → MKV

Mux every readable title to a standards-clean MKV: video, audio, subtitles, chapters. DVDs (CSS) work out of the box; Blu-ray and 4K UHD need decryption keys.

Dissect, don’t just rip

Pull one facet of a title out on its own — every video, audio, or subtitle track to its own native file (video://, audio://, sub://), a chapter sidecar (chapters://), or the whole title structure as json://. Or export a play-everywhere mp4:// in a single decrypt pass.

Insert a disc, get an MKV

autorip is a service that auto-detects optical drives, runs the full sweep → patch → mux pipeline on disc insert, and exposes a resumable web UI for settings, progress, and history. Run it as a single binary or in a container.

Open source, single binary

Pure Rust. Download a prebuilt binary for Linux, macOS, or Windows, or build from source. The whole toolchain is licensed MIT: run it anywhere, audit it, build on it.

How it works

Three composable stages: read everything the drive can recover, then chase the rest. See how recovery works →

1

Sweep

Read the whole disc sequentially. Skip ahead past bad sectors, mark them, never abort.

2

Patch

Come back for the bad ranges with targeted, multi-attempt retries and bisection.

3

Mux

Decrypt and mux the recovered image into a clean, fully-featured MKV.

freemkv composes a source and a destination URL, with no rigid subcommands. Read from a disc, ISO, or M2TS; write to MKV, ISO, M2TS, a network stream, or stdout.

# Rip a disc straight to MKV — the main path (decrypt + mux)
$ freemkv disc:// mkv://Movie.mkv

# Remux an existing ISO to MKV — no disc needed, same shape
$ freemkv iso://Disc.iso mkv://Movie.mkv

# Index a disc image, or extract its elementary streams
$ freemkv iso://Disc.iso fvi://Disc.fvi
$ freemkv iso://Disc.iso demux://tracks/

# Pipe decrypted output to another tool over stdout
$ freemkv disc:// stdio:// | ffmpeg -i - …

Or run the whole thing as a service: insert a disc, get an MKV:

# Run the autorip binary as a daemon, then open http://<host>:8080
$ ./autorip

disc:// defaults to the main title; run freemkv info disc:// to list every title with durations, or add -t N to pick one. The same --multipass recovery and decryption apply to whichever source and sink you compose.

autorip runs on Linux, macOS, and Windows as a single binary (or a Linux container). Download autorip · see the autorip docs for setup and decryption keys for Blu-ray and 4K UHD.

Get started

Grab a prebuilt binary and get started.