Page 1 of 1
How do I recover a partially recorded AVI file?
Posted: Mon Dec 06, 2021 9:50 pm
by PReadertor
Good evening,
My laptop battery died before I could complete recording of a video file. I have seen that it is possible to recover the data by running an AVI recovery tool coded by one of the SC admins (
viewtopic.php?t=625). I was able to download and run the tool described but I am guessing the video settings were different from mine.
Is there a more versatile version of this tool available for my video?
Best wishes,
Peter
Re: How do I recover a partially recorded AVI file?
Posted: Tue Dec 07, 2021 2:33 pm
by admin
Hi Peter,
I keep meaning to make a more flexible tool, but have never quite got around to it. The tool needs to know how many bytes of data are in each frame - for your settings (640x480xI420) that works out to be 460800 (I think), so it will not match the settings in the downloadable version.
Please can you share your broken AVI file with me (for instance via dropbox or google drive link)? I will test the recovery and use it as an opportunity to finally write a flexible version of the tool.
thanks,
Robin
Re: How do I recover a partially recorded AVI file?
Posted: Tue Dec 07, 2021 7:25 pm
by PReadertor
Hi Robin,
Thanks for your quick response and I appreciate your willingness to help.
Here is the file:
https://drive.google.com/file/d/11NJ8lg ... sp=sharing
Best wishes,
Peter
Re: How do I recover a partially recorded AVI file?
Posted: Tue Dec 07, 2021 9:23 pm
by admin
Hi Peter
try this
https://downloads.sharpcap.co.uk/tools/AviRescue.zip
Unzip the AviResuce executable somewhere then run it from the command line
Code: Select all
AviRescue.exe 640x480x3 <path to>\21_07_14.avi
The first parameter is a combination of width, height and bytes per pixel of the AVI. For most SharpCap written AVI files that will be 3 for colour and 1 for monochrome (as I remembered when digging further, the I420 colour space doesn't matter in modern versions of SharpCap, at least not as far as the size/format of the AVI file goes).
cheers,
Robin
Re: How do I recover a partially recorded AVI file?
Posted: Tue Dec 07, 2021 9:31 pm
by PReadertor
Hi Robin,
I get the following error:
Re: How do I recover a partially recorded AVI file?
Posted: Thu Dec 09, 2021 10:50 am
by admin
Hi Peter,
oops, try this...
Copy the following two files from the SharpCap 4.0 32-bit install folder (C:\Program Files (x86)\SharpCap 4.0) to the same folder as the AviRescue.exe program
Code: Select all
FrameFlt.dll
FrameFlt.dll.manifest
I think that should fix the problem. I will update the zip too.
cheers,
Robin
Re: How do I recover a partially recorded AVI file?
Posted: Thu Dec 09, 2021 6:45 pm
by PReadertor
You Sir are a genius and a gentleman. Thank you