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

Stefan Pappalardo stefan.pappalardo at gmx.de
Mon Oct 20 11:10:23 UTC 2014


I don't know what the "14065" is for, but I tried to run the script from command line. Here the results:

1.) /usr/local/bin/silence.py --verbose all --chanid 1043 --starttime 20141015145000 --loglevel debug --nodblog --syslog local7 --presetfile ~/.mythtv/silence.preset

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

2.) htop
python /usr/local/bin/silence.py --verbose all --chanid 1043 --starttime 20141015145000 --loglevel debug --nodblog --syslog local7 --presetfile ~/.mythtv/silence.preset
- /usr/local/bin/silence 8216 -75 0.16 6 120 120 0.48
- mythffmpeg -loglevel quiet -i pipe:0 -f au -ac 6 -
- tail

3.) Waited seven minutes, but the mythffmpeg does not stop/disappear.

Stefan Pappalardo

Am 18.10.2014 um 17:59 schrieb Roger Siddons:
> As Mark said, you don't need the --chanid & --starttime args: they will be ignored when the job id is supplied.
>
> You can check it's actually doing something by watching the mythffmpeg process run using "top".
>
> 1. In a terminal/xterm run "/usr/local/bin/silence.py 14065 --loglevel debug"
> 2. In a 2nd terminal/xterm run "top" and confirm that mythffmpeg is running/appears.
> 3. Wait until mythffmpeg stops/disappears - the job should then complete.


More information about the mythtv-users mailing list