On Tue, Jan 19, 2010 at 10:38 AM, Mike Perkins <span dir="ltr">&lt;<a href="mailto:mikep@randomtraveller.org.uk">mikep@randomtraveller.org.uk</a>&gt;</span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
I&#39;ve been looking at some of my recordings, intending to trim the garbage from the ends and then possibly achive them away. Standard stuff.<br>
<br>
Unfortunately, because they are OTA reception, there are occasional errors during transmission. On most of these they are no more than the odd blemish.<br>
<br>
However, I can&#39;t run these through mythtranscode because it barfs on the errors. Is there anything available I can run these through that will &#39;clean up&#39; these files so that I can then process them? Something that will discover the errors and substitute them with a suitable &#39;fake&#39; block which will permit me to process further? It doesn&#39;t have to look any prettier than what was there before, just legal for the file format.<br>

<br>
I would be interested in Linux solutions only.<br></blockquote><div><br></div><div>Robert McNamara wrote a script that does this very thing as a user job. You can find it here:</div><div><br></div><div><a href="http://www.mythtv.org/wiki/User:Iamlindoro">http://www.mythtv.org/wiki/User:Iamlindoro</a></div>
<div><br></div><div>Scroll down to mpeg2fixup.sh </div></div>