ÿþ<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns="http://www.w3.org/TR/REC-html40"> <head> <meta http-equiv=Content-Type content="text/html; charset=unicode"> <meta name=ProgId content=Word.Document> <meta name=Generator content="Microsoft Word 11"> <meta name=Originator content="Microsoft Word 11"> <link rel=File-List href="HowIRebuildMyBrokenAVI_files/filelist.xml"> <link rel=Edit-Time-Data href="HowIRebuildMyBrokenAVI_files/editdata.mso"> <!--[if !mso]> <style> v\:* {behavior:url(#default#VML);} o\:* {behavior:url(#default#VML);} w\:* {behavior:url(#default#VML);} .shape {behavior:url(#default#VML);} </style> <![endif]--> <title>How I Rebuild my Broken AVI</title> <!--[if gte mso 9]><xml> <o:DocumentProperties> <o:Author>Andrew</o:Author> <o:LastAuthor>Greg Kochaniak</o:LastAuthor> <o:Revision>2</o:Revision> <o:TotalTime>30</o:TotalTime> <o:LastPrinted>2009-11-02T15:09:00Z</o:LastPrinted> <o:Created>2009-11-02T15:10:00Z</o:Created> <o:LastSaved>2009-11-02T15:10:00Z</o:LastSaved> <o:Pages>1</o:Pages> <o:Words>206</o:Words> <o:Characters>1177</o:Characters> <o:Company>HoriZon(s)</o:Company> <o:Lines>9</o:Lines> <o:Paragraphs>2</o:Paragraphs> <o:CharactersWithSpaces>1381</o:CharactersWithSpaces> <o:Version>11.9999</o:Version> </o:DocumentProperties> </xml><![endif]--><!--[if gte mso 9]><xml> <w:WordDocument> <w:SpellingState>Clean</w:SpellingState> <w:GrammarState>Clean</w:GrammarState> <w:PunctuationKerning/> <w:ValidateAgainstSchemas/> <w:SaveIfXMLInvalid>false</w:SaveIfXMLInvalid> <w:IgnoreMixedContent>false</w:IgnoreMixedContent> <w:AlwaysShowPlaceholderText>false</w:AlwaysShowPlaceholderText> <w:Compatibility> <w:BreakWrappedTables/> <w:SnapToGridInCell/> <w:WrapTextWithPunct/> <w:UseAsianBreakRules/> <w:DontGrowAutofit/> </w:Compatibility> <w:BrowserLevel>MicrosoftInternetExplorer4</w:BrowserLevel> </w:WordDocument> </xml><![endif]--><!--[if gte mso 9]><xml> <w:LatentStyles DefLockedState="false" LatentStyleCount="156"> </w:LatentStyles> </xml><![endif]--> <style> <!-- /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal {mso-style-parent:""; margin:0in; margin-bottom:.0001pt; mso-pagination:widow-orphan; font-size:12.0pt; font-family:"Times New Roman"; mso-fareast-font-family:"Times New Roman";} h1 {mso-style-next:Normal; margin-top:12.0pt; margin-right:0in; margin-bottom:3.0pt; margin-left:0in; mso-pagination:widow-orphan; page-break-after:avoid; mso-outline-level:1; font-size:16.0pt; font-family:Arial; mso-font-kerning:16.0pt;} span.SpellE {mso-style-name:""; mso-spl-e:yes;} @page Section1 {size:8.5in 11.0in; margin:1.0in 1.25in .5in 1.25in; mso-header-margin:.5in; mso-footer-margin:.5in; mso-paper-source:0;} div.Section1 {page:Section1;} /* List Definitions */ @list l0 {mso-list-id:731393268; mso-list-type:hybrid; mso-list-template-ids:1386611446 67698703 67698713 67698715 67698703 67698713 67698715 67698703 67698713 67698715;} @list l0:level1 {mso-level-tab-stop:.5in; mso-level-number-position:left; text-indent:-.25in;} @list l0:level2 {mso-level-number-format:alpha-lower; mso-level-tab-stop:1.0in; mso-level-number-position:left; text-indent:-.25in;} ol {margin-bottom:0in;} ul {margin-bottom:0in;} --> </style> <!--[if gte mso 10]> <style> /* Style Definitions */ table.MsoNormalTable {mso-style-name:"Table Normal"; mso-tstyle-rowband-size:0; mso-tstyle-colband-size:0; mso-style-noshow:yes; mso-style-parent:""; mso-padding-alt:0in 5.4pt 0in 5.4pt; mso-para-margin:0in; mso-para-margin-bottom:.0001pt; mso-pagination:widow-orphan; font-size:10.0pt; font-family:"Times New Roman"; mso-ansi-language:#0400; mso-fareast-language:#0400; mso-bidi-language:#0400;} </style> <![endif]--><!--[if gte mso 9]><xml> <o:shapedefaults v:ext="edit" spidmax="2050"> <o:colormenu v:ext="edit" fillcolor="none" strokecolor="lime"/> </o:shapedefaults></xml><![endif]--><!--[if gte mso 9]><xml> <o:shapelayout v:ext="edit"> <o:idmap v:ext="edit" data="1"/> </o:shapelayout></xml><![endif]--> <script type="text/javascript"> // Google Analytics var _gaq = _gaq || []; _gaq.push(['_setAccount', 'UA-19166990-1']); _gaq.push(['_trackPageview']); (function() { var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); })(); </script> </head> <body lang=EN-US style='tab-interval:.5in'> <div class=Section1> <div style='mso-element:para-border-div;border-top:solid windowtext 1.0pt; border-left:none;border-bottom:solid windowtext 1.0pt;border-right:none; mso-border-top-alt:solid windowtext .5pt;mso-border-bottom-alt:solid windowtext .5pt; padding:1.0pt 0in 1.0pt 0in'> <h1 align=center style='text-align:center;border:none;mso-border-top-alt:solid windowtext .5pt; mso-border-bottom-alt:solid windowtext .5pt;padding:0in;mso-padding-alt:1.0pt 0in 1.0pt 0in'>How I Rebuild my Broken AVI</h1> </div> <p class=MsoNormal><o:p>&nbsp;</o:p></p> <p class=MsoNormal>Please note that I have deleted the broken AVI so I created a simulation good file of it. But the file is containing really same content so my steps here are really the same.</p> <p class=MsoNormal><o:p>&nbsp;</o:p></p> <ol style='margin-top:0in' start=1 type=1> <li class=MsoNormal style='mso-list:l0 level1 lfo1;tab-stops:list .5in'>First, identify what type of codec that AVI file is by looking at the header. This is required if the option Video Compressor is set to  Auto-select . In this case, my type is MSVC. This offset:</li> </ol> <p class=MsoNormal><!--[if gte vml 1]><v:roundrect id="_x0000_s1028" style='position:absolute; margin-left:345.6pt;margin-top:134.6pt;width:31.55pt;height:12.85pt;z-index:1' arcsize="10923f" filled="f" strokecolor="red" strokeweight="1.5pt"/><![endif]--><![if !vml]><span style='mso-ignore:vglayout;position:absolute;z-index:1;margin-left:459px; margin-top:178px;width:45px;height:20px'><img width=45 height=20 src="HowIRebuildMyBrokenAVI_files/image001.gif" v:shapes="_x0000_s1028"></span><![endif]><!--[if gte vml 1]><v:shapetype id="_x0000_t75" coordsize="21600,21600" o:spt="75" o:preferrelative="t" path="m@4@5l@4@11@9@11@9@5xe" filled="f" stroked="f"> <v:stroke joinstyle="miter"/> <v:formulas> <v:f eqn="if lineDrawn pixelLineWidth 0"/> <v:f eqn="sum @0 1 0"/> <v:f eqn="sum 0 0 @1"/> <v:f eqn="prod @2 1 2"/> <v:f eqn="prod @3 21600 pixelWidth"/> <v:f eqn="prod @3 21600 pixelHeight"/> <v:f eqn="sum @0 0 1"/> <v:f eqn="prod @6 1 2"/> <v:f eqn="prod @7 21600 pixelWidth"/> <v:f eqn="sum @8 21600 0"/> <v:f eqn="prod @7 21600 pixelHeight"/> <v:f eqn="sum @10 21600 0"/> </v:formulas> <v:path o:extrusionok="f" gradientshapeok="t" o:connecttype="rect"/> <o:lock v:ext="edit" aspectratio="t"/> </v:shapetype><v:shape id="_x0000_i1025" type="#_x0000_t75" style='width:6in; height:318pt'> <v:imagedata src="HowIRebuildMyBrokenAVI_files/image002.jpg" o:title="1-IdentifyCodecType"/> </v:shape><![endif]--><![if !vml]><img width=576 height=424 src="HowIRebuildMyBrokenAVI_files/image003.jpg" v:shapes="_x0000_i1025"><![endif]></p> <p class=MsoNormal><o:p>&nbsp;</o:p></p> <ol style='margin-top:0in' start=2 type=1> <li class=MsoNormal style='mso-list:l0 level1 lfo1;tab-stops:list .5in'>Create a sample good clip based on that codec. Then open it.</li> </ol> <p class=MsoNormal><!--[if gte vml 1]><v:shape id="_x0000_i1026" type="#_x0000_t75" style='width:6in;height:305.25pt'> <v:imagedata src="HowIRebuildMyBrokenAVI_files/image004.jpg" o:title="2-CreateGoodSample"/> </v:shape><![endif]--><![if !vml]><img width=576 height=407 src="HowIRebuildMyBrokenAVI_files/image005.jpg" v:shapes="_x0000_i1026"><![endif]></p> <p class=MsoNormal><o:p>&nbsp;</o:p></p> <ol style='margin-top:0in' start=3 type=1> <li class=MsoNormal style='mso-list:l0 level1 lfo1;tab-stops:list .5in'>Compare both files, Look for the starting offset where characters are same.</li> <ol style='margin-top:0in' start=1 type=a> <li class=MsoNormal style='mso-list:l0 level2 lfo1;tab-stops:list 1.0in'>The beginning offset:</li> </ol> </ol> <p class=MsoNormal><!--[if gte vml 1]><v:roundrect id="_x0000_s1031" style='position:absolute; margin-left:164.3pt;margin-top:118.6pt;width:161.45pt;height:11.15pt; z-index:2' arcsize="10923f" filled="f" strokecolor="red" strokeweight="2.5pt"/><![endif]--><![if !vml]><span style='mso-ignore:vglayout;position:absolute;z-index:2;margin-left:217px; margin-top:156px;width:219px;height:19px'><img width=219 height=19 src="HowIRebuildMyBrokenAVI_files/image006.gif" v:shapes="_x0000_s1031"></span><![endif]><!--[if gte vml 1]><v:shape id="_x0000_i1027" type="#_x0000_t75" style='width:6in;height:271.5pt'> <v:imagedata src="HowIRebuildMyBrokenAVI_files/image007.jpg" o:title="3-SameFirstPoint1"/> </v:shape><![endif]--><![if !vml]><img width=576 height=362 src="HowIRebuildMyBrokenAVI_files/image008.jpg" v:shapes="_x0000_i1027"><![endif]></p> <p class=MsoNormal><!--[if gte vml 1]><v:roundrect id="_x0000_s1033" style='position:absolute; margin-left:165.45pt;margin-top:117pt;width:162.7pt;height:13.3pt;z-index:3' arcsize="10923f" filled="f" strokecolor="lime" strokeweight="3pt"/><![endif]--><![if !vml]><span style='mso-ignore:vglayout;position:absolute;z-index:3;margin-left:218px; margin-top:154px;width:222px;height:22px'><img width=222 height=22 src="HowIRebuildMyBrokenAVI_files/image009.gif" v:shapes="_x0000_s1033"></span><![endif]><!--[if gte vml 1]><v:shape id="_x0000_i1028" type="#_x0000_t75" style='width:6in;height:270pt'> <v:imagedata src="HowIRebuildMyBrokenAVI_files/image010.jpg" o:title="3-SameFirstPoint2"/> </v:shape><![endif]--><![if !vml]><img width=576 height=360 src="HowIRebuildMyBrokenAVI_files/image011.jpg" v:shapes="_x0000_i1028"><![endif]></p> <p class=MsoNormal><o:p>&nbsp;</o:p></p> <ol style='margin-top:0in' start=3 type=1> <ol style='margin-top:0in' start=2 type=a> <li class=MsoNormal style='mso-list:l0 level2 lfo1;tab-stops:list 1.0in'>The ending offset:</li> </ol> </ol> <p class=MsoNormal><!--[if gte vml 1]><v:roundrect id="_x0000_s1037" style='position:absolute; margin-left:133.05pt;margin-top:162.65pt;width:216.25pt;height:13.7pt; z-index:5' arcsize="10923f" filled="f" strokecolor="red" strokeweight="2.5pt"/><![endif]--><![if !vml]><span style='mso-ignore:vglayout;position:absolute;z-index:5;margin-left:175px; margin-top:215px;width:293px;height:22px'><img width=293 height=22 src="HowIRebuildMyBrokenAVI_files/image012.gif" v:shapes="_x0000_s1037"></span><![endif]><!--[if gte vml 1]><v:shape id="_x0000_i1029" type="#_x0000_t75" style='width:431.25pt;height:311.25pt'> <v:imagedata src="HowIRebuildMyBrokenAVI_files/image013.jpg" o:title="3-SameEndPoint1"/> </v:shape><![endif]--><![if !vml]><img width=575 height=415 src="HowIRebuildMyBrokenAVI_files/image014.jpg" v:shapes="_x0000_i1029"><![endif]></p> <p class=MsoNormal><o:p>&nbsp;</o:p></p> <p class=MsoNormal><o:p>&nbsp;</o:p></p> <p class=MsoNormal><!--[if gte vml 1]><v:roundrect id="_x0000_s1036" style='position:absolute; margin-left:131.1pt;margin-top:148.7pt;width:213.7pt;height:12.45pt;z-index:4' arcsize="10923f" filled="f" strokecolor="lime" strokeweight="3pt"/><![endif]--><![if !vml]><span style='mso-ignore:vglayout;position:absolute;z-index:4;margin-left:172px; margin-top:196px;width:290px;height:21px'><img width=290 height=21 src="HowIRebuildMyBrokenAVI_files/image015.gif" v:shapes="_x0000_s1036"></span><![endif]><!--[if gte vml 1]><v:shape id="_x0000_i1030" type="#_x0000_t75" style='width:6in;height:314.25pt'> <v:imagedata src="HowIRebuildMyBrokenAVI_files/image016.jpg" o:title="3-SameEndPoint2"/> </v:shape><![endif]--><![if !vml]><img width=576 height=419 src="HowIRebuildMyBrokenAVI_files/image017.jpg" v:shapes="_x0000_i1030"><![endif]></p> <p class=MsoNormal><o:p>&nbsp;</o:p></p> <p class=MsoNormal><o:p>&nbsp;</o:p></p> <ol style='margin-top:0in' start=4 type=1> <li class=MsoNormal style='mso-list:l0 level1 lfo1;tab-stops:list .5in'>So block those entire same offset.</li> </ol> <p class=MsoNormal style='margin-left:.25in'><!--[if gte vml 1]><v:shape id="_x0000_i1031" type="#_x0000_t75" style='width:6in;height:323.25pt'> <v:imagedata src="HowIRebuildMyBrokenAVI_files/image018.jpg" o:title="4-GoodFirstBlock"/> </v:shape><![endif]--><![if !vml]><img width=576 height=431 src="HowIRebuildMyBrokenAVI_files/image019.jpg" v:shapes="_x0000_i1031"><![endif]></p> <p class=MsoNormal style='margin-left:.25in'><!--[if gte vml 1]><v:shape id="_x0000_i1032" type="#_x0000_t75" style='width:431.25pt;height:302.25pt'> <v:imagedata src="HowIRebuildMyBrokenAVI_files/image020.jpg" o:title="4-GoodEndBlock"/> </v:shape><![endif]--><![if !vml]><img width=575 height=403 src="HowIRebuildMyBrokenAVI_files/image021.jpg" v:shapes="_x0000_i1032"><![endif]></p> <p class=MsoNormal><o:p>&nbsp;</o:p></p> <ol style='margin-top:0in' start=5 type=1> <li class=MsoNormal style='mso-list:l0 level1 lfo1;tab-stops:list .5in'>Copy and paste it to the broken AVI.</li> </ol> <p class=MsoNormal><!--[if gte vml 1]><v:shape id="_x0000_i1033" type="#_x0000_t75" style='width:6in;height:306pt'> <v:imagedata src="HowIRebuildMyBrokenAVI_files/image022.jpg" o:title="5-BrokenFirstBlock"/> </v:shape><![endif]--><![if !vml]><img width=576 height=408 src="HowIRebuildMyBrokenAVI_files/image023.jpg" v:shapes="_x0000_i1033"><![endif]></p> <p class=MsoNormal><o:p>&nbsp;</o:p></p> <p class=MsoNormal><!--[if gte vml 1]><v:shape id="_x0000_i1034" type="#_x0000_t75" style='width:6in;height:309.75pt'> <v:imagedata src="HowIRebuildMyBrokenAVI_files/image024.jpg" o:title="5-BrokenEndBlock"/> </v:shape><![endif]--><![if !vml]><img width=576 height=413 src="HowIRebuildMyBrokenAVI_files/image025.jpg" v:shapes="_x0000_i1034"><![endif]></p> <p class=MsoNormal>I used  Cut because I can t delete those lines with pressing  Delete or  Backspace .</p> <p class=MsoNormal><!--[if gte vml 1]><v:shape id="_x0000_i1035" type="#_x0000_t75" style='width:6in;height:255.75pt'> <v:imagedata src="HowIRebuildMyBrokenAVI_files/image026.jpg" o:title="8-BeforePasting"/> </v:shape><![endif]--><![if !vml]><img width=576 height=341 src="HowIRebuildMyBrokenAVI_files/image027.jpg" v:shapes="_x0000_i1035"><![endif]></p> <p class=MsoNormal><o:p>&nbsp;</o:p></p> <p class=MsoNormal><o:p>&nbsp;</o:p></p> <p class=MsoNormal><o:p>&nbsp;</o:p></p> <p class=MsoNormal><o:p>&nbsp;</o:p></p> <p class=MsoNormal><o:p>&nbsp;</o:p></p> <p class=MsoNormal><o:p>&nbsp;</o:p></p> <p class=MsoNormal><o:p>&nbsp;</o:p></p> <p class=MsoNormal>Then paste.</p> <p class=MsoNormal><!--[if gte vml 1]><v:shape id="_x0000_i1036" type="#_x0000_t75" style='width:6in;height:204.75pt'> <v:imagedata src="HowIRebuildMyBrokenAVI_files/image028.jpg" o:title="8-Pasting"/> </v:shape><![endif]--><![if !vml]><img width=576 height=273 src="HowIRebuildMyBrokenAVI_files/image029.jpg" v:shapes="_x0000_i1036"><![endif]></p> <p class=MsoNormal><o:p>&nbsp;</o:p></p> <p class=MsoNormal><!--[if gte vml 1]><v:shape id="_x0000_i1037" type="#_x0000_t75" style='width:6in;height:262.5pt'> <v:imagedata src="HowIRebuildMyBrokenAVI_files/image030.jpg" o:title="8-AfterPasting"/> </v:shape><![endif]--><![if !vml]><img width=576 height=350 src="HowIRebuildMyBrokenAVI_files/image031.jpg" v:shapes="_x0000_i1037"><![endif]></p> <p class=MsoNormal><o:p>&nbsp;</o:p></p> <ol style='margin-top:0in' start=6 type=1> <li class=MsoNormal style='mso-list:l0 level1 lfo1;tab-stops:list .5in'>Rebuild the file in <span class=SpellE>DivFix</span>.</li> </ol> <p class=MsoNormal><!--[if gte vml 1]><v:shape id="_x0000_i1038" type="#_x0000_t75" style='width:426.75pt;height:219.75pt'> <v:imagedata src="HowIRebuildMyBrokenAVI_files/image032.jpg" o:title="9-Rebuilding"/> </v:shape><![endif]--><![if !vml]><img width=569 height=293 src="HowIRebuildMyBrokenAVI_files/image032.jpg" v:shapes="_x0000_i1038"><![endif]></p> <p class=MsoNormal><o:p>&nbsp;</o:p></p> <p class=MsoNormal>Here the text shows that num. of errors is 0, but actually in my real broken file, there s one error stating that corrupted file occurs in 1:17 (I have deleted the broken file, so I created a simulation good file of it. But the file is containing really same content so my steps here are really the same.)</p> <p class=MsoNormal style='text-indent:.5in'>1:17 is the end file of my broken AVI, it s logical: When the lights go out, my last time recording time was 1:17. There s no doubt there s errors in the rendered frames on that second because the rendering isn t complete and the lights gone out.</p> <p class=MsoNormal><o:p>&nbsp;</o:p></p> </div> </body> </html>