<br><br><div class="gmail_quote">On Wed, Jun 24, 2009 at 12:40 PM, Ian Forde <span dir="ltr">&lt;<a href="mailto:ian@duckland.org">ian@duckland.org</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div><div></div><div class="h5">On Sat, 2009-05-16 at 18:14 -0500, Christopher Meredith wrote:<br>
&gt; What does this script do? It losslessly cuts commercials from HD-PVR<br>
&gt; recordings and gives them smart names.<br>
&gt;<br>
&gt; So 1431_20090218195000.mpg<br>
&gt;<br>
&gt; becomes<br>
&gt;<br>
&gt; Lost.S03E03.Further Instructions.mkv<br>
&gt;<br>
&gt; It runs as a user job and can put the transcoded files anywhere you want.<br>
&gt;<br>
&gt; Project page here: <a href="http://monopedilos.com/dokuwiki/doku.php?id=hdpvrcutter.pl" target="_blank">http://monopedilos.com/dokuwiki/doku.php?id=hdpvrcutter.pl</a><br>
&gt;<br>
&gt; Special thanks to Robert McNamara. I welcome suggestions. As the page<br>
&gt; explains, I&#39;m hardly a perl programmer; this is largely a<br>
&gt; copy-and-paste job. But it works. Please let me know your experiences<br>
&gt; and if there are things I could do better.<br>
<br>
</div></div>Apparently, the ticket containing the avidemux cutlist patch  -<br>
<a href="http://svn.mythtv.org/trac/ticket/5809" target="_blank">http://svn.mythtv.org/trac/ticket/5809</a> - is now closed as &quot;wontfix&quot;.<br>
(Which, in all fairness, Robert has historically stated that he was<br>
going to eventually do.)  There is a reference to &quot;better, cleaner ways<br>
of handling this&quot;.  Unless I missed something (which is quite possible)<br>
I&#39;m not sure what any of them are...<br>
<br>
Anyone?</blockquote><div><br>I would also like to know this. In my experience, the avidemux hack only works reliably on 6-channel AC3 audio. It dies completely on AAC and the audio get cut at random points on 2-channel AC3. I&#39;ve got a messy workaround that converts the audio to 6-channel AC3 first if it isn&#39;t already.<br>
<br>I&#39;ve been working on a version of this script that uses mencoder but it is only reliable if you&#39;re re-encoding the video (which is obviously not lossless). Even so, the mencoder EDL method also doesn&#39;t like AAC audio so I have to end up converting it twice.<br>
</div></div>