Fixing broken video file - moov atom not found

Scenario:  While doing a screen recording using Vokoscreen, without stopping the recording I moved the file to another location. This resulted in the error "moov atom not found". (Click here to see a video on how to use vokoscreen)

You can find more details what "moov atom"  over here.

To recover from this you can use a utility "untrunc" 

Untrunc

Restore a damaged (truncated) mp4, m4v, mov, 3gp video. Provided you have a similar not broken video. And some luck.

This comes as a source code and need to be compiled. Check out the site for dependencies and compile process.

Once you have compiled and installed you can begin your process of recovery.

To recover the video, you will need a similar video file preferably recorded from same utility/source. Luckily I just had a earlier recording done an hour ago.

Lets say you have two file

  • foo_TheCorruptedVideoFile.mp4   // the corrupted file
  • bar_TheGoodVideoFile.mp4  // similar good video

Run the following command:

  • untrunc  bar_TheGoodVideoFile.mp4 foo_TheCorruptedVideoFile.mp4

The command will do its magic and if you a lucky you should get a file with "fixed" added to it.

Do make sure you have enough space while working as a copy of corrected video will be created.

Add new comment

Filtered HTML

  • Web page addresses and email addresses turn into links automatically.
  • Allowed HTML tags: <a href hreflang> <em> <strong> <cite> <blockquote cite> <code> <ul type> <ol start type> <li> <dl> <dt> <dd>
  • Lines and paragraphs break automatically.
CAPTCHA
Enter the characters shown in the image.
Are you a robot?
Address

OpenSourceCook.in
"Natraj"  Bungalow,
Colony No.7,  Sr.No. 38.
(Lane Behind Sai Baba Mandir)
Kale Borate Nagar, Hadapsar,
Pune - 411028.
Get Directions