Log in

View Full Version : restore_mp4: repairing truncated MP4 clips with known-good substitute headers


LigH
30th January 2018, 10:31
There was just an emergency call regarding a corrupt MP4 clip saved from an ultrasonic device onto a USB stick, presumably containing first recordings of the reporter's offspring. The file contained the MP4 container header, but missed the content stream headers which were probably truncated at the end of the file.

Searching in Google with a last bit of hope, and obviously a good bit of luck, I discovered the following tool: recover_mp4 (http://slydiman.me/eng/mmedia/recover_mp4.htm) or as online service: http://restore.media/

It attempts to extract headers from a known-good spare clip and to apply them to the corrupt clip. Several video cameras are specifically supported, and there are numerous advanced parameters to control its behaviour. The author even offers supporting a restoration with his own experience.

LigH
31st January 2018, 08:21
Also archived on VideoHelp: recover_mp4 (https://www.videohelp.com/software/recover-mp4-to-h264) and additionally Fix-DJI (https://www.videohelp.com/software/Fix-DJI) as GUI (with ffmpeg).