<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Not a complete failure &#187; Movie Repair</title>
	<atom:link href="http://aeroquartet.com/wordpress/category/movie-repair/feed/" rel="self" type="application/rss+xml" />
	<link>http://aeroquartet.com/wordpress</link>
	<description>by Benoît Joossen (SimpleMovieX and Movie Repair Service)</description>
	<lastBuildDate>Sun, 18 Jul 2010 07:50:01 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>The Everest of movie repairs</title>
		<link>http://aeroquartet.com/wordpress/2010/01/17/the-everest-of-movie-repairs/</link>
		<comments>http://aeroquartet.com/wordpress/2010/01/17/the-everest-of-movie-repairs/#comments</comments>
		<pubDate>Sun, 17 Jan 2010 19:58:34 +0000</pubDate>
		<dc:creator>Benoit Joossen</dc:creator>
				<category><![CDATA[Movie Repair]]></category>

		<guid isPermaLink="false">http://www.aeroquartet.com/wordpress/?p=97</guid>
		<description><![CDATA[From time to time, I receive an Everest-class repair.
Mount Everest, the highest summit on earth, can barely be climbed by men. Only an elite of alpinists can reach the 8848m without help of oxigen.
In some way, it is measuring the capacity of humans. A bit higher and it would be physiologically impossible to climb.
Similarly, every [...]]]></description>
			<content:encoded><![CDATA[<p>From time to time, I receive an <strong>Everest-class</strong> repair.<br />
Mount Everest, the highest summit on earth, can barely be climbed by men. Only an elite of alpinists can reach the 8848m without help of oxigen.<br />
In some way, it is <em>measuring the capacity of humans</em>. A bit higher and it would be physiologically impossible to climb.</p>
<p>Similarly, every two or three months, I receive a movie repair that is <strong>at the edge of impossible</strong>. It has this rare quality of being too damaged to be repaired with known techniques, but at the same time I foresee that there is a small chance that a new technique may fix it.</p>
<div align=center><img src="http://aeroquartet.com/img/everestBefore.jpg" alt="Defective Frame, before Repair" />
</div>
<p>Officialy, I don&#8217;t call it Everest-class, but rather <strong>Investigative Repair</strong>, to convey to the customer three important ideas:<br />
- I have to develop something <em>radically new</em>. A unique solution for a unique case.<br />
- it&#8217;s gonna be <em>expensive</em> (I charge usually one order of magnitude more for those repairs)<br />
- at the end, I can come to the conclusion that the repair is impossible. <em>Results are not guaranteed</em>.</p>
<p>I do such repairs primarly to challenge my repair ability and to push the enveloppe of the discipline. As boring as repairing movies may seem, an Everest-class repair is when there&#8217;s adventure, struggle and achievement. </p>
<p>The last Everest-class repair came last month: <a href="http://en.wikipedia.org/wiki/Canon_EOS_5D_Mark_II">Canon EOS 5D Mark II</a> files with some bitstream corruption. Mr Szot, the polish director, did not notice the problem until the production was finished. The clips, needed for a 15 minutes short movie called <a href="http://www.anexclusive.blogspot.com">&#8220;An Exclusive&#8221;</a>, could not be shot again.</p>
<p> I observed around fifty defects in a dozen of files. The footage is encoded in <a href="http://aeroquartet.com/movierepair/h264.html">H264</a>, where one wrong bit can propagate nefarious effects over a dozen of frames. Even with &#8220;creative editing&#8221;, it would be impossible to tell the story: For some important takes, the footage was unusable.</p>
<p>In 99% of the repairs, the problem consists in <a href="http://aeroquartet.com/movierepair/reindexing.html">re-indexing</a> the clip: Audio and Video media is fine but the &#8220;table of contents&#8221; that tells where the data for each frame, is missing.<br />
But here, it&#8217;s the opposite. The table of contents is fine, but the media is corrupt. </p>
<p>Not that corrupt, according to real world standards, since the amount of bad data is only 1 for 100 millions. Like a rare disease that would affect just 70 people in the world population. The typical needle-in-a-hay-stack problem. Change needle for bits and haystack for a file with one billion bits and you get the idea.</p>
<h3>Bits Flipping Party</h3>
<p>The repair technique lies on a simple idea: when decoding the frame, the wrong bit will cause errors and exceptions that eventually stop the decoding process. That is what we observe in a defective frame: the top is ok, then something occurs, then the rest of the frame is not decoded.<br />
The location where it stops should be close to the wrong bit. Never before, at a short distance after.<br />
From here, we will go backward and <em>flip</em> the bits one by one, until we get something that decodes without error.</p>
<div align=center><img src="http://aeroquartet.com/img/everestAfter.jpg" alt="Defective Frame, after Repair" />
</div>
<p>I made a bold assumption here: that wrong bits are extremely rare. So rare that we can consider that there is only one wrong bit involved in every decoding error.<br />
I had nothing to really back this assumption: If it&#8217;s true, we would be able to repair. If it&#8217;s wrong, it would be impossible. Checking the assumption thus became a priority before engaging into time consuming developments.</p>
<p>There&#8217;s a second assumption: The distance between the wrong bit and the error is small.<br />
One iteration will be needed for every bit, and iterations are slow since they decode several video frames each. Not just one frame, but the whole group from the I keyframe to the damaged frame. That can take several seconds, so if we have thousands of iterations, it would become impracticable.</p>
<h3>Prototype and Automation</h3>
<p>I assembled a prototype from various pieces, an open-source H264 decoder, a couple of small programs to flip bits and to detect errors and generate pictures from potentially successful iterations.<br />
I tried it on a first defect, a slow process since almost everything had to be done by hand, and results have to be carefully interpreted.<br />
When I finally managed to get a good picture out of the prototype, it was <strong>unbelievable</strong>. I had found the needle.</p>
<p>Since I had almost fifty defects to fix, I spent some time automating the process. At the end, I would only have to send a few command-line commands, choose manually the starting point of the search, and launch it.<br />
The computer would run for minutes, sometimes hours, until it starts spitting pictures.<br />
I had to review the pictures one by one, until I could find one that was perfect.<br />
Then, I would modify by the wrong bit in the movie and verify that it fixed the frame and also the rest of frames in the &#8220;Group of Pictures&#8221;.</p>
<p>In some cases, fixing a frame would just unveil a defective one a few frames later. Just as one train may hide another&#8230;</p>
<p>Finally, I managed to clean completely all but one defect. This was quite a surprise. I would never have anticipated such a desperate repair attempt to work with a 98% success rate.</p>
<p>My customer, Mr Szot, is happy. His film <a href="http://www.anexclusive.blogspot.com">&#8220;An Exclusive&#8221;</a> will be presented this week to the polish public.</p>
]]></content:encoded>
			<wfw:commentRss>http://aeroquartet.com/wordpress/2010/01/17/the-everest-of-movie-repairs/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Recover videos in damaged disks and cards</title>
		<link>http://aeroquartet.com/wordpress/2009/11/30/recover-videos-in-damaged-disks-and-cards/</link>
		<comments>http://aeroquartet.com/wordpress/2009/11/30/recover-videos-in-damaged-disks-and-cards/#comments</comments>
		<pubDate>Mon, 30 Nov 2009 11:23:59 +0000</pubDate>
		<dc:creator>Benoit Joossen</dc:creator>
				<category><![CDATA[Movie Repair]]></category>

		<guid isPermaLink="false">http://www.aeroquartet.com/wordpress/?p=58</guid>
		<description><![CDATA[For Mac users, I have already covered this topic a few months ago, but now I have a better tool in development that will be ready before Xmas. I will unveil it very soon.



For Windows users, I have recently found a good technique to create a disk image from the damaged disk or card, which [...]]]></description>
			<content:encoded><![CDATA[<p>For Mac users, I have already covered <a href="http://www.aeroquartet.com/wordpress/2009/06/17/your-best-ally-for-corrupt-card-recovery-disk-utility/">this topic</a> a few months ago, but now I have a better tool in development that will be ready before Xmas. I will unveil it very soon.</p>
<div align=center>
<img src="http://aeroquartet.com/img/woundedHDD.jpeg" alt="Damaged Disk or Card" />
</div>
<p>For <strong>Windows users</strong>, I have recently found a good technique to create a disk image from the damaged disk or card, which is the first step towards recovery of footage.<br />
Note that this can also be useful to Mac users <em>if the disk is not visible in the Finder, but is visible on a Windows PC.</em></p>
<p>In a nutshell, we use a small utility called <strong>dd for Windows</strong> that is able to read the raw data of a disk. (From now on, I will just use the word disk, and it can refer to a hard disk, a memory card or a USB drive)</p>
<p>Under the premise that the disk is readable, ie Windows detects it when you plug the disk or insert the card in the reader, &#8220;dd for Windows&#8221; should be able to create a file with about the size of the disk.</p>
<p>Here is the process, step by step:</p>
<p><sul>
<li><b>1. Download the utility:</b></li>
<p><a href="http://www.chrysocome.net/downloads/dd-0.5.zip">http://www.chrysocome.net/downloads/dd-0.5.zip</a></p>
<p>This program is free and distributed under GPL license. For more information, refer to the <a href="http://www.chrysocome.net/dd">product page</a>.</p>
<li><b>2. Unzip it and make a copy on your Desktop.</b></li>
<li><b>3. Connect the damaged disk to the computer. Your PC must detect it, otherwise the technique doesn&#8217;t work.</b></li>
<li><b>4. Open a DOS shell </b>(ie launch the program called <em>cmd</em>) <b>and type the command:</b></li>
<blockquote><p><code>dd --list</code></p></blockquote>
<p>And you will get a list of the devices connected to your computer.<br />
Here is what I get for example:</p>
<blockquote><p><kbd>rawwrite dd for windows version 0.5.<br />
Written by John Newbigin <jn@it.swin.edu.au><br />
This program is covered by the GPL.  See copying.txt for details<br />
Win32 Available Volume Information<br />
\\.\Volume{aef46cf9-3e3d-11de-b8c6-806d6172696f}\<br />
  link to \\?\Device\HarddiskVolume3<br />
  fixed media<br />
  Mounted on \\.\c:</p>
<p>\\.\Volume{aef46cf8-3e3d-11de-b8c6-806d6172696f}\<br />
  link to \\?\Device\CdRom0<br />
  CD-ROM<br />
  Mounted on \\.\d:</p>
<p>\\.\Volume{6f41f4b2-d11a-11de-b318-001d4f88486c}\<br />
  link to \\?\Device\Harddisk1\DP(1)0-0+5<br />
  removeable media<br />
  Mounted on \\.\f:<br />
</kbd></p></blockquote>
<p>Don&#8217;t be afraid, it&#8217;s just a list of the devices connected to your computer.<br />
Here the interesting device is the <strong>F:\</strong> volume described as <strong>removeable media</strong>: this is the card that I want to recover. Take note of the corresponding volume name:<br />
<code>\\.\Volume{6f41f4b2-d11a-11de-b318-001d4f88486c}</code></p>
<p>This volume name starting with <strong>\\.\Volume{</strong> and ending with <strong>}</strong> will be used in step #6.</p>
<li><b>5. Verify that you have enough space available on your hard disk. The rule of the thumb is that a 4GB card will produce a 4GB file, a 120GB hard disk will need 120GB and so on.</b></li>
<li><b>6. Type the command below. Of course, you will replace my volume name by the volume name that you have noted from <em>dd &#8211;list</em> output:</b></li>
<blockquote><p><code>dd if=\\.\Volume{6f41f4b2-d11a-11de-b318-001d4f88486c} of=c:\usb.img bs=1M</code></p></blockquote>
<p></sul></p>
<p>This command creates a file called <strong>c:\usb.img</strong> that is a carbon-copy of the damaged disk.<br />
The operation can take a long time. For 1GB, it can take one minute or more. For 120GB, it will take several hours.</p>
<p>Note that you can monitor the size of the <em>c:\usb.img</em> file as it grows from 0 to the size of the disk: It will give you an idea of the progress.</p>
<p><strong>What do I do with the .img file?</strong><br />
Now if everything went fine, you should have a .img with a size similar to the disk capacity.<br />
If the disk still contains footage, the footage must now be inside this file also, and we can do a diagnostic of the file and hopefully, repair it.</p>
<p>For Mac users, Diagnostic and Repair have already been covered in <a href="http://www.aeroquartet.com/wordpress/2009/08/06/a-guided-tour-to-movie-repair/">a previous post</a>.<br />
For Windows users, the .img file can now be used to create an extract that will be uploaded to Aero Quartet. This is explained in the <a href="http://aeroquartet.com/movierepair/home.html">Movie Repair Guide</a> in the <a href="http://aeroquartet.com/movierepair/windows.html">Windows</a> page.</p>
]]></content:encoded>
			<wfw:commentRss>http://aeroquartet.com/wordpress/2009/11/30/recover-videos-in-damaged-disks-and-cards/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>A guided tour to Movie Repair</title>
		<link>http://aeroquartet.com/wordpress/2009/08/06/a-guided-tour-to-movie-repair/</link>
		<comments>http://aeroquartet.com/wordpress/2009/08/06/a-guided-tour-to-movie-repair/#comments</comments>
		<pubDate>Thu, 06 Aug 2009 21:43:26 +0000</pubDate>
		<dc:creator>Benoit Joossen</dc:creator>
				<category><![CDATA[Movie Repair]]></category>

		<guid isPermaLink="false">http://www.aeroquartet.com/wordpress/2009/08/06/a-guided-tour-to-movie-repair/</guid>
		<description><![CDATA[This 4 minutes video will show you how a corrupt quicktime movie can be repaired in 3 easy steps.
Using Treasured and RepairMovie, of course.

]]></description>
			<content:encoded><![CDATA[<p>This 4 minutes video will show you how a corrupt quicktime movie can be repaired in 3 easy steps.<br />
Using <a href="http://aeroquartet.com/movierepair/download.html">Treasured</a> and <a href="http://aeroquartet.com/movierepair/onlineHelp/welcome%20to%20repair%20kit.html">RepairMovie</a>, of course.</p>
<p><object width="425" height="344"><param name="movie" value="http://www.youtube.com/v/4fMeHWgkqdg&#038;hl=en&#038;fs=1&#038;"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/4fMeHWgkqdg&#038;hl=en&#038;fs=1&#038;" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="425" height="344"></embed></object></p>
]]></content:encoded>
			<wfw:commentRss>http://aeroquartet.com/wordpress/2009/08/06/a-guided-tour-to-movie-repair/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Lost file during QuickTime recording</title>
		<link>http://aeroquartet.com/wordpress/2009/07/23/lost-file-during-quicktime-recording/</link>
		<comments>http://aeroquartet.com/wordpress/2009/07/23/lost-file-during-quicktime-recording/#comments</comments>
		<pubDate>Thu, 23 Jul 2009 20:25:20 +0000</pubDate>
		<dc:creator>Benoit Joossen</dc:creator>
				<category><![CDATA[Movie Repair]]></category>

		<guid isPermaLink="false">http://www.aeroquartet.com/wordpress/2009/07/23/lost-file-during-quicktime-recording/</guid>
		<description><![CDATA[QuickTime Pro offers a convenient way to record a video or audio file, for example using the built-in camera present in all recent Macs.
But the recording process can fail for a number of reasons, like battery failure or lack of disk space. In most cases, you can recover the movie following a few easy steps:
Find [...]]]></description>
			<content:encoded><![CDATA[<p><strong>QuickTime Pro</strong> offers a convenient way to record a video or audio file, for example using the built-in camera present in all recent Macs.<br />
But the recording process can fail for a number of reasons, like battery failure or lack of disk space. <strong>In most cases, you can recover the movie following a few easy steps:</strong></p>
<li><strong>Find the temporary file containing the audio or video</strong>.</li>
<p>The first and most important thing is to prevent the file from being deleted by the system. As it&#8217;s a temporary file, rebooting the computer could delete the file.</p>
<p><strong>Do not reboot your computer!</strong></p>
<p>We will find the file and move it to a safe place. The location of the file depends on the volume on which you were recording:</p>
<p><strong>In Boot volume:</strong><br />
Boot volume is usually your internal hard disk. It&#8217;s the disk that contains the operating system and your home folder.<br />
In this case, the movie file is located in <code>/private/var/folders/</code> </p>
<p>This folder is not visible in the Finder. It&#8217;s hidden because you are not supposed to store your data here. But there&#8217;s a way to explore this folder anyway:</p>
<p>From the Finder, use menu <strong>Go > Go to Folder &#8230;</strong> and typeÂ <code>/private/var/folders/</code></p>
<p>A Finder window opens, revealing a few subfolders. Now you can search inside, until you find one or several files with <strong>extension .mov</strong> and whose date of creation matches the QuickTime recording incident.<br />
Just move those files to the Desktop. Once on the Desktop, the files are safe.</p>
<p><strong>In an external drive, or a volume that is not the boot volume:</strong><br />
In this casem the file should be in this folder:<br />
<code>/Volumes/nameOfExternalDisk/.TemporaryItems/folders.501/TemporaryItems/<br />
</code></p>
<p>Note the . before TemporaryItems, it makes the folder invisible in the Finder.<br />
You must use <strong>Go > Go to Folder&#8230;</strong> and type the path like this:<br />
<code>/Volumes/nameOfExternalDisk/.TemporaryItems/</code></p>
<p>Do not forget to replace nameOfExternalDisk by the real name of the volume!</p>
<p>Then explore the subfolders until you find the .mov files whose creation date correspond to the QuickTime session, and move them to a new folder on the same volume.</p>
<li><strong>Repairing the files</strong></li>
<p>Now the files are in a safe place. You can reboot your computer if needed.</p>
<p>As the recording process was interrupted, the files are not playable: QuickTime gives an error message when you try to open them.<br />
Fortunately, there is <a href="http://aeroquartet.com/movierepair/download.html">Treasured</a>, and you can diagnose and preview the file.</p>
]]></content:encoded>
			<wfw:commentRss>http://aeroquartet.com/wordpress/2009/07/23/lost-file-during-quicktime-recording/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>5 tricks to pay less for your movie repair</title>
		<link>http://aeroquartet.com/wordpress/2009/06/26/5-tricks-to-pay-less-for-your-movie-repair/</link>
		<comments>http://aeroquartet.com/wordpress/2009/06/26/5-tricks-to-pay-less-for-your-movie-repair/#comments</comments>
		<pubDate>Fri, 26 Jun 2009 13:38:19 +0000</pubDate>
		<dc:creator>Benoit Joossen</dc:creator>
				<category><![CDATA[Movie Repair]]></category>

		<guid isPermaLink="false">http://www.aeroquartet.com/wordpress/2009/06/26/5-tricks-to-pay-less-for-your-movie-repair/</guid>
		<description><![CDATA[In some cases, it&#8217;s possible to pay $89 instead of $149 to have your footage fixed. Discover how&#8230;

Repair less files: Use Treasured to preview your damaged videos. If only one clip is really important to you, and if it&#8217;s less than 500MB in size, then it will cost you only $89 (Local Repair)

Repair smaller files: [...]]]></description>
			<content:encoded><![CDATA[<p>In some cases, it&#8217;s possible to pay $89 instead of $149 to have your footage fixed. Discover how&#8230;</p>
<ul>
<li><strong>Repair less files:</strong> Use <a href="http://aeroquartet.com/movierepair/download.html">Treasured</a> to preview your damaged videos. If only one clip is really important to you, and if it&#8217;s less than 500MB in size, then it will cost you only $89 (Local Repair)
</li>
<li><strong>Repair smaller files:</strong> Only files under 500MB apply for a cheaper Local Repair. If your file is bigger than that, but you are only interested in fixing a segment of the movie, then you can use Treasured to extract the segment, and request a repair only on this segment.
<p><em>Utilities > Sample Extraction&#8230;</em> in Treasured menu, creates a file called <em>extract</em> in your repair folder. Rename it and run Treasured on it.</li>
<li>Specify that you want <strong>only Audio or only Video</strong>: Usually, synchronization of audio and video accounts for a important slice of the final cost. Treasured lets you uncheck audio or video if you feel it&#8217;s not necessary.</li>
<li>Don&#8217;t check <strong>Absolute Privacy</strong> if you don&#8217;t need it. <a href="http://aeroquartet.com/movierepair/privacy.html">Regular level of privacy</a> is good enough for the vast majority of repairs. Absolute Privacy commands an extra cost.</li>
<li><strong>Be patient&#8230;</strong> Repair costs will go down as repair techniques improve. Check the repair cost again after 3 months. Maybe it&#8217;s significantly lower.</li>
]]></content:encoded>
			<wfw:commentRss>http://aeroquartet.com/wordpress/2009/06/26/5-tricks-to-pay-less-for-your-movie-repair/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Your best ally for corrupt card recovery: Disk Utility</title>
		<link>http://aeroquartet.com/wordpress/2009/06/17/your-best-ally-for-corrupt-card-recovery-disk-utility/</link>
		<comments>http://aeroquartet.com/wordpress/2009/06/17/your-best-ally-for-corrupt-card-recovery-disk-utility/#comments</comments>
		<pubDate>Tue, 16 Jun 2009 22:07:15 +0000</pubDate>
		<dc:creator>Benoit Joossen</dc:creator>
				<category><![CDATA[Movie Repair]]></category>

		<guid isPermaLink="false">http://www.aeroquartet.com/wordpress/2009/06/17/your-best-ally-for-corrupt-card-recovery-disk-utility/</guid>
		<description><![CDATA[When your memory card gets corrupt with tens or hundreds of megabytes of footage, video clips or movies, you have not one but two problems:

Extract data from the magma that has now become your P2 card or your SDHC. (I told you not to buy the cheapest!)
Organize this data into playable movies.

For the second problem, [...]]]></description>
			<content:encoded><![CDATA[<p>When your memory card gets corrupt with tens or hundreds of megabytes of footage, video clips or movies, you have not one but two problems:</p>
<ul>
<li>Extract data from the magma that has now become your P2 card or your SDHC. (I told you not to buy the cheapest!)</li>
<li>Organize this data into playable movies.</li>
</ul>
<p>For the second problem, I have the solution: <a href="http://aeroquartet.com/movierepair/download.html">Treasured</a> for diagnostic, then a <a href="http://aeroquartet.com/movierepair/">Repair Kit</a> that I develop for you.<br />
But for the first one, until recently, I could just recommend to use a data recovery software. Stuff relatively expensive, and that would give average-to-good results only: Data Rescue 2, FileSalvage, Stellar Phoenix 3, Boomerang, UnDelete Plus, Recover4all, &#8230;</p>
<p>I also would have proposed to use <a href="http://www.cgsecurity.org/wiki/PhotoRec">photoRec, a free, open source utility</a>, that seems to give the same average-to-good results as commercial products mentioned above. (But most people will not feel comfortable with its command line interface)<br />
I even went as far as recording a rudimentary <a href="http://aeroquartet.com/movierepair/photorec.mov">tutorial to help you use photoRec</a>.</p>
<div align="center">
<img src="http://aeroquartet.com/movierepair/DFA.png" alt="Disk Utility to recover movies" />
</div>
<p>Until I discovered <strong>Disk Utility</strong>!<br />
Disk Utility is a program that sits in your Utilities folder. It ships with every copy of Mac OS X.<br />
And it&#8217;s not even a data recovery program.</p>
<p>This small program is capable of creating a disk image of your damaged card. It&#8217;s like copying the card, but instead of copying the files as the Finder would do (remember, it&#8217;s corrupt, it won&#8217;t help), Disk Utility copies the card, as is.<br />
Imagine instead of a corrupt card, a damaged book with some missing index pages. The Finder would say it can&#8217;t copy anything because without index it doesn&#8217;t know where the chapters are.<br />
Disk Utility would just photocopy the whole book, without asking questions.</p>
<div align="center">
<img src="http://aeroquartet.com/movierepair/createImage.jpg" alt="Create a disk image of your corrupt card with Disk Utility" /><br />
<i>Creating your Disk Image from the damaged drive&#8230;</i></div>
<p>This disk image, a .dmg file, contains all the recoverable media. Because it contains all what the card contains.<br />
The beauty of the disk image is that we no longer have files, just raw data.<br />
So if you use Treasured on the .dmg file, you can preview all the media. From all files as if they were just one.</p>
<div align="center"><img src="http://aeroquartet.com/movierepair/createImage2.jpg" alt="Image Format: read-only<br />
Compression: none (or it won't work!)" /><br />
<i>Image Format: read-only<br />
Compression: none (or it won&#8217;t work!)</i></div>
<p>Finally, the Repair Kit, working on the .dmg file, will restore in one shot all the media contained in the card: All the clips will be merged into one playable movie file.</p>
<p>Now let&#8217;s be a bit more technical:<br />
<em>Why does Disk Utility work better than data recovery products?</em></p>
<ul>
<li>First and foremost, because Treasured and Repair Kits work on raw media data, so the file structure is not helping (and their lack-of is not disturbing). </li>
<li>And because data on cards is usually not very fragmented: Usage model is to fill the card (shoot until you can), then empty it, then fill again: Data layout is most likely linear on the card.</li>
</ul>
<p>I discovered this by chance! Disk Utility was not on my radar, until a customer, Karen, told me she had done a disk image of the card, just in case.<br />
Suddenly, a flash in my mind: Why not using the image on Treasured?<br />
And it worked beautifully!</p>
<p>Thanks Karen.</p>
]]></content:encoded>
			<wfw:commentRss>http://aeroquartet.com/wordpress/2009/06/17/your-best-ally-for-corrupt-card-recovery-disk-utility/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
<enclosure url="http://aeroquartet.com/movierepair/photorec.mov" length="3713464" type="video/quicktime" />
		</item>
		<item>
		<title>Can I make movie repairs effortless?</title>
		<link>http://aeroquartet.com/wordpress/2009/03/05/can-i-make-movie-repairs-effortless/</link>
		<comments>http://aeroquartet.com/wordpress/2009/03/05/can-i-make-movie-repairs-effortless/#comments</comments>
		<pubDate>Thu, 05 Mar 2009 14:52:40 +0000</pubDate>
		<dc:creator>Benoit Joossen</dc:creator>
				<category><![CDATA[Movie Repair]]></category>

		<guid isPermaLink="false">http://www.aeroquartet.com/wordpress/2009/03/05/can-i-make-movie-repairs-effortless/</guid>
		<description><![CDATA[A couple of weeks ago, I&#8217;ve released a new version of Treasured with some long-awaited improvements.
It&#8217;s not yet fulfilling my vision of a diagnostic and repair application, but still a huge step in the right direction.
Having a damaged movie repaired must become natural and almost effortless.



Remember two years ago, when all was done manually? I [...]]]></description>
			<content:encoded><![CDATA[<p>A couple of weeks ago, I&#8217;ve released a new version of <a href="http://aeroquartet.com/movierepair/download.html">Treasured</a> with some long-awaited improvements.<br />
It&#8217;s not yet fulfilling my vision of a diagnostic and repair application, but still a huge step in the right direction.</p>
<p>Having a damaged movie repaired must become <em>natural and almost effortless</em>.</p>
<div align="center">
<img src="http://aeroquartet.com/movierepair/effortless.jpeg" alt="Effortless movie repairs" />
</div>
<p>Remember two years ago, when all was done manually? I had to give instructions on how to extract a sample of the file, upload it. You had to spend one hour of your time, maybe more, just to do the first step. And only a few hours later I would send you a preview and propose a deal.</p>
<p>Repairing a movie required a certain engagement. It was hard, for me and for you.</p>
<p>Today all this is automated. Treasured shows the preview in a matter of seconds, extracts and uploads the file in a couple of clicks. A quotation for the repair is provided to help you decide.</p>
<p>But it&#8217;s not enough.</p>
<blockquote><p>Video professionals are always extremely busy, fighting to meet deadlines. When you stumble upon an unplayable clip that jeopardizes the delivery of the project, it becomes a crisis situation immediately. Every second counts.</p></blockquote>
<p>I understand that. The value lays not just in repairing the movie. It&#8217;s also in doing it fast, and spending as little of your time as possible.</p>
<p>Treasured is just the <strong>tip of the iceberg</strong>. Improvements in <a href="http://aeroquartet.com/movierepair/">Repair Service</a> are mostly underwater:</p>
<p><em>Today, where do you spend/waste time?</em></p>
<ul>
<li>1. Finding my service, and deciding to try it.<br />
If you need to do 20 Google searches, follow 50 links, try several products, until you finally find the one that works, you&#8217;ve probably wasted half a day. </li>
<li>2. Getting started with Treasured and sending a repair request.<br />
This one is already well optimized. Not a priority today.</li>
<li>3. Waiting for the Repair Kit.<br />
Developing a repair kit takes time. As I&#8217;m accumulating experience and building powerful repair tools, the lead time tends to go down.</li>
<li>4. Getting the Repair Kit to work.<br />
Repair kit can quickly become unfriendly applications. I know what are the common pitfalls when you try to use the kit for the first time. Big improvements can be done here to shorten this phase.</li>
<li>5. Getting through payment.<br />
I&#8217;m using a standard solution here, that works well.</li>
<li>6. Entering the code and running the repair again.<br />
I see it technically feasible to remove this step. Watermarks could be removed from movies in a breeze.</li>
</ul>
<p>Therefore, my vision of an effortless movie repair experience is still far from reality. But if I keep the same pace of work during 2009, I can probably walk half the distance.</p>
]]></content:encoded>
			<wfw:commentRss>http://aeroquartet.com/wordpress/2009/03/05/can-i-make-movie-repairs-effortless/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Treasured is finally out!</title>
		<link>http://aeroquartet.com/wordpress/2008/10/31/treasured-is-finally-out/</link>
		<comments>http://aeroquartet.com/wordpress/2008/10/31/treasured-is-finally-out/#comments</comments>
		<pubDate>Thu, 30 Oct 2008 22:22:27 +0000</pubDate>
		<dc:creator>Benoit Joossen</dc:creator>
				<category><![CDATA[Movie Repair]]></category>

		<guid isPermaLink="false">http://www.aeroquartet.com/wordpress/2008/10/31/treasured-is-finally-out/</guid>
		<description><![CDATA[That&#8217;s a breakthrough in movie repair technology. For the first time, you can preview your damaged files and decide what deserves to be repaired.
It&#8217;s early to tell if all the goals of Treasured have been met, but for sure the landscape has changed for me:
Ten to twenty times more people contact me for a movie [...]]]></description>
			<content:encoded><![CDATA[<p>That&#8217;s a breakthrough in movie repair technology. For the first time, you can preview your damaged files and decide what deserves to be repaired.</p>
<p>It&#8217;s early to tell if all the goals of Treasured have been met, but for sure the landscape has changed for me:<br />
Ten to twenty times more people contact me for a movie repair now. Treasured is definitively the hook that my Movie Repair Service needed.<br />
But two thirds of them are not actual customers, they are just playing with the app and uploading a trashed DivX or WMV file.</p>
<p>The remaining third is a mix of my traditional customer base of video professionals, and a new category of customers. By lowering the barrier to request a repair, I&#8217;m attracting new types of repairs, new types of files, for which Treasured was not initially designed or optimized.</p>
<p>Bottom line: My claim of 90% accurate diagnostic, 80% with preview, that I religiously checked before Treasured was released, is wrong due to the diversity of movies I&#8217;m seeing now.</p>
]]></content:encoded>
			<wfw:commentRss>http://aeroquartet.com/wordpress/2008/10/31/treasured-is-finally-out/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Teach a man to fish&#8230;</title>
		<link>http://aeroquartet.com/wordpress/2008/09/01/teach-a-man-to-fish/</link>
		<comments>http://aeroquartet.com/wordpress/2008/09/01/teach-a-man-to-fish/#comments</comments>
		<pubDate>Mon, 01 Sep 2008 19:34:32 +0000</pubDate>
		<dc:creator>Benoit Joossen</dc:creator>
				<category><![CDATA[Movie Repair]]></category>

		<guid isPermaLink="false">http://www.aeroquartet.com/wordpress/2008/09/01/teach-a-man-to-fish/</guid>
		<description><![CDATA[(Third installment of my â€œMovie Repair Guideâ€, where you&#8217;ll learn how a movie can be extracted from a larger file)

When you repair movies, you never know what you can find.
Yesterday I had an old shoe moment  while looking for some mountain footage in a corrupt file.
Some obscure AVI Windows file containing this infamous &#8220;Download&#8221; [...]]]></description>
			<content:encoded><![CDATA[<p><em>(Third installment of my â€œMovie Repair Guideâ€, where you&#8217;ll learn how a movie can be extracted from a larger file)</em></p>
<div align="center"><img src="http://aeroquartet.com/movierepair/shoe.jpg" alt="repairing movies often gives surprises" /></div>
<p>When you repair movies, you never know what you can find.<br />
Yesterday I had an <em><strong>old shoe moment </strong></em> while looking for some mountain footage in a corrupt file.<br />
Some obscure AVI Windows file containing this infamous &#8220;Download&#8221; animation surfaced when I least expected it:</p>
<div align="center">
<object classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B" codebase="http://www.apple.com/qtactivex/qtplugin.cab" width="272" height="60"><param name="src" value="http://aeroquartet.com/movierepair/junk.mov" /><param name="controller" value="false" /><param name="autoplay" value="true" /><param name="kioskmode" value="true" /><param name="LOOP" VALUE="true" /><object type="video/quicktime" data="http://aeroquartet.com/movierepair/junk.mov" width="272" height="60" class="mov"><param name="controller" value="false" /><param name="autoplay" value="true" /><param name="kioskmode" value="true" /><PARAM name="LOOP" VALUE="true" /><br />
  Error text.<br />
 </object><br />
</object></div>
<p>Today I&#8217;ll teach you to fish, in other words I&#8217;ll explain how to rescue movies from inside larger files. It will only work if certain conditions are met, but it&#8217;s an exciting experience&#8230; that can end with an <em>old shoe</em>. You&#8217;ve been warned.</p>
<div align="center">-=-=-</div>
<p><strong>Container Structure Correction</strong> is a repair technique that acts upon the container structure data, leaving the media data and the index and tables untouched.<br />
Unlike reindexing or other techniques that need to act on hundreds of audio or video frames, a structure correction is  usually a question of few bytes to correct or a misplaced block of data. For this reason, it can be done manually.</p>
<p>If the same correction has to be applied on a collection of files, then maybe it&#8217;s worth spending time automating the structure correction.</p>
<p><strong>Most common structure damages and how to fix them:</strong></p>
<li>Embedded movie</li>
<p>Full movie data, including container, is embedded in a larger file, for example after a data recovery.<br />
In this case, the data can be extracted and saved with the container suffix and it usually works.</p>
<p>In this example, we have examined the file with an Hex editor and have found an intact RIFF structure in the middle of a file. Note that the length of the structure 0&#215;49e4 is encoded just after RIFF in 32 bits, big-endian.<br />
A quick check shows that after 0&#215;49e4+8 bytes, there is suddenly no data, thus confirming that we are into something.</p>
<div style="font-family:courier new" align="left"><kbd>02a3970: 0000 0000 0000 0000 0000 0000 0000 0000  ................<br />
02a3980: 0000 0000 0000 0000 0000 0000 0000 0000  ................<br />
02a3990: 5249 4646 e449 0000 4156 4920 4c49 5354  RIFF.I..AVI LIST<br />
02a39a0: 2004 0000 6864 726c 6176 6968 3800 0000   ...hdrlavih8...<br />
02a39b0: 8545 0100 f816 0000 0000 0000 1008 0000  .E..............<br />
02a39c0: 0500 0000 0000 0000 0100 0000 7c0b 0000  ............|...<br />
02a39d0: 3c00 0000 3100 0000 0000 0000 0000 0000  <...1...........<br />
02a39e0: 0000 0000 0000 0000 4c49 5354 d403 0000  ........LIST....<br />
..........<br />
02a8310: b9b9 b9b9 b9b9 b9b9 b9b9 b9b9 b9b9 b9b9  ................<br />
02a8320: b9b9 b9b9 6964 7831 5000 0000 3030 6462  ....idx1P...00db<br />
02a8330: 1000 0000 0400 0000 7c0b 0000 3030 6462  ........|...00db<br />
02a8340: 1000 0000 880b 0000 7c0b 0000 3030 6462  ........|...00db<br />
02a8350: 1000 0000 0c17 0000 7c0b 0000 3030 6462  ........|...00db<br />
02a8360: 1000 0000 9022 0000 7c0b 0000 3030 6462  ....."..|...00db<br />
02a8370: 1000 0000 142e 0000 7c0b 0000 0000 0000  ........|.......<br />
02a8380: 0000 0000 0000 0000 0000 0000 0000 0000  ................</kbd>
</div>
<p>By copying this data to a new file and saving with an AVI suffix, we now have a valid movie.<br />
Make sure you copy exactly the required bytes, starting from the R in RIFF, ending after idx structure, otherwise it won't work.</p>
<li>Multiple moov atoms found, but last one is corrupt</li>
<p>When you edit a movie in-place (ie without writing again all the file), some edition softwares just add a new moov container at the end of the file, without bothering to remove older ones. If the file has become corrupt, those old containers can still work.<br />
The trick consists in finding the moov structures and redirect towards an older one.<br />
You'll need an Hex editor and good knowledge of QuickTime file format to do that.</p>
<li>Mispositioned blocks of data</li>
<p>Files from a data recovery can present defects: contents not matching the file name, truncated files, mashed contents coming from several files, moved or missing blocks.<br />
As data recovery acts at the lower filesystem level, the data is always presented in blocks, for example exactly 2048 bytes.<br />
A movie can fail to open because some blocks have been moved, duplicated or missing. The fact have blocks always have a length of 2048 bytes helps to detect and correct those problems. It's like solving a puzzle and is usually complex.</p>
]]></content:encoded>
			<wfw:commentRss>http://aeroquartet.com/wordpress/2008/09/01/teach-a-man-to-fish/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
<enclosure url="http://aeroquartet.com/movierepair/junk.mov" length="11255" type="video/quicktime" />
		</item>
		<item>
		<title>&#8220;Zip test&#8221;</title>
		<link>http://aeroquartet.com/wordpress/2008/08/16/zip-test/</link>
		<comments>http://aeroquartet.com/wordpress/2008/08/16/zip-test/#comments</comments>
		<pubDate>Sat, 16 Aug 2008 13:24:24 +0000</pubDate>
		<dc:creator>Benoit Joossen</dc:creator>
				<category><![CDATA[Movie Repair]]></category>

		<guid isPermaLink="false">http://www.aeroquartet.com/wordpress/2008/08/16/zip-test/</guid>
		<description><![CDATA[(Second instalment of &#8220;Movie Repair Guide&#8221;)
When confronted with a corrupt movie file, there&#8217;s a quick way to check that it still contains the media data, which is a necessary condition to repair it: the &#8220;Zip test&#8221;
We create a compressed version of the file, which tells us the compression rate. For example, 50% means that the [...]]]></description>
			<content:encoded><![CDATA[<p>(Second instalment of &#8220;Movie Repair Guide&#8221;)</p>
<p>When confronted with a corrupt movie file, there&#8217;s a quick way to check that it still contains the media data, which is a necessary condition to repair it: the &#8220;Zip test&#8221;</p>
<p>We create a compressed version of the file, which tells us the compression rate. For example, 50% means that the zip file is only half the size of the original one.</p>
<p>Audio and video data will give a low compression rate whereas other type of data will be around 50% or higher.</p>
<div align="center"><img src="http://www.aeroquartet.com/movierepair/zipTest.jpg" alt="Zip test" /></div>
<p>In Mac OS X, you can use the zip utility, either from the Finder, or from the Terminal:</p>
<p><code>zip --filename--</code></p>
<p>In Windows, you can use WinZip utility.</p>
<p>Here are aproximate compression rates you get:</p>
<ul>
<li>
For data completly erased (file full of zeroes), 90 to 100%</li>
<li>For alien data, 25 to 100% (Office documents: 50%, Applications: 40%)</li>
<li>For audio integer 16, 21%</li>
<li>For AIFF, 17%</li>
<li>For DVCHD Pro, 11%</li>
<li>For DV, 5 to 12%</li>
<li>For other video codecs, DivX with mp3, Intermediate, MPEG2, H264, JPEG: 0 to 8%</li>
</ul>
<p>There is a big gap between audio/video data and any other type of data. If you have a corrupt file, and the &#8220;Zip test&#8221; gives you a result over 25%, probably a complete repair is impossible because the data is partially or completely gone.</p>
<p>You can also refine the test by measuring on segments inside the file:</p>
<p>With a 500mb file, we split in 5 segments of 100mb and run the zip test on each segment with this two Mac OS X Terminal commands:</p>
<p><code>split -b 100m corrupt.mov<br />
zip deleteme xaa xab xac xad xae</code></p>
<p>(The first one, split, cuts the file in chunks of 100mb each, called xaa, xab, xac, xad and so on.)<br />
(The second creates a compressed archive called deleteme from xaa, xab, xac, xad and xae.)</p>
<p>This gives for example:</p>
<p><code>xaa (deflated 5%)<br />
xab (deflated 5%)<br />
xac (deflated 12%)<br />
xad (deflated 100%)<br />
xae (deflated 100%)</code></p>
<p>Which tells us that the media data in last two segments is probably lost. If a repair is possible, maybe 50 to 60% of the original file will be restored.</p>
]]></content:encoded>
			<wfw:commentRss>http://aeroquartet.com/wordpress/2008/08/16/zip-test/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
