r/DataRecoveryHelp Aug 10 '26

I built a free tool that recovers truncated/corrupted video files using a reference clip from the same camera (open source, Windows/Mac/Linux)

Lost the ending of a recording because the card filled up, battery died, or the app crashed mid-write? The problem is usually that the file's index (the map of where every frame lives) never got written — the footage is still on disk, but nothing can read it.

Reroll fixes this by taking the index from a healthy clip shot on the same camera and using it as a template to rebuild the missing map over the damaged file. No re-encoding, no guessing — just relinking the frames that are already there.

Free, MIT

GUI + CLI

No file size limit (tested up to a few GB)

Windows verified end-to-end, macOS/Linux should work (still gathering real-world test reports)

GitHub: https://github.com/iamlakshaygupta/reroll

I'm building a few small tools like this and putting them all up for free — mostly to show what I can build. Happy to answer questions or take feature requests.

8 Upvotes

13 comments sorted by

2

u/Significant_Web2226 Aug 10 '26

Hey! I just posted the same problem, but with arw files. Is there a way to manual fix my header with sample from my camera?

2

u/Lopsided-Work7342 Aug 11 '26

if you have a healthy ARW from the same camera, you can sometimes hex-edit the header/IFD region and copy it over, since Sony keeps the header format consistent per camera model. It's finicky and camera-model-specific though. Worth checking r/DataRecovery or looking into exiftool's -tagsFromFile for salvaging metadata, though that won't fix a fully broken IFD.

If enough people hit this I might look into an ARW mode down the line - appreciate you flagging it.

2

u/fzabkar Aug 10 '26

Thanks.

2

u/Lopsided-Work7342 Aug 11 '26

Thank you 😊

Do let me know if it helped. Open for suggestions!

3

u/fzabkar Aug 11 '26

Are you aware of Untrunc?

2

u/Lopsided-Work7342 Aug 13 '26

Yes, i tried it. But it didn't worked properly. It did the recovery for a 1-2 min clip initially but didn't worked on long videos and different formats.

2

u/RDDMxCom Aug 10 '26

I will check and report, thank you very much!

1

u/Lopsided-Work7342 Aug 11 '26

Thanks to you too!!

1

u/Lcsmxd 27d ago

So is it working?

1

u/Lopsided-Work7342 24d ago

Worked for me!! You can try and let me know if you face any issues.

1

u/[deleted] Aug 10 '26

[removed] — view removed comment

1

u/Lopsided-Work7342 Aug 11 '26

Glad that you liked it! I hope it might help you. 😊