About Untrunc
The open-source repair engine behind rsv.repair, and the people who built it.
rsv.repair is powered by Untrunc, an open-source tool that restores damaged or truncated MP4, M4V, MOV, and 3GP video files. Given a working reference video from the same camera, Untrunc can rebuild the container structure so the file plays again.
The fork we use
Section titled “The fork we use”The web app is built on a work-in-progress branch that adds Sony .rsv recovery support and compiles Untrunc to run in the browser. That branch builds on the anthwlock/untrunc fork, which itself improves on the original by ponchio.
What anthwlock’s fork improved
Section titled “What anthwlock’s fork improved”anthwlock/untrunc brought major improvements over the original by ponchio:
- More than 10x faster
- Low memory usage
- >2 GB file support
- Ability to skip over unknown bytes
- Generic support for all tracks with fixed-width chunks
- Can stretch/shrink video to match audio duration
- Compatible with newer versions of FFmpeg
- Handles invalid atom lengths
- Supports GoPro and Sony XAVC videos
- Many bug fixes
What this branch adds
Section titled “What this branch adds”The web branch builds on anthwlock’s work and adds:
- Sony RSV file recovery (H.264 and H.265)
- Browser-based execution (compiled to run in your browser; no install needed)
Credits
Section titled “Credits”This project would not exist without the work of the open-source community:
- ponchio created the original Untrunc.
- anthwlock rebuilt and maintained the improved fork that most people use today.
- cbenhagen improved RSV recovery and implemented the browser port.
- FFmpeg provides the audio/video libraries that Untrunc depends on.
Support the authors
Section titled “Support the authors”If this software helped you, please consider donating to the people who wrote the repair engine.
- anthwlock (maintainer of the improved fork) · Donate via PayPal
- ponchio (original author) · Donation instructions
- cbenhagen (RSV recovery and browser port) · Support on Ko-fi
- FFmpeg (the A/V engine underneath) · Donate to FFmpeg
Thank you for supporting open-source software.
Source code
Section titled “Source code”- Improved fork (upstream): github.com/anthwlock/untrunc
- RSV + web branch: github.com/cbenhagen/untrunc/tree/web
- Original: github.com/ponchio/untrunc
- License: GPL-2.0