Mp4Medic
Mp4Medic is a tool designed to repair unfinalized (truncated) mp4/mov video files.
Since mp4/mov files have a complex internal structure, can have multiple tracks, and can use different codecs, fully automatic repair of damaged mp4/mov files is very difficult. Therefore, for successful repair, you will need another mp4/mov file created by the same camera and with the same settings as the damaged file. Meta information from the correct file (and a little luck) will allow you to repair the damaged file.
Mp4Medic can recover mp4/mov files that use the following codecs:
Video codecs:
- AVC/H.264 (avc1)
- HEVC/H.265 (dvhe, hev1, hvc1)
- Apple ProRes (ap4h, ap4x, apch, apcn, apco, apcs, aprh, aprn) + ARRI Digital MetaData (admd)
- Blackmagic RAW (brhq, brlt, brst, brvl, brvm, brvn, brvo, brxq)
- Canon RAW (CRAW)
- Nicon RAW (NRAW)
- JPEG (jpeg)
In some cases, the tool can recover video files that contain multiple video tracks. For example, Insta 360 X4/X5 creates INSV files with two HEVC video tracks, and such files can be recovered.
Audio codecs:
- AAC LC (mp4a-40-2)
- MP3 (mp4a-6B, .mp3)
- RAW PCM (aflt, araw, fl64, in24, in32, lpcm, pcm, raw, s8, s16b, s16l, s24b, s24l, s32b, s32l, sowt, twos, u8)
- Microsoft IMA ADPCM (ms0011)
The tool can recover video files that contain multiple audio tracks.
Metadata codecs:
- Apple metadata (not all types) (mebx)
- Blackmagic metadata (mebx)
- Canon metadata (cndm, CTMD)
- DJI metadata (djmd)
- DJI debug info (dbgi)
- GoPro metadata (gpmd)
- Sony metadata (rtmd)
- Subtitles created by DJI, Insta360 Ace Pro, Akaso 360 and some car dash cams (text)
- GPS data created by some car dash cams (gps)
Mp4Medic is constantly evolving, and support for other codecs will be added to the program in the future.
Working with the program
After starting the program, a window will appear where you can select the your damaged mp4/mov file and the reference file. You can also use the Drag&Drop operation to drag the desired file to the program window.
Mp4Medic has three repair modes that you can select in the Repair mode field.
1. Normal repair with reference file
This is the standard recovery mode where you will need a reference file. It is not recommended to use a reference file that is too short, since its analysis collects statistics used to repair the damaged file. The recommended reference size is about 15 second or more. Mp4Medic uses a large number of heuristic mechanisms when restoring a damaged file, and the larger the reference file, the better the heuristics will be generated.
In situations where the video was recorded using variable frame rate, the duration of the video stream in the repaired file may differ significantly from the duration of the audio stream. This can lead to desynchronization of video and audio during playback. Partially, this issue can be resolved by enabling the Stretch video to match audio option. When this option is enabled, the video's duration will be adjusted to match the audio's duration. However, even if the durations of the video and audio become the same, it does not guarantee complete absence of desynchronization, and additional adjustments in video editing software may be necessary.
2. Repair using recovery records
This is a special mode for recovering unfinalized files that contain recovery records. GoPro adds an additional "fdsc" track with recovery data when creating a video file. Some car dash cams add their own recovery records to their video files. This additional data allows fully automatic recovery of unfinalized files without using a reference file. Mp4Medic will automatically switch to this mode if it determines that the file you select is such a file.
Recovery records can be found in files created by car dash cams of the following brands:
- 70mai Dash Cam
- Azdome
- BlackVue
- DDPai
- Vantrue
- Viofo
- and many other car dash cams and action cameras based on Novatek and HiSilicon processors.
3. Ransomware encrypted file repair
This is a special mode for recovering video files partially encrypted by ransomware. In this mode, a reference file is not required, since Mp4Medic will try to use the encrypted video file's metadata.
Ransomware is a type of malware that encrypts some of your crucial files and then ransoms for money to decrypt them. The type and amount of damages to a file caused by encryption depend on what ransomware did it. However, many types of ransomware widespread in the wilderness today only encrypt the beginning of a file. Supposedly, they do it to speed up the encryption of the system.
Video files have a very complex structure, and, unfortunately, recovery of encrypted video files is not possible in all cases. But in some cases, when the metadata of the video file is not damaged, such files can be partially recovered. Different cameras and smartphones can save metadata in different places of the file when saving a video file. Therefore, if your video archive consists of video files created by different cameras, it is recommended to test the utility on different files created by different cameras. It is quite possible that files created by one camera cannot be restored, but files created by another camera can.
Repair process
After you have selected the mode and files you need, click the Start repair button to start the recovery process. During the recovery, the correct reference file and the damaged file itself will be analyzed.
Upon completion of the recovery, information about the duration of the repaired tracks will be shown.
The Preview button allows you to view the file directly in the program. The Save as button allows you to save the repair result as a regular mp4/mov file suitable for viewing or further editing.
Unregistered version limitations
The unregistered version of Mp4Medic allows you to save only the first five minutes of the recovered video. In this case, only video and audio tracks will be saved, tracks with metadata will not be saved. Feel free to contact me if you have any questions about the program.
System requirements
- Windows 10 64 bit
- 8 GB RAM
Version info
- File size: 23 MB
- File date: 14 Aug 2025