<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On 21 February 2017 at 19:40, John Pilkington <span dir="ltr"><<a href="mailto:J.Pilk@tesco.net" target="_blank">J.Pilk@tesco.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On 20/02/17 23:57, Anthony Giggins wrote:<br>
</span><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">
<br>
<br>
On 18 February 2017 at 03:24, John Pilkington <<a href="mailto:J.Pilk@tesco.net" target="_blank">J.Pilk@tesco.net</a><br></span><span class="">
<mailto:<a href="mailto:J.Pilk@tesco.net" target="_blank">J.Pilk@tesco.net</a>>> wrote:<br>
<br>
    On 17/02/17 16:26, Mike Perkins wrote:<br>
<br>
        On 17/02/17 12:52, John Pilkington wrote:<br>
<br>
            On 17/02/17 01:52, Anthony Giggins wrote:<br>
<br>
                Is anyone successfully using this option?<br>
<br>
                When ever I specify --inversecut the transcode fails<br>
<br>
                This Works<br>
                mythtranscode --infile<br>
                /storage2/recordings/4093_2016<wbr>0403201000.mpg<br>
                --mpeg2 --honorcutlist "18778 35040" --outfile<br></span>
                "/storage2/recordings/<a href="http://test2.mp" rel="noreferrer" target="_blank">test2.mp</a> <<a href="http://test2.mp" rel="noreferrer" target="_blank">http://test2.mp</a>>g"<span class=""><br>
<br>
                This Fails<br>
                mythtranscode --infile<br>
                /storage2/recordings/4093_2016<wbr>0403201000.mpg<br>
                --mpeg2 --inversecut --honorcutlist "18778 35040" --outfile<br></span>
                "/storage2/recordings/<a href="http://test2.mp" rel="noreferrer" target="_blank">test2.mp</a> <<a href="http://test2.mp" rel="noreferrer" target="_blank">http://test2.mp</a>>g"<span class=""><br>
<br>
<br>
            It's a long time since I used mythtranscode, and I don't<br>
            think I've<br>
            ever used it with the cutlist<br>
            defined like that on the control line  - but perhaps " 0<br>
            18778 35040 "<br>
            would do what you want.<br>
<br>
        I think I would give the two output files different names, too.<br>
        I'm not<br>
        sure if mythtranscode deletes any existing files before creating<br>
        a new<br>
        one, but different names will help avoid confusion.<br>
<br>
<br>
    I don't know how the command line is parsed, but it could perhaps be<br>
    inverting the cutlist before it has one.   Does '--honorcutlist " mm<br>
    nn" --inversecut'...  work?<br>
<br>
    John P<br>
<br>
<br>
OK I found the Secret Sauce<br>
mythtranscode --infile<br>
/storage2/recordings/4093_2016<wbr>0403201000.mpg --mpeg2 --honorcutlist<br></span>
"18778-35040" --outfile "/storage2/recordings/<a href="http://test2.mp" rel="noreferrer" target="_blank">test2.mp</a> <<a href="http://test2.mp" rel="noreferrer" target="_blank">http://test2.mp</a>>g"<span class=""><br>
<br>
mythtranscode --infile<br>
/storage2/recordings/4093_2016<wbr>0403201000.mpg --mpeg2 --honorcutlist<br>
"18778-35040" --inversecut --outfile "/storage2/recordings/<a href="http://test3.mp" rel="noreferrer" target="_blank">test3.mp</a><br></span>
<<a href="http://test3.mp" rel="noreferrer" target="_blank">http://test3.mp</a>>g"<span class=""><br>
<br>
looks like it requires the dash between the external cutlist I thought<br>
from what I read it needed to be a space.<br>
<br>
Thanks everyone for the suggestions.<br>
<br>
Cheers,<br>
<br>
Anthony<br>
</span></blockquote>
<br>
Glad you got it going.  FWIW here's a section of a recent mythDVBcut log file.  Looks as if I thought mythutil --setcutlist needed commas too.<br>
<br>
chanid 1003   starttime 2017-02-19 20:58:00  recordedid 12844<br>
Reformatted starttime 20170219205800<br>
Running: mythutil --getcutlist --chanid 1003 --starttime 20170219205800 -q<br>
Cutlist: 0-5520,5700-6124,22264-28684,4<wbr>5517-51933,66187-72636,94206-9<wbr>8946<br>
<br>
If you want to reset this cutlist, after restoring the .old file<br>
and resetting the DB with mythcommflag --rebuild, you could try:<br>
<br>
mythutil --setcutlist 0-5520,5700-6124,22264-28684,4<wbr>5517-51933,66187-72636,94206-9<wbr>8946 --chanid  1003 --starttime 20170219205800<br>
<br>
-but seektables from different tools have differed in the past :-)<br>
<br>
Cutframe list from editor:<br>
  0 5520 5700 6124 22264 28684 45517 51933 66187 72636 94206 98946<br>
<br>
Passframe (reversed cutframe) list from editor:<br>
5520 5700 6124 22264 28684 45517 51933 66187 72636 94206 98946<br>
<br>
Active keyframe passlist via DB.  First is a cut-in:<br>
5519 5699 6123 22263 28683 45516 51932 66186 72635 94205<span class="HOEnZb"><font color="#888888"><br>
<br>
John</font></span><div class="HOEnZb"><div class="h5"><br></div></div></blockquote><div>Thanks John,</div><div><br></div><div>I'll really only be expecting a single cut for this use case but its a good reference to have if needed again.</div><div><br></div><div>Cheers,</div><div><br></div><div>Anthony </div></div></div></div>