Recovery of Canon 5D Mark II HD Video Files
Posted: Tue Mar 10, 2009 3:41 pm
The original thread can be found at:
http://www.techsupportforum.com/hardwar ... ost2015096
Please see the end of tutorial for details on 2 bugs with the code.
--- Canon 5D Mark II HD Video File Recovery Tutorial ---
by smete AND THANKS TO RAPTOR_PA
So for all those who might end up corrupting or accidentally deleting your flash drive and are looking to recover lost movie files shot by Canon 5D Mark II, here is the tutorial:
1. Download R-studio from http://www.r-studio.com/
(It would be wise to use to first demo the product and make sure it'll find the files before purchasing it)
2. Install the program on a drive that you are NOT trying to recover from
3. Open the R-studio program folder (most likely C:\Program Files\R-Studio)
4. Create a new .txt file and name it FileTypes.xml
5. Open the XML file with notepad
6. Copy and paste the following code:
<?xml version="1.0" encoding="utf-8"?>
<FileTypeList>
<!-- Search for Canon 5D Mark II -->
<FileType id="5627" group="Custom" description="Canon5DMKII HD Video" features="TXT_ANSI">
<Signature offset="0" from="begin" count="1">\x00\x00\x00\x18\x66\x74\x79\x70\x71\x74\x20\x20\x20\x07\x09\x00</Signature>
<Signature offset="17" from="end" count="1">\x56\x43\x61\x6E\x6F\x6E\x41\x56\x43\x30\x30\x30\x31\x00\x00\x00\x00</Signature>
</FileType>
</FileTypeList>
7. Save the XML file.
8. Open R-studio
9. Select the drive to scan
10. From the program menu choose Drive > Scan
11. R-Studio confuses Canon5DmkII's vieo files with a 3G video format so to prevent that I'd recommend scanning only for these video files even if you have other media and scanning for other files in a different scan.
To do that, in Scan dialog box, make sure the box
"Extra Search for Known File Types" is selected
then press Known File Types button and make sure everything is deselected except "Canon5DMKII HD Video" under "Custom". Click OK.
12. I'd recommend saving the scan info file by choosing a location for the file in the Scan dialog box.
13. Make sure "Detailed" scan option is selected and press Scan
R-Studio should be able to find the files. Once you make sure R-Studio does to job, go ahead and purchase a license so that you can recover the files and copy them to your hard drive.
It is likely that in addition to all your lost files, r-studio will find one extra file that is unusually large and will be the last file in number. you should disregard this file.
14. Once you've recovered the files, you'll need to rename them as .mov files
--- END ---
Bugs:
One is that R-Studio finds one additional file that is unusually large. My whole lost footage was 4.7GB the last file in the list is 10GB. Maybe this is because it starts from the beginning of first file and goes on till the end of last file and gets everything in between.
Secondly, I don't know how to make this so that the file extensions are .mov and need no renaming.
http://www.techsupportforum.com/hardwar ... ost2015096
Please see the end of tutorial for details on 2 bugs with the code.
--- Canon 5D Mark II HD Video File Recovery Tutorial ---
by smete AND THANKS TO RAPTOR_PA
So for all those who might end up corrupting or accidentally deleting your flash drive and are looking to recover lost movie files shot by Canon 5D Mark II, here is the tutorial:
1. Download R-studio from http://www.r-studio.com/
(It would be wise to use to first demo the product and make sure it'll find the files before purchasing it)
2. Install the program on a drive that you are NOT trying to recover from
3. Open the R-studio program folder (most likely C:\Program Files\R-Studio)
4. Create a new .txt file and name it FileTypes.xml
5. Open the XML file with notepad
6. Copy and paste the following code:
<?xml version="1.0" encoding="utf-8"?>
<FileTypeList>
<!-- Search for Canon 5D Mark II -->
<FileType id="5627" group="Custom" description="Canon5DMKII HD Video" features="TXT_ANSI">
<Signature offset="0" from="begin" count="1">\x00\x00\x00\x18\x66\x74\x79\x70\x71\x74\x20\x20\x20\x07\x09\x00</Signature>
<Signature offset="17" from="end" count="1">\x56\x43\x61\x6E\x6F\x6E\x41\x56\x43\x30\x30\x30\x31\x00\x00\x00\x00</Signature>
</FileType>
</FileTypeList>
7. Save the XML file.
8. Open R-studio
9. Select the drive to scan
10. From the program menu choose Drive > Scan
11. R-Studio confuses Canon5DmkII's vieo files with a 3G video format so to prevent that I'd recommend scanning only for these video files even if you have other media and scanning for other files in a different scan.
To do that, in Scan dialog box, make sure the box
"Extra Search for Known File Types" is selected
then press Known File Types button and make sure everything is deselected except "Canon5DMKII HD Video" under "Custom". Click OK.
12. I'd recommend saving the scan info file by choosing a location for the file in the Scan dialog box.
13. Make sure "Detailed" scan option is selected and press Scan
R-Studio should be able to find the files. Once you make sure R-Studio does to job, go ahead and purchase a license so that you can recover the files and copy them to your hard drive.
It is likely that in addition to all your lost files, r-studio will find one extra file that is unusually large and will be the last file in number. you should disregard this file.
14. Once you've recovered the files, you'll need to rename them as .mov files
--- END ---
Bugs:
One is that R-Studio finds one additional file that is unusually large. My whole lost footage was 4.7GB the last file in the list is 10GB. Maybe this is because it starts from the beginning of first file and goes on till the end of last file and gets everything in between.
Secondly, I don't know how to make this so that the file extensions are .mov and need no renaming.