[mythtv-users] silence detection blocks jobqueue [ mythcommflag; silence.py ]

Stefan Pappalardo stefan.pappalardo at gmx.de
Sat Oct 18 11:39:56 UTC 2014


For some recordings the silence detection does not really start and never ends => jobqueue is blocked!

Here is a snipped from the mythcommflag.log:

    Oct 16 17:25:26 obelix silence.py[10378]: mythcommflag: Starting job 14065
    Oct 16 17:25:26 obelix silence.py[10378]: mythcommflag: Seeking chanid 1043, starttime 2014-10-15 14:50:00+02:00
    Oct 16 17:25:26 obelix silence.py[10378]: mythcommflag: Processing: Cinema24, 2014-10-15 14:50:00+02:00, "Keinohrhase und Zweiohrküken - Komödie"
    Oct 16 17:25:26 obelix silence.py[10378]: mythcommflag: Using preset file "/home/mythtv/.mythtv/silence.preset"
    Oct 16 17:25:26 obelix silence.py[10378]: mythcommflag: No preset found for "Keinohrhase und Zweiohrküken" or "Cinema24"
    Oct 16 17:25:26 obelix silence.py[10378]: mythcommflag: Threshold=-75.0, MinQuiet=0.16, MinDetect=6.0, MinLength=120.0, MaxSep=120.0, Pad=0.48
    Oct 16 17:25:26 obelix silence.py[10378]: mythcommflag: Frame rate is 25.00, Detecting silences below 381883 that last for at least 4 frames
    Oct 16 17:25:26 obelix silence.py[10378]: mythcommflag: Clusters are composed of a minimum of 6 silences closer than 3000 frames and must be
    Oct 16 17:25:26 obelix silence.py[10378]: mythcommflag: longer than 3000 frames in total. Cuts will be padded by 12 frames
    Oct 16 17:25:26 obelix silence.py[10378]: mythcommflag: < preroll, > postroll, - advert, ? too few silences, # too short, = comm flagged
    Oct 16 17:25:26 obelix silence.py[10378]: mythcommflag:            Start - End    Start - End      Duration         Interval    Level/Count
    Oct 16 17:25:26 obelix silence.py[10378]: mythcommflag:           frame - frame (mmm:ss-mmm:ss) frame (mm:ss.s)  frame (mmm:ss)

Afer a few minutes of blocking the jobque I killed the lowest childprocess and the log gets a finished line:

    Oct 16 17:27:05 obelix silence.py[10378]: mythcommflag: Detected 0 adverts.

Here is the commandline for the job:

    /usr/local/bin/silence.py %JOBID% --chanid %CHANID% --starttime %STARTTIME% --loglevel debug --nodblog --syslog local7 --presetfile ~/.mythtv/silence.preset


I'm using mythbuntu 14.04 with mythtv 0.27 and the latest silence.py (from http://www.mythtv.org/wiki/Commercial_detection_with_silences)

Has anyone an idea how to solve the problem?
thx
-- 
Stefan Pappalardo


More information about the mythtv-users mailing list