[mythtv-users] Commercial detection with silence - silence.cpp

Roger Siddons dizygotheca at ntlworld.com
Sun Aug 11 22:24:43 UTC 2013


On Sat, 10 Aug 2013 13:53:23 +0100, Mark Perkins <perkins1724 at hotmail.com>
wrote:

>> P.S. What kind of program is this? Heavy Metal MTV or action movie?
>> Maybe it's just shouty adverts.

Or the cricket ? Presumably the Aussie showings are just one long  
silence....

> Tim, tried with 'unsigned long long' and that worked equally well in
> detecting silences except it generates a warning as follows on compile
> (still does compile and install however):

Tim,
Are you happy to fix the wiki ? You seem to have a better grasp of the  
numbers.
Would be nice to incorporate Warpme's unicode fix (from wiki) as well.


> - In general the recordings don't seem particularly loud, I'm running the
> threshold db in my preset file between -72db and -95db depending on the
> program, still much tweaking and refining to be done.

Assuming you've fixed the overflow issue, those thresholds look alarmingly  
wide. The threshold is quite a crude instrument. Provided it is detecting  
silences at the appropriate places I've found you're better off tweaking  
the other parameters to achieve the right cuts. Someone has already added  
Aussie presets to the wiki. Have you tried those ?

Lastly, be aware that this mail list uses bottom-posting. People get upset  
if you repeatedly top-post.
http://www.mythtv.org/wiki/Mailing_List_etiquette
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.mythtv.org/pipermail/mythtv-users/attachments/20130811/4d2bb547/attachment.html>


More information about the mythtv-users mailing list