Need help - Will Pay $ - Someone Familiar with Repairing CR2 files?


Recommended Posts

Had a hard drive go south prior to backup of a wedding. Am in desperate need. Recovered from original media card the CR2 files I shot; was near 800 in all. All but 100 of them are corrupted as recovered from the CF card. They are all recognized as CR2 files in Explorer and even have the correct file sizes. But neither Lightroom, Canon Photo Utility, Photoshop or any other editors will open them. I've tried ExiftTool to extract JPGs, got file format errors. I have a Hex Editor but can't make heads or tails of what I'm looking at. I'm out of options and don't want to have to tell this couple I have lost their photos. Anyone out there have experience with repairing this type of file corruption that can do the work or have suggestions? PLEASE. Need help!!!!

CR2Repair prompts me to download Stellar Photo Repair, which is the program I used to recover the CR2 files from the CF Card. But although it says in the description that the software can repair corrupted headers, I can't for the life of me figure out how to do that. 

you can use PhotoInfo to recover the JPEG from the EXIF, if the header is still OK or has minor damage; if the header is very damaged than even if the data is still OK (doubt it), you can't access it. Please post the EXIFTool result here, so we can see if it's still possible to recover something. Also did you try PhotoInfo? There's also Quick JPEG from CR2, but i haven't tried it: http://www.gdzid.com/QJFC.htm

_MG_8767.CR2

Main Info

 

Filename

_MG_8767.CR2

Directory

H:

Image type

Canon Raw File

Width

0 pixels

Height

0 pixels

File size

23.1Mb

File created date

11/25/2013 12:17:38 PM

File modified date

9/7/2013 5:30:30 PM

Bits Per Plane

8

Planes

3

Dpi

72 pixels

tada

 

or8tV1x.png

 

edit:zhangm beat me to it.

 

anyways, just mangled headers. the header is in the middle of the file. to fix the image, start at the header, cut from there till the end of the file, this will include the header and some image data, and paste this back at the top of the file, so whatever you pasted is the header+some image data,then the rest of the data will follow. save and you have your image. its tedious if you have many images. i might be able to write you a program to automate it. i cant do it now though.

I'm using XVI32 to view the files, find the second instance of FF E0 in each one, and delete up to that point.

http://www.chmaas.handshake.de/delphi/freeware/xvi32/xvi32.htm

http://www.mikekunz.com/image_file_header.html

XVI32 is scriptable, so check out the documentation on their site.

This is greek to me. Any help in salvaging these images would be so appreciated. Let me look over the post, get the program and take a stab. Worst case scenario I get nowhere and hire you :-)

There are 800 images. Need to salvage as many as I can. 
 

turns out, this is just the lossless jpeg image that is stored as grayscale. there is still plenty of info in the file such as color that needs to be parsed. i'll definitely parse the file further hoping to demangle it so it displays correctly.

ok heres the deal. it looks like in each of the 2 files you provided, there is the complete grayscale image, and some color data, about 1/4 color of the image. there is other data in the file, but this looks like color data of a different file. i tried replacing the 3/4 color data in one file from the other one you gave me, but it isnt the right one. the problem is that parts of different files are mangled in between and they may not be in order.

 

you provided image files 8767,and 8768. if you could upload 5 images before 8767 and 5 images after 8768, i could then try using the color information from those files into the 2 images i currently have. if the correct color exists in these for the 2 files i have, then hopefully there is a pattern where we could see for example 3 filename numbers back has the correct color information for us to complete the current numbered image.

If you want to get a raw byte-by-byte image of the entire memory card to me, perhaps from that I could attempt to repair the filesystem and see if we can get the entire set of files restored.

Instructions for doing the above (so you can get on with some of it if I've gone to bed):

 

Capturing the device image:

 

We're going to use the Linux dd command with a 'Live' Linux CD. (I'm presuming you're not using Linux as your main operating system right now, else some of this is redundant).

 

Note, in regards to storage space for saving this device image; The image file is going to be slightly larger than the total volume size of the memory card you're copying. Whether though you actually need this amount of space to store it depends on whether the file system of the device you're storing it on uses compression and if so how much space can be saved. FAT does not use compression, but NTFS does. If you're going to save it to a hard drive, it's perhaps unecessary to point this out, but if you're saving to a pen drive or another memory card, this fact may be important!

 

Also note, I'm generally presuming you're using a Windows computer and therefore NTFS; Ubuntu may 'mount' your NTFS partitions automatically, if not, the following instructions may help: http://superuser.com/questions/352157/mount-ntfs-windows-partition-on-ubuntu-live-cd

 

1) Download a Linux live CD (E.g the standard desktop Ubuntu install disk)

2) Burn it to disk

