<html><body><div>On 08 Mar, 2012,at 10:47 AM, Lawrence Rust <lvr@softsystem.co.uk> wrote:<br><br><div><blockquote type="cite"><div class="msg-quote"><div class="_stretch">I use a script based on the wiki article<br> <a href="http://www.mythtv.org/wiki/Mythcommflag-wrapper" data-mce-href="http://www.mythtv.org/wiki/Mythcommflag-wrapper">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 'cut to beginning' or<br> 'cut to end' without leaving 'dangling' 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't position to a<br> keyframe so the cut isn't entirely invisible. I'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" data-mce-href="http://www.softsystem.co.uk/download/mythtv/mythcommflag-silence.sh">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> <br> -- <br> Lawrence<br> _______________________________________________<br> mythtv-users mailing list<br> <a href="mailto:mythtv-users@mythtv.org" data-mce-href="mailto:mythtv-users@mythtv.org">mythtv-users@mythtv.org</a><br> <a href="http://www.mythtv.org/mailman/listinfo/mythtv-users" data-mce-href="http://www.mythtv.org/mailman/listinfo/mythtv-users">http://www.mythtv.org/mailman/listinfo/mythtv-users</a></div></div></blockquote><span> </span><br><br>Spot on! Thanks for this. I'll give it a go if I don't have much luck with the script in the Wiki.<br><br>Cheers,<br><br>Joe<br></div></div></body></html>