INDEX  F.A.Q.  SEARCH  LATEST POSTS     Rules  Register  Profile  Private messages  Login


Login:   Username:  Password:   Log me on automatically    
Register I forgot my password I forgot my username Resend the activation key

Steps to repair a partially downloaded .avi that has a missing header.

Forum Index -> How to's -> User guides Printer-friendly version
Reply to topic
Author Message
torrentcrazy
Member


Joined: 15 Feb 2006
Location: Chillin' somewhere

Post Posted: Feb 17, 2006 09:21 Posts Comp View users profile Send private message Reply with quote

Are you stuck with a partially downloaded .avi file that neither AviPreview nor your favorite bad a#% media players will open? A missing header is probably the cause. Seriously sucks mad.gif. The following steps may make it so that you can play the partially downloaded .avi that has a missing or corrupt header.

Tools needed:
AviRepair - http://www.pk3.org/Astro/Downloads/AVIRepair.zip
DivFix - http://www.videohelp.com/tools?tool=DivFix
SlideShowMovieMaker - http://www.videohelp.com/tools?tool=Slide_Show_Movie_Maker

You need to know the specs of the video you tried to download.
Resolution - It may still work if you guess a resolution that is larger than the one of your partial .avi: explanation in Step 1 below
Codec - Either Divx or Xvid. I haven't tried it with other codecs.
Framerate - If you don't know the framerate, you might get lucky by guessing with standard framerates e.g. NTSC(29.97fps) or PAL(25fps) depending on which Country the movie is from.

Important: Before you do anything to the file, make a backup of it (copy and paste). If the .avi is a partial file from emule, make a copy of the .part file corresponding to your download. You can then change the extension on the copy from .part to .avi and perform the following steps on that file.

Alright here it goes:

1) Use SlideShowMovieMaker to create a .avi with the same specs as the movie you tried to download.

Other .avi creaters will work also, but SSMM is free and easy.
Note: If you already have another .avi file with the same specs as your partially downloaded file, you can skip this 1st step and use that .avi in the next step

-Open SSMM and go to the Wizard
-You can select multiple .jpegs for your slideshow or use only one
-Set the the time to show each pic so that the video will be at least 20 sec.
-Choose a place to save the output
-Click Finish instead of creating the file (you do want to change settings).
-Go to Project -> Project Settings
-For Project Settings, you only need to change the framerate & resolution
-Set framerate and resolution to match your partially downloaded .avi
-Making a guess of a resolution larger than the partially downloaded
avi MIGHT be watchable(it would add black borders but still work).
-Making a guess of a framerate for NTSC or Pal might get you a match
-Outputting the slide show will not take long so you can test different
values if you don't know the specs of your partially downloaded avi.
-Close Project Settings and click Start Creation on the main screen.
-Choose the codec to match the codec of your partially downloaded file
-Choose the audio codec to match also.(I've only tried with .mp3 audio)
-Click Start Creation. SSMM will create the .avi slideshow of your jpegs.

2) Use AviRepair and your slideshow .avi file to patch the missing header in your partially downloaded .avi file.

-Open AviRepair and select your slideshow .avi as the source.
-Be careful that you open it as the source.
-Select your partially downloaded .avi as the corrupted file.
-The patching is instant. But the .avi is not quite ready for viewing yet.

3)Use DivFix to make your newly patched .avi file viewable. This is the last step. After DivFix rebuilds the index, your .avi file should work.

-Open DivFix
-Click Add Files to add the partially downloaded .avi that you just patched.
-You could drag n drop the file instead.
-Check the box for Keep original file (in case of a mishaps)
-Check the box for Cut out bad parts (this is what fixes the file)
-Where you see the disk icon at the top, choose a place to save the output
-Click on Rebuild Index and wait for it to churn out a working .avi file.
-That's it

If your media player will open the .avi, but it plays garbled, then run it through DivFix to rebuild the index again. This shouldn't be neccessary though.

The above steps should work for partial .avi files dowloaded from emule, bittorrent, etc. Why did I mess around with this? Cuz I'm not only torrent crazy, but also addicted to downloading "rare" files from emule. Some of those files are never gonna show up as complete.

Keywords: .avi with missing header, no header in .avi


mkumar_20xx
Member


Joined: 09 Dec 2006
Location: India

Post Posted: Dec 09, 2006 23:08 Posts Comp View users profile Send private message Reply with quote

Awesome technique , this steps really works for me.

Thanks
good work. smile.gif


guns1inger
Member


Joined: 01 Apr 2004
Location: Miskatonic U

Post Posted: Dec 10, 2006 03:05 Posts Comp View users profile Send private message Reply with quote

If the original file source was a DVD movie then the framerate for NTSC is more likely to be 23.976
_________________
The views expressed in this post are mine alone, unless plagiarised from others
Read my new blog here


Leo Reiss
Member


Joined: 13 May 2009
Location: Brazil

Post Posted: May 13, 2009 13:38 Posts Comp View users profile Send private message Reply with quote

Thank you very much!
After some trys, I did it!
The video was encoded with vc-1 wmv3. The only solution that worked was to create a file with about the same duration of the original avi using the SlideShowMovieMaker. With files of diferent durations it didn't work.
Luckly I had some informations about the file because it's an episode of anime and was encoded like the previous episodes (but to use the header of the other episodes didn't work)
And SSMovieMaker has a bug. The time you put in the Wizard is calculated like you were using 25 fps. In my case the file was 119.880 fps, so I'd to divide 119.880 by 25 and multiplicate the result by the duration.
But thanks, thanks, thanks!!
*and sorry by my bad english*


videoquestion
Member


Joined: 03 Aug 2009
Location: United States

Post Posted: Aug 06, 2009 23:58 Posts Comp View users profile Send private message Reply with quote

Is there a similar process for repairing a truncated mp4 video file?

Reply to topic All times are GMT - 6 Hours
Forum Index -> How to's -> User guides Page 1 of 1





You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You can vote in polls in this forum



Jump to:  
Display:   
Replay Media Catcher lets you record ANY streaming video and save on your computer! More info or download trial!
About   Advertise   Forum Archive   RSS Feeds   Statistics