3) Reboot your computer and boot this (I presume you need no instructions here, ask if you do). At some point during booting it, it'll give you an option to "try ubuntu without making changes to your computer", that's the one you want.

4) Connect the memory card if you haven't already

5) Connect the device/card you're going to save the image file to, if necessary

6) Load a terminal (command prompt)

7) Enter the following, modifying the references to the devices as necessary:

sudo dd if=/dev/hda of=/dev/hdb/image.dd bs=512 conv=noerror,sync

Where /dev/hda is the device to copy from and /dev/hdb is the device to save the file to.

8) When it's completed, you can shutdown and boot your normal OS

 

Getting it to me:

 

We'll use torrents as an efficient mechanism if you're happy with that.

 

1) Download and install utorrent (or other client of choice)

2) File > create new torrent

3) Point it to the image file (image.dd) created above

4) Leave all other options as defaults, i.e. leave the public trackers, leave 'start seeding' checked, leave 'private torrent' UNchecked

5) Click 'create' and save the small torrent file somewhere

6) Email me that little torrent file (I can give you my email via PM)

7) I'll open the torrent file in my torrent client which will start copying the file over to my computer, we just need to leave our computers on until I've got it, then I can start to work on it

Oh, something I forgot when writing the above instructions, when sending it to me, stick the image file in a zip file to compress it, then make the torrent with the zip file. That may reduce the size of the file to be transfered. I presume you need no instructions for this, but just ask if you do.

How large is this file going to be? Just thinking that using a service like http://ge.tt might be easier, if you are not a torrent user already.

 

 

What is the maximum/largest file size?

We do not limit the file size you can upload, but your account may not have enough storage space for the file. If that's the case you can upgrade your account to get more space.

Some browsers may limit you to 2GB per file. If this is a problem, then you can use a newer browser. Chrome is always a good choice.

 

What is the storage limit without an account?
You have 250MB of storage space without creating an account. If you create a free account you will receive 2GB space.
 
  • 2 weeks later...
