NasrTech
Untrunc video repair

Untrunc download for Windows and Mac: install steps and a no-terminal fix

Untrunc is free and open source, and you download it from one place: the project's GitHub releases page. Windows gets a ready zip, untrunc_x64.zip. A Mac gets no download at all: you build Untrunc in Terminal, and brew install untrunc fails because Homebrew has no formula for it. Both routes are below, taken from the project's README and releases page as of 20 October 2026. If you'd rather skip the command line, Video Repair for Windows rebuilds the same index from a normal installer.

Free check and 15-second previewNothing uploadedOriginal quality

Repair your video

MP4, MOV or AVI from a phone, action camera, drone or dashcam. Any size.

  1. Check
  2. Repair
  3. Preview
  4. Download

What Untrunc does

untrunc working.mp4 broken.mp4

That is the whole idea. A recording that was cut off, by a dead battery, a crash or a card pulled out, has its footage but not its index, the moov atom that tells a player where every frame sits. Untrunc reads the settings from a working video recorded on the same camera with the same settings, finds the frames in the broken file, and writes a new file with a fresh index. It adds _fixed to the broken file's name, so broken.mp4 comes back as broken_fixed.mp4.

The version most people use today is the fork maintained at github.com/anthwlock/untrunc, licensed under GPL-2.0. Its README lists MP4, M4V, MOV and 3GP, files over 2 GB, and GoPro and Sony XAVC recordings.

Untrunc on Windows

The project publishes ready-made Windows builds on its GitHub releases page, and the README says the optional graphical version is included in those builds. The newest one dates from March 2020: untrunc_x64.zip (about 13 MB) for 64-bit Windows and untrunc_x32.zip for old 32-bit systems. Skip copies on download sites; take the zip from GitHub.

  1. Open github.com/anthwlock/untrunc, go to Releases and download untrunc_x64.zip.
  2. Unzip it to a folder. If Windows SmartScreen warns about an unknown publisher, that comes from an unsigned open-source build, so check that you got it from GitHub.
  3. Start the graphical version, or open a command prompt in that folder and run it with the working file first and the broken file second:

untrunc "D:\videos\working.mp4" "D:\videos\broken.mp4"

  1. Look for the new file with _fixed in its name next to the broken one, and play it.

Untrunc on a Mac

The README offers no ready-made Mac app, and brew install untrunc returns an error: Homebrew has no Untrunc formula. Homebrew installs the libraries Untrunc needs, and you build Untrunc yourself in a few minutes:

brew install ffmpeg yasm

git clone https://github.com/anthwlock/untrunc.git && cd untrunc

Then build it, pointing the compiler at Homebrew, as the README's macOS section shows:

CPPFLAGS="-I/opt/homebrew/include" LDFLAGS="-L/opt/homebrew/lib" make

The README says Untrunc "works great with ffmpeg 3.3.9". If the build fails with a newer FFmpeg, check that first. When it builds, run ./untrunc working.mp4 broken.mp4 from the same folder.

When Untrunc doesn't work

  • The reference was recorded differently. A clip at another resolution, frame rate or codec setting describes different frames. Use a clip from the same camera, recorded with the same settings, ideally the same day.
  • The file is really empty. A 0-byte file, or one filled with zeros, has no footage to find.
  • The repaired file still won't play. The README says the result should be playable, not that it always will be. Try a different reference clip before giving up.

No terminal: Video Repair for Windows

Video Repair for Windows does the job Untrunc does, from the Microsoft Store, with no zip, compiler or command prompt. You open the broken video, add a working clip from the same camera if it asks, and watch the result before you pay anything. It runs offline and keeps the camera's own frames, like Untrunc.

  • Download, repair and preview: free.
  • Saving the repaired file: $3.99 for one video, or the personal plan for your own videos, $9.99 a month or $29.99 a year — one plan for the Windows app and the online tool. Repair shops: the Technician licence.

Get Video Repair for Windows (free) Get the personal plan, $29.99 a year

The licence key arrives in your receipt email. More on the app: Video Repair for Windows.

The same repair in your browser

The checker on this page does what Untrunc does, with nothing to download or build:

  1. Open the broken video. Your browser reads it from your own disk; nothing is uploaded.
  2. If it asks, add a working video from the same camera. It borrows that video's settings and nothing else.
  3. The check is free. It tells you whether the footage is there and how much of the recording it can rebuild.
  4. The 15-second preview is free too, at reduced quality with a watermark, so you see your footage move before you pay anything.
  5. Downloading the full video is paid: one video, a month or a year. If the repaired video doesn't play, you get a refund.

Like Untrunc, it re-encodes nothing: the file holds the camera's own frames inside a new index. Some cameras repeat their settings inside the footage, and then no reference is needed at all: a Tesla front-camera clip came back that way in our tests. Unlike Untrunc, it doesn't need a reference to start: when the settings were only in the lost index, it first works them out from the footage itself, and the sound from its own audio frames. A Samsung Galaxy A56 recording came back that way with every picture and every sound frame identical; the GoPro and DJI Avata files we tested still needed a clip. We have checked it on real files from GoPro HERO5 to HERO10, a DJI Avata, 70mai and Tesla dash cams and a Samsung Galaxy A56, and every frame came back identical to the original.

Untrunc, the Windows app or the checker?

UntruncVideo Repair for WindowsThe checker on this page
PriceFreeFree to repair; saving from $3.99 per videoCheck and preview free; download paid
InstallWindows build, or build from source on a MacMicrosoft Store, no terminalNothing; any modern browser
Source codeOpen (GPL-2.0)ClosedClosed
FormatsMP4, M4V, MOV, 3GPMP4, MOV, M4V, 3GP, AVIMP4, MOV, AVI
Needs a reference videoAlwaysOnly when it can't work the settings outOnly when it can't work the settings out
Your video is uploadedNoNoNo
On a phoneNoNo (Windows only)The Video Repair app for Android

If you're comfortable with a terminal and the free tool works for your file, it's the cheaper route. On Windows without a terminal, use the Video Repair app. On a Mac, if you don't want to build from source, the checker on this page gives you the same kind of result in the browser and shows it to you before you pay.

Questions

Frequently asked questions

Where do I download Untrunc for Windows?

From the Releases page of github.com/anthwlock/untrunc. Take untrunc_x64.zip for 64-bit Windows; the newest build there is from March 2020. Avoid copies on download sites.

Can I install Untrunc with Homebrew?

No. Homebrew has no Untrunc formula, so brew install untrunc fails. Use Homebrew to install ffmpeg and yasm, then clone the repository and build it with make, as the README's macOS section shows.

Is Untrunc safe to use?

It's an open-source project with its code on GitHub. Download it from the project's own releases page rather than from a third-party site, and run it on a copy of your broken file, never the only one you have.

What is the "working" file Untrunc asks for?

Any video that plays, recorded on the same camera with the same settings as the broken one. Untrunc and the checker both read the encoder settings from it; neither copies any picture or sound from it.

Does either one lower the quality?

No. Both rebuild the index around the original frames and re-encode nothing. Only the checker's free preview is reduced in quality, and the full download keeps the original.

Is my video uploaded when I use the checker?

No. It runs inside your browser with WebAssembly, using the same engine as the Video Repair apps for Android and Windows. The video stays on your computer.