How to Repair MP4 Files - A Complete Guide


This guide fixes MP4 files that will not play, cannot seek, show “moov atom not found”, or play audio with a black screen. It covers Windows and Mac with fast, safe steps you can try first. Start with free fixes, then move to advanced repair only if needed.

Quick answer (fastest path)

  • If the MP4 is incomplete (very small file size / stopped recording / interrupted transfer), re-copy or re-download it first.
  • If it plays but skips or cannot seek, try remux (no quality loss) using FFmpeg stream copy.
  • If FFmpeg shows “moov atom not found”, you usually need a header rebuild tool like Untrunc (requires a similar good video from the same device/settings).
  • If none of the above works, use a dedicated MP4 repair tool.

Related guides:Repair MOV | Repair MKV | Repair AVI | Video Repair Tool

Fix MP4 problems by symptom (fastest path)

What you seeMost likely causeDo this first
Error: “moov atom not found”Missing metadata/headerUntrunc with a sample file (best).
Plays but cannot seek / duration is 00:00Moov atom not at front or damagedFFmpeg remux + faststart.
Video stops early / only first seconds playMissing tail/indexUntrunc (if recording crash) or remux.
Green/pixelated blocks / heavy artifactsDamaged frames/bitstreamRepair tool + sample file.
MP4 plays audio but no videoUnsupported codec or broken video streamRemux first, re-encode only if remux fails.
Android video cannot playCodec/profile mismatchTry VLC/MPV, then remux or transcode.
0xc00d36c4 / 0xc10100be (Windows)Codec/profile issueMethod 2 remux, then re-encode if needed.
Stutters after transferPartial transfer or disk issueCopy file locally, then remux.

Common MP4 errors this guide fixes

  • “moov atom not found” -> see Method 3.
  • 0xc00d36c4 / 0xc10100be -> try Method 2, then re-encode if needed.
  • QuickTime can’t open / -2048 -> use faststart and re-encode audio to AAC if needed.
  • MP4 plays audio but no video -> remux first, then transcode.

When this will not work

  • 0 KB file (no video data).
  • File overwritten or missing chunks (only partial recovery possible).
  • Failing storage device: clone or copy first.

Key takeaways

  • If the file is 0 KB, there is no video data to repair.
  • Most MP4 problems are container or header issues; remuxing is the fastest fix.
  • Use stream copy before converting to avoid quality loss.

Before you start

  • Work on a copy of the MP4 file (do not overwrite the original).
  • If the MP4 is on a failing drive, copy it to another drive first.

Why MP4 files stop playing

  • Recording crash or app closed before the file finalized.
  • Interrupted transfers or incomplete downloads.
  • Power loss while writing the file.
  • Bad sectors or storage errors.
  • Editing software crash while saving metadata.

Most of these lead to either (a) container/header issues (remux) or (b) damaged stream data (repair tool).

MP4 vs MOV: why the moov atom matters

MP4 and MOV are closely related container formats that store video, audio, and metadata. The most important part for playback is the “moov atom” (metadata header), which tells players where tracks are, how long the video is, and how to seek. If a recording stops suddenly (phone crash, battery pull, camera app freeze), the moov atom may never be written, leaving the file unreadable even though the video frames exist.

This is why remux tools help when the moov atom exists but is misplaced, and why Untrunc helps when the header is missing. A matching sample clip from the same device lets Untrunc rebuild the header so players and editors can read the file again. If you capture another short clip with the same resolution, codec, and frame rate, you improve your chance of success dramatically.

Simple troubleshooting steps to repair MP4 files

Quick Troubleshooting Checklist:

  • Try a player with built-in codecs (VLC, MPV).
  • If the file size is extremely small for the duration, it is likely incomplete.
  • If the recording app crashed, try remuxing first.
  • Update your player if multiple files fail to play.

Method 1: Try VLC remux/convert (works only for minor issues)

VLC may help when the MP4 is only slightly damaged by re-saving/remuxing it. It will not fix severe structural damage like a missing moov atom, but it is quick to try.

Steps (recommended VLC method):

  1. Open VLC and go to Media > Convert/Save.
  2. Click Add and select your MP4 file.
  3. Click Convert/Save.
  4. In Profile, select an MP4 profile (H.264 + AAC recommended).
  5. Click the Wrench icon and confirm MP4/MOV in Encapsulation.
  6. Choose a destination filename and click Start.
  7. Test the output file.

If VLC fails or the output still will not seek/play correctly, move to Method 2 (FFmpeg remux).

Optional (rare / SEO long-tail): VLC “Rename to AVI” trick (mislabeled files only)

Some downloads are saved with the wrong extension (example: an AVI file named .mp4). In that case, VLC’s AVI “fix” option may help. If you saw “moov atom not found”, skip this and go to Method 3 (Untrunc).

If it fails, do not waste time - go straight to Method 2 or Method 3.

How to try it:

  1. Make a copy of the file first (do not rename the original).
  2. Rename the copy from .mp4 to .avi.
  3. In VLC, go to Tools > Preferences > Input/Codecs.
  4. Set “Damaged or incomplete AVI file” to Always fix.
  5. Play the renamed file in VLC.
  6. If it does not work: revert the extension back to .mp4 and continue with Method 2 or Method 3 depending on the error.

