Skip to main content

Looking for alternatives to Proprietary video repair utilities?

Explore verified open-source architectures, licensing, and self-hosted stacks.

Untrunc logo

Untrunc

Restore a damaged (truncated) mp4, m4v, mov, 3gp video.

GPL-2.0media-engineering/video
★ 4.5k
Visit Project

A specialised forensics and video restoration tool that repairs truncated, broken, or unfinalized MP4, MOV, and M4V video recordings.

About the Project

Why use this?

When video cameras, drones, or smartphones suddenly lose power, crash, or experience filesystem corruption before writing the final container metadata (the MP4 moov atom), the recorded file becomes unreadable by standard media players. Untrunc solves this catastrophic failure by analyzing a healthy reference file recorded with the same device and rebuilding the missing header, packet index, and chunk offsets.

Broadcast engineers, drone operators, and forensics specialists use Untrunc to recover irreplaceable footage from aborted camera shoots, crashed OBS sessions, surveillance DVRs, and damaged dashcam recordings.

Key Features

  • Container restoration: Reconstructs missing moov atoms, packet lengths, and track metadata
  • Reference-file matching: Uses a healthy clip from the same camera/encoder to infer codec configurations
  • Broad format compatibility: Restores H.264, H.265/HEVC, ProRes, PCM, and AAC streams inside MP4, MOV, and M4V
  • CLI and GUI options: Batch processing capability alongside user-friendly desktop wrappers
  • Zero transcoding re-compression: Preserves raw sensor bitstream without lossy re-encoding

At a Glance

License Architecture
GPL-2.0Permissive
OS & Platform Support
LinuxmacOSWindows
Hardware RequirementsHigh-Memory Multi-Threaded CPU16 GB+ RAM and multi-core CPU (8+ threads) recommended for non-linear solvers, matrices, and memory-intensive grids.

Import / Export Formats

.MP4MPEG-4 Part 14 Video.MKVMatroska Multimedia Container.MOVQuickTime Movie Container.WEBMOpen WebM Video Format.TSMPEG Transport Stream.AVIAudio Video Interleave.H264/H265Raw AVC/HEVC Elementary Stream.AV1AOMedia Video 1 Bitstream

The Learning Curve

Difficulty: Beginner

Intuitive GUI or straightforward single-command CLI; rapid onboarding for video transcoding, live recording, or corrupted file recovery.

Prerequisites:Basic understanding of video containers (MP4/MKV) and resolution settings

Cross-Engineering Integrations

Migrating from Proprietary video repair utilities: What Engineering Teams Should Expect

Zero Perpetual Licensing & Seat Audits

Eliminate unpredictable annual maintenance contracts, subscription price hikes, and restrictive seat limits. Untrunc operates under GPL-2.0 license, enabling unlimited team seats and local execution.

Vendor-Neutral File Formats & Data Sovereignty

Commercial suites often lock project databases into proprietary binary formats. With Untrunc, your core engineering artifacts and pipelines remain under transparent, open standards without vendor gatekeeping.

Modern Scripting, CI/CD & Headless Execution

Unlike legacy desktop apps requiring manual operator clicks, Untrunc facilitates programmatic scripting, automated revision control with Git, and headless continuous testing.

Free layer
open-source