<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>Not sure this mail program will format this correctly, but he Script is the one you linked to. I changed the first 3 program defines to False and it now appears to be working as desired. So the generate_commcutlist = False is the correct setting.<div><br></div><div>Thanks, Jim A<br><br><div><hr id="stopSpelling">From: perkins1724@hotmail.com<br>Date: Sat, 9 Jan 2016 07:46:03 +1030<br>To: mythtv-users@mythtv.org<br>Subject: Re: [mythtv-users] transcode-h264-v2-- cutlist and commercial flags<br><br><div><br><br><br></div><div><br>On 9 Jan 2016, at 6:17 am, Jim Abernathy <<a href="mailto:jfabernathy@outlook.com">jfabernathy@outlook.com</a>> wrote:<br><br></div><blockquote><div>
<style><!--
.ExternalClass .ecxhmmessage P {
padding:0px;
}
.ExternalClass body.ecxhmmessage {
font-size:12pt;
font-family:Calibri;
}
--></style>
<div dir="ltr">
<p class="ecxp1"><span class="ecxs1">I’m trying to minimize the number of steps I have to take to transcode recorded TV from MPEG2 to h.264. Using the subject script posted on the Mythtv wiki I can do this but with a catch. </span></p>
<p class="ecxp2"><span class="ecxs1"></span><br></p>
<p class="ecxp1"><span class="ecxs1">My steps that work are:</span></p>
<p class="ecxp1"><span class="ecxs1">1. auto-detect commercials after recording</span></p>
<p class="ecxp1"><span class="ecxs1">2. view recording in mythfrontend and import commercial flags.</span></p>
<p class="ecxp1"><span class="ecxs1">3. Make additional edits to add and move cuts.</span></p>
<p class="ecxp1"><span class="ecxs1">4. save cut list.</span></p>
<p class="ecxp1"><span class="ecxs1">5. run the transcode job that keeps the file MPEG2, but strips footage based on cut list.</span></p>
<p class="ecxp1"><span class="ecxs1">6. run the transcode-h264 user job</span></p>
<p class="ecxp2"><span class="ecxs1"></span><br></p>
<p class="ecxp1"><span class="ecxs1">If I don’t run step 5, the file produced by step 6 has the cuts produced by commercial flagging, but not my manual edits saved to the cut list.</span></p>
<p class="ecxp2"><span class="ecxs1"></span><br></p>
<p class="ecxp1"><span class="ecxs1">Are the Commercial Flags in the database not updated when I manually adds cuts and save the cut list? </span></p>
<p class="ecxp2"><span class="ecxs1"></span><br></p>
<p class="ecxp1"><span class="ecxs1">I think I have the script configured to leave the commercial flags as is.</span></p>
<p class="ecxp2"><span class="ecxs1"></span><br></p>
<p class="ecxp1"><span class="ecxs1">I think my problem is not understanding what is stored in the database related to cuts and edits.</span></p>
<p class="ecxp2"><span class="ecxs1"></span><br></p>
<p class="ecxp1"><span class="ecxs1">Jim A</span></p> </div>
</div></blockquote><blockquote><div><span>_______________________________________________</span><br></div></blockquote><br><div>Do you mean this script? <a href="https://www.mythtv.org/wiki/Transcode_Mpeg2_to_H264" target="_blank">https://www.mythtv.org/wiki/Transcode_Mpeg2_to_H264</a> (the v2 script down the page)</div><div><br></div><div>I don't read Python but I am guessing that you have left the user setting generate_commcutlist as the default true value. When set to true it appears to me that there are no checks to see if a cut list already exists so your custom edits are just getting overwritten with a cut list generated straight from the commercial detection flags.</div><div><br></div><div>Try setting generate_commcutlist to false. The code to transcode appears to still check if a cut list is present and will use it if it is.</div><div><br></div><div>At least I think so, but I don't read Python.</div><br>_______________________________________________
mythtv-users mailing list
mythtv-users@mythtv.org
http://lists.mythtv.org/mailman/listinfo/mythtv-users
http://wiki.mythtv.org/Mailing_List_etiquette
MythTV Forums: https://forum.mythtv.org<br>_______________________________________________
mythtv-users mailing list
mythtv-users@mythtv.org
http://lists.mythtv.org/mailman/listinfo/mythtv-users
http://wiki.mythtv.org/Mailing_List_etiquette
MythTV Forums: https://forum.mythtv.org</div></div> </div></body>
</html>