<div class="gmail_quote">On 31 January 2011 12:11, George Poulson <span dir="ltr">&lt;<a href="mailto:george.poulson@gmail.com">george.poulson@gmail.com</a>&gt;</span> wrote:<br><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div class="gmail_quote"><div>I&#39;ll try to give this a go today too.<br></div><div></div></div></blockquote></div><br><div><br></div><div>Hmm..</div><div>My first few attempts have produced entries like these in the wrapper logs...</div>
<div><br></div><div><br></div><div>{{</div><div><br></div><div><div>/usr/bin/mythcommflag run with [-j 2196 -V 3] at Mon Jan 31 15:13:14 GMT 2011 by mythtv</div><div>running job 2196</div><div>channel callsign is FIVE</div>
<div>chanid=13106 STARTTIME=2011-01-29 05:28:00</div><div>basename is 13106_20110129052800.mpg</div><div>filename is /media/disk/mythtv/recordings/13106_20110129052800.mpg</div><div>Callsign in whitelist - will run silence_detect</div>
<div>silence_detect /media/disk/mythtv/recordings/13106_20110129052800.mpg</div><div>silence-detect has generated cutlist: 1-4466,20558-26041,46379-,</div><div>silect_detect() set CUTLIST to 1-4466,20558-26041,46379-,</div>
<div>/usr/bin/mythcommflag run with [--setcutlist 1-4466,20558-26041,46379-, -f /media/disk/mythtv/recordings/13106_20110129052800.mpg] at Mon Jan 31 15:14:56 GMT 2011 by mythtv</div><div>running mythcommflag.orig --setcutlist 1-4466,20558-26041,46379-, -f /media/disk/mythtv/recordings/13106_20110129052800.mpg</div>
<div>mythcommflag failed; returned 134</div></div><div><br></div><div>}}</div><div><br></div><div>Running the same command from a console gives ...</div><div><br></div><div>{{</div><div><div>george@mythbuntu:~$mythcommflag.orig --setcutlist 1-4466,20558-26041,46379-, -f /media/disk/mythtv/recordings/13106_20110129052800.mpg</div>
<div>2011-01-31 15:20:06.717 Using runtime prefix = /usr</div><div>2011-01-31 15:20:06.718 Using configuration directory = /home/george/.mythtv</div><div>2011-01-31 15:20:06.758 Empty LocalHostName.</div><div>2011-01-31 15:20:06.801 New DB connection, total: 1</div>
<div>2011-01-31 15:20:06.840 Closing DB connection named &#39;DBManager0&#39;</div><div>ASSERT failure in QList&lt;T&gt;::operator[]: &quot;index out of range&quot;, file /usr/include/qt4/QtCore/qlist.h, line 447</div><div>
Aborted</div><div>george@mythbuntu:~$ </div></div><div><br></div><div>}}</div><div><br></div><div><br></div><div>The problem is with the parameters passed to the &#39;setcutlist&#39; command - it doesn&#39;t like the final &quot;46379-,&quot; .. if I remove the last cutlist entry such that the parameters look like &quot;--setcutlist 1-4466,20558-26041 -f /media...&quot; then the command completes OK</div>
<div><br></div><div>I&#39;ve tried it on a few recordings and it&#39;s giving similar results (all the cutlists have a xxxxx-, at the end )</div><div><br></div><div>Most of my recordings are timed to end 2mins after the scheduled programme end time, so most end within a commercial break - and I guess that&#39;s why I&#39;m seeing the problem.</div>
<div><br></div><div>Any thoughts or suggestions?</div><div><br></div><div>George</div><div><br></div><div><br></div>