<div class="gmail_quote"><div><br></div><div>Hi</div><div><br></div><div>I just tried your script.   I ran it on a copy of &#39;Desperate Housewives&#39; that the gf had recorded.  At first glance it looks to have got the breaks correctly but now when i play it skips the ads automatically.</div>
<div><br></div><div>What i would like to do is have the notify setting on so i can test for a while.</div><div><br></div><div>I have checked the FE setup and its set to notify and even pressing M during playback and setting the ad skip to notify has no effect.</div>
<div><br></div><div>I&#39;m running the latest 0.24.2 fixes from Mythbuntu repos.</div><div><br></div><div>Any ideas?</div><div><br></div><div>Chris</div><div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="im">
</div>I use a script based on the wiki article<br>
<a href="http://www.mythtv.org/wiki/Mythcommflag-wrapper" target="_blank">www.mythtv.org/wiki/Mythcommflag-wrapper</a> with good success on most UK<br>
Freesat channels.<br>
<br>
I found that changing the silence threshold to -76 dB from -70<br>
significantly improved accuracy.  Also, decreasing the coalescence time<br>
from 400 to 360 seconds reduced the prevalence of false positives.  The<br>
last useful tweak is to the awk program to add &#39;cut to beginning&#39; or<br>
&#39;cut to end&#39; without leaving &#39;dangling&#39; frames.<br>
<br>
This generally leaves a few frames of ads/titles before and after each<br>
cut.  The only annoyance is that the post ad cut doesn&#39;t position to a<br>
keyframe so the cut isn&#39;t entirely invisible.  I&#39;m working on that and<br>
back tracking from the start of cut to detect a scene change.<br>
<br>
The script can be found here:<br>
<a href="http://www.softsystem.co.uk/download/mythtv/mythcommflag-silence.sh" target="_blank">http://www.softsystem.co.uk/download/mythtv/mythcommflag-silence.sh</a><br>
<br>
To run it as a user job, start mythtv-setup and find General/JobQueue<br>
(Global) and set the Ad-detection command:<br>
mythcommflag-silence.sh -j %JOBID% -C<br>
<br>
The -C option copies the list to the cutlist.<br>
<span class="HOEnZb"><font color="#888888"><br>
--<br>
Lawrence<br>
</font></span><div class="HOEnZb"><div class="h5">_______________________________________________<br>
mythtv-users mailing list<br>
<a href="mailto:mythtv-users@mythtv.org">mythtv-users@mythtv.org</a><br>
<a href="http://www.mythtv.org/mailman/listinfo/mythtv-users" target="_blank">http://www.mythtv.org/mailman/listinfo/mythtv-users</a><br>
</div></div></blockquote></div><br>