<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div><blockquote type="cite" class=""><div class="gmail_extra"><br class="">
<br class=""><div class="gmail_quote">On Fri, Jan 20, 2017 at 6:27 AM, Jim Abernathy <span dir="ltr" class=""><<a href="mailto:jfabernathy@outlook.com" target="_blank" class="">jfabernathy@outlook.com</a>></span> wrote:<br class=""><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">



<div bgcolor="#FFFFFF" text="#000000" class=""><span class=""><p class=""><br class="">
</p>
</span>I do exactly what you described you want to do.  You can't trust the commercial breaks completely but they are a big help.  I have learned to use mythfrontend to edit and check the commercials quickly and adjust them appropriately.
<br class="">
<br class="">
<div id="m_6706891101277800165ember2151" style="font-size:19px;font-family:Arial" class="m_6706891101277800165ember-view m_6706891101277800165dh-page-text">
I use a script within mythbackend as a job to remove commercials </div>
<div id="m_6706891101277800165ember2153" style="font-size:19px;font-family:Arial" class="m_6706891101277800165ember-view m_6706891101277800165dh-page-text">
that I marked with a cutlist manually and compress the recording by </div>
<div id="m_6706891101277800165ember2155" style="font-size:19px;font-family:Arial" class="m_6706891101277800165ember-view m_6706891101277800165dh-page-text">
converting it from the original MPEG2 to m4v using handbrake. The </div>
<div id="m_6706891101277800165ember2157" style="font-size:19px;font-family:Arial" class="m_6706891101277800165ember-view m_6706891101277800165dh-page-text">
converted file is move to my NAS and the original is not modified. All this is </div>
<div id="m_6706891101277800165ember2159" style="font-size:19px;font-family:Arial" class="m_6706891101277800165ember-view m_6706891101277800165dh-page-text">
handled by sendTVtonas.sh within mythtv. The script has all the install </div>
<div id="m_6706891101277800165ember2161" style="font-size:19px;font-family:Arial" class="m_6706891101277800165ember-view m_6706891101277800165dh-page-text">
information in comments. </div>
<div id="m_6706891101277800165ember2163" style="font-size:16px;font-family:Arial" class="m_6706891101277800165ember-view m_6706891101277800165dh-page-text">
</div>
<div id="m_6706891101277800165ember2165" style="font-size:19px;font-family:Arial" class="m_6706891101277800165ember-view m_6706891101277800165dh-page-text">
You get the script from the first post in the following topic in the mythtv </div>
<div id="m_6706891101277800165ember2167" style="font-size:19px;font-family:Arial" class="m_6706891101277800165ember-view m_6706891101277800165dh-page-text">
forum: </div>
<div id="m_6706891101277800165ember2169" style="font-size:19px;font-family:Arial" class="m_6706891101277800165ember-view m_6706891101277800165dh-page-text">
</div>
<div id="m_6706891101277800165ember2171" style="font-size:19px;font-family:Arial" class="m_6706891101277800165ember-view m_6706891101277800165dh-page-text">
Script to export Mythtv recordings to a folder or NAS<br class="">
<br class="">
</div>
<div id="m_6706891101277800165ember2173" style="font-size:19px;font-family:Arial" class="m_6706891101277800165ember-view m_6706891101277800165dh-page-text">
</div>
<a class="m_6706891101277800165moz-txt-link-freetext" href="https://forum.mythtv.org/viewtopic.php?f=2&t=1261" target="_blank">https://forum.mythtv.org/<wbr class="">viewtopic.php?f=2&t=1261</a><br class="">
<br class="">
Jim A<span class=""><br class="">
<br class="">
</span></div></blockquote></div></div></blockquote><br class=""></div><div>I added a shell script transcodehb.sh to the wiki:  <a href="https://www.mythtv.org/wiki/Transcodehb.sh" class="">https://www.mythtv.org/wiki/Transcodehb.sh</a>  that only used 2 arguments besides the input/output</div><div>as follows:  <span style="font-family: monospace, Courier; font-size: 14px; orphans: 2; widows: 2; background-color: rgb(249, 249, 249);" class="">--preset=Normal -d slow</span></div><div class=""><br class=""></div><div class="">the presets just use the normal settings and then adds slow deinterlace.</div><div class=""><br class=""></div><div class="">If you are interested, the later versions of handbrake do give good diagnostics, and I use those to decide whether to keep the transcoding, or dump it and keep the original mpg2 recording. It needs updating for v.28 if you want to use the entire shell as I added it when I was using .27. I have updated the shell for .28, and if you were interested in it for the rest of the shell, I’ll update it. NOTE that the shell currently only does handbrake, and not the transcode used to remove cuts.</div><div class=""><br class=""></div><div class="">Jay</div><div><br class=""></div><br class=""></body></html>