This topic is now closed to further replies.
  • Posts

    • So what am I quoting from them? I never listened to what Farage or his cronies said. I wanted the U.K to leave the E.u years before the referendum and it had nothing to do with Farage and his cronies. So what country do you live in? Did we work much better together? We were always at logger heads with the E.U because we disagreed with them so much. Maggie was always on at them. I would have thought the E.U was glad to get rid of us as we stopped the integration or made it a two tier. Now without us they can integrate more. I would not have voted out if it was just a trading block and we can still work together on somethings.
    • MPC-BE 1.9.0 by Razvan Serea Media Player Classic - BE is a free and open source audio and video player for Windows. Media Player Classic - BE is based on the original "Media Player Classic" project (Gabest) and "Media Player Classic Home Cinema" project (Casimir666), contains additional features and bug fixes. The BE mod (Black Edition Mod) is a skinned version of Media Player Classic Home Cinema, much better looking than the plain old MPC. MPC-BE 1.9.0 changelog: Splitters Fixed crashes in some situations. AudioSplitter Added support for the RF64 format. Fixed reading of channel layout for some WavPack files. Added support for ID3 tags for Wave64 files. Unknown Wave64 chunks are now ignored. AviSplitter Added support for 'y408' video. Improved support for 'HEVC' video. FLVSplitter Added support for VVC video. MP4Splitter Improved handling of corrupted files. MatroskaSplitter Expanded support for V_UNCOMPRESSED video codecs. Fixed support for frame rotation (ProjectionPoseRoll). Improved support for "V_MS/VFW/FOURCC / HEVC". MpcDvdVideoDecoder Fixed conversion to YUY2. Fixed display of menus for some DVD-Videos. RoQVideoDecoder Output in NV12 and YV12 formats is allowed. Full range is used. MPC Video Decoder RGB32 format will be output as a top-down bitmap by default. Added support for the "IID_MediaSideDataDOVIMetadataV2" interface. Removed support for the deprecated "IID_MediaSideDataDOVIMetadata" interface. Fixed retrieving the name of the video adapter when using NVDEC. Fixed crashes in some situations. MPC Video Converter Added support for AYUV video format. MpcAudioRenderer Improved input format validation. Optimized retrieval of supported formats for exclusive mode. Added the "Keep audio device active when paused" setting. Fixed crashes and freezes in various situations. Subtitles Added the ability to open the properties of an external subtitle renderer in the "Subtitles" settings panel. Fixed external subtitle connections for VSFilter. Fixed a crash when rendering PGS/SUP subtitles when using AVX2. YouTube Improved support for yt-dlp. The built-in YouTube parser is no longer used. Player The HTTP read strategy has been changed. If the playlist contains one entry, more key combinations can be used to control the player (jump through chapters, adjust volume). Improved support for reading ASX playlists. The translation of the MediaInfo report for Chinese, Korean and Japanese has been removed. Added blocking of 32-bit filter "PICVideo Lossless JPEG Decompressor" (pvljpg20.dll), because it crashes. Added blocking of the system filter "AVI Decompressor", which will eliminate the crash of VFW codecs. Fixed a rare crash when using the "/slave" key. Fixed a crash when getting a list of fonts for OSD. Added the ability to load an external audio file using hotkeys. Fixed opening a network path starting with \?\UNC. The "Determine duration when adding" playlist setting now works for YouTube video URLs. The "Online media services" settings panel has been redesigned. Added a "Merge files using FFmpeg" option to the file saving dialog. This option is activated when playing multiple streams obtained using yt-dlp. Added loading of local .dpl playlists ("DAUMPLAYLIST"). Fixed a hang when the user closes the player during the URL opening process. Various interface fixes. Installer Updated MPC Video Renderer 0.10.5. Updated MPC Script Source 0.2.17. Added MPC Image Source 0.3.6. Translations Updated Japanese translation (by tsubasanouta). Updated Chinese (Traditional) and Dutch translation (by beter). Updated Romanian translation (by Andrei Miloiu). Updated Hungarian translation (by mickey). Updated Turkish translation (by cmhrky). Updated German translation (by Klaus1189). Updated Chinese (Simplified) translation (by wushantao). Updated Italian translation (by mapi68). Updated Korean translation (by Hackjjang). Updated Chinese (Traditional) (by udfbe). Updated libraries dav1d 1.5.3-6-g04b69f9; ffmpeg n8.2-dev-1857-g4653e68aab; libpng git-v1.6.55-9-g7d52a8087; Little-CMS git-lcms2.18-26-gf739cda; MediaInfo git-v26.05-38-g702c9b7fd; ZenLib git-v0.4.41-91-g073f297; zlib 1.3.2. Download: MPC-BE 64-bit | Portable MPC-BE 64-bit | ~20.0 MB (Open Source) Download: MPC-BE 32-bit | Portable MPC-BE 32-bit Link: Media Player Classic - BE Home Page Get alerted to all of our Software updates on Twitter at @NeowinSoftware
    • Apple reportedly looks to blacklisted Chinese memory chips as RAM prices climb by Karthik Mudaliar Image via Apple Apple is reportedly trying to get a clearance from the Trump administration to buy memory from ChangXin Memory Technologies (CXMT) to get some relief from soaring DRAM prices. As per a report by the Financial Times, Apple approached the Commerce Department more than a month ago and also spoke to other officials and allies in Washington. For starters, CXMT is a company that's already been placed on the Pentagon's list of Chinese military companies. The Chinese company is the country's top DRAM maker. For Apple, the timing is certainly awkward but not surprising. Tim Cook had recently warned that Apple would have to raise prices because AI companies are buying up large amounts of memory for data centers, and just like that, Apple raised MacBook and iPad prices. Micron also recently revealed that customers have committed billions of dollars to secure memory supply years in advance, which shows us how aggressive securing infrastructure has become. This gives suppliers such as Samsung, SK Hynix, and Micron more leverage, while pushing hardware makers to look for alternatives. CXMT is one of those alternatives, but not the simplest one. Apple has spent many years trying to diversify parts of its supply chain away from China, especially for final assembly, while still depending heavily on Chinese manufacturing and suppliers. Even domestic brands from China are moving towards CXMT and YMTC instead of relying on Samsung, Micron, and SK Hynix. For Apple, though, it would invite more scrutiny than local Chinese companies. For now, this is more like a lobbying effort rather than a confirmed supply deal. There's no official statement from either of the parties. What is clearer, though, is the pressure behind such a request. AI demand has certainly made hardware a bottleneck, and companies are trying everything they can to bring things back to normal, even if that means making politically sensitive choices. Source: Financial Times
    • I did test it a month or so back, but ... the results I expect to be on the first page are not there.
    • Neowin is saying these are good prices? Thats crazy. As others have said they are just ######. Time for big tech to bring down the prices for real not this fake crap.
  • Recent Achievements

    • Week One Done
      flexorcist earned a badge
      Week One Done
    • One Month Later
      Woland13 earned a badge
      One Month Later
    • Week One Done
      Woland13 earned a badge
      Week One Done
    • One Year In
      bernmeister earned a badge
      One Year In
    • Week One Done
      Scoobystu earned a badge
      Week One Done
  • Popular Contributors

    1. 1
      +primortal
      486
    2. 2
      +Edouard
      220
    3. 3
      PsYcHoKiLLa
      147
    4. 4
      Steven P.
      74
    5. 5
      FloatingFatMan
      70
  • Tell a friend

    Love Neowin? Tell a friend!