Method 2: Repair MP4 by remuxing (no quality loss) - FFmpeg

Remux copies streams into a fresh container; it often fixes broken indexes and seeking issues.

To use these commands, install FFmpeg, open Command Prompt (Windows) or Terminal (Mac), and paste the following. You can drag and drop files to paste the full path.

Note: On Windows, install an FFmpeg build and make sure ffmpeg is available in the same folder or in PATH.

Example (Windows):

ffmpeg -i "C:\Users\Deepak\Desktop\corrupted.mp4" -c copy "C:\Users\Deepak\Desktop\repaired.mp4"

Remux (no re-encode):

ffmpeg -i corrupted.mp4 -c copy repaired.mp4

Faststart (seek fix):

ffmpeg -i corrupted.mp4 -c copy -movflags +faststart repaired.mp4

If FFmpeg shows “moov atom not found”, skip faststart and go to Method 3.

Remux with error ignore:

ffmpeg -err_detect ignore_err -i corrupted.mp4 -map 0 -c copy repaired.mp4

If audio is the issue, re-encode audio only:

ffmpeg -i corrupted.mp4 -c:v copy -c:a aac -b:a 192k repaired.mp4

If remux fails, re-encode (last resort):

ffmpeg -i corrupted.mp4 -c:v libx264 -crf 18 -preset veryfast -c:a aac -b:a 192k repaired.mp4

Note: faststart only moves the moov atom to the front if it already exists. It does not recreate missing metadata.

Method 3: Fix “moov atom not found” (Untrunc / header rebuild)

If FFmpeg or VLC shows “moov atom not found”, the MP4 header is missing. This often happens when recording stops suddenly due to power loss.

Untrunc (advanced free method):

  1. Find a short “good.mp4” from the same phone/camera/app/settings.
  2. Search: “untrunc github” and follow the build/install steps for your OS.
  3. Download/build Untrunc, then run it with a good reference clip + broken file (good first, broken second).
  4. If the sample differs in resolution/codec, success drops. A 0 KB file cannot be fixed.

How to find a matching sample clip:

  • Record a new clip using the same device, camera mode, resolution, and frame rate.
  • Make sure the codec and orientation match (portrait/landscape).
  • Success looks like normal playback and working seek; failure usually means the sample does not match.

Untrunc is command-line based. If that is too complex, use a GUI repair tool like SysCurve.

Method 4: SysCurve Video Repair Tool (free and paid)

Best when you see artifacts, frozen frames, or FFmpeg cannot read the stream. If your file is missing the header, the tool may ask for a reference/sample file recorded on the same device to rebuild it.

  1. Download and install the SysCurve Video Repair tool.
  2. Launch the software and click Add File.
  3. Select the corrupted MP4 file and click OK/Open.
  4. If asked, add a reference sample file from the same device.
  5. Click Repair, then Preview the result.
  6. Click Save Repaired File to save the repaired video (original remains unchanged).

Other helpful features

  • Repair MP4, AVI, MKV, FLV, WEBM, F4V, etc.
  • Preview the repaired video file.
  • Support large-size MP4 files.
  • Fix highly damaged video using sample file.
  • Support major media players.
  • Compatible with Windows 11 and 10.

Related guides

Repair MOV | Repair MKV | Repair AVI

Frequently asked questions

Why does FFmpeg show “moov atom not found”?

The MP4 header is missing, so players cannot read duration and track info. This often happens after interrupted recording or incomplete copies.

Can VLC repair MP4?

VLC can sometimes salvage by remuxing or converting the file. It is useful for minor issues but does not rebuild missing metadata.

Will remuxing reduce quality?

No. Remux/stream copy does not re-encode, so quality stays the same.

Are there any free MP4 repair tools?

Yes. Tools like Untrunc can repair some broken MP4/MOV files when you have a similar good reference video from the same device/settings.

Can I repair MP4 online safely?

If the file is personal or work-sensitive, avoid uploads and use offline tools instead.

MP4 file is 0 KB. Can it be repaired?

No. A 0 KB file has no video data. Restore from the source file if available.

The final word

Start with VLC or FFmpeg for quick wins. If FFmpeg reports a missing header, Untrunc is the best free fix when you have a matching sample clip. When the stream is damaged or tools cannot read the file, a repair tool with sample-file support is the fastest path. Always spot-check playback and seeking before archiving the repaired file.

After repair, test: play + seek to the middle + check audio sync.

The Author

Deepak Singh Bisht

Deepak Singh Bisht

Content Lead |

Deepak is a dedicated IT professional with over 11 years of experience and a key member at SysCurve Software for the last 6 years. His expertise lies in email migration and data recovery, with a focus on technologies like MS Outlook and Office 365. He also works with SQL Server backup and recovery workflows and DBCC diagnostics in Windows environments. Deepak, who also delves into front-end technology and software development, holds a Bachelor's degree in Computer Applications.

More from this author