If you have a recent Ubuntu distribution, youYou can install docker
(available for all major operating systems) and run:
docker run -v `pwd`$(pwd):/vol -it synctree/untrunc /vol/GOOD-reference-file.MP4 /vol/BAD-corrupt-file.mdt
The syntax is for Bash under Linux or macOS. Here, GOOD-reference-file.MP4
and BAD-corrupt-file.md5
must both be in your current directory, and the directory will be mounted to /vol
in the Docker container.
Read the other comments around for more in-depth explanation.
This was the quickest for me!