<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=utf-8"><meta name=Generator content="Microsoft Word 15 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
p.MsoPlainText, li.MsoPlainText, div.MsoPlainText
{mso-style-priority:99;
mso-style-link:"Plain Text Char";
margin:0cm;
font-size:11.0pt;
font-family:"Calibri",sans-serif;
mso-fareast-language:EN-US;}
span.EmailStyle18
{mso-style-type:personal-reply;
font-family:"Calibri",sans-serif;
color:windowtext;}
span.PlainTextChar
{mso-style-name:"Plain Text Char";
mso-style-priority:99;
mso-style-link:"Plain Text";
font-family:"Calibri",sans-serif;}
.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri",sans-serif;
mso-fareast-language:EN-US;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=DE-CH link=blue vlink=purple style='word-wrap:break-word'><div class=WordSection1><div><div><div><p class=MsoNormal><span lang=EN-US>><a href="https://github.com/Bragorr/Lossless_Cut">https://github.com/Bragorr/Lossless_Cut</a><o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US>>Maybe this forum post is of interest?<o:p></o:p></span></p></div><div><p class=MsoNormal><span lang=EN-US>></span><a href="https://forum.mythtv.org/viewtopic.php?f=36&t=2955&p=14235"><span lang=EN-US>https://forum.mythtv.org/viewtopic.php?f=36&t=2955&p=14235</span></a><span lang=EN-US><o:p></o:p></span></p></div><div><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US>I started with the Lossless_cut from Doug Vaughan (last discussion with him was on mythtv-users in 2013, keyframe problematic).<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>I made adaptions for exporting to Mythvideo (directory/filenaming based on Title/Subtitle), fixes for unicode.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>From Bragorr I used some of his Python syntax changes needed from a specifc Python 2 version.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>It was always difficult when Lossless_cut crashed to know the source of the exception, so I added log_traceback.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US><a href="https://github.com/angelaschmid/lossless_cut">https://github.com/angelaschmid/lossless_cut</a><o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p></div><div><p class=MsoNormal><span lang=EN-US>In conjunction with Lossless_cut I raised some issues.<o:p></o:p></span></p><p class=MsoPlainText><span lang=EN-US><a href="https://code.mythtv.org/trac/ticket/13092">https://code.mythtv.org/trac/ticket/13092</a><o:p></o:p></span></p><p class=MsoPlainText><span lang=EN-US>#13092: Python BEConnection:backendCommand timeout too low and improper protocol implementation<o:p></o:p></span></p><p class=MsoPlainText><span lang=EN-US>For this I might run some personal fixes, as described in the ticket.<o:p></o:p></span></p><p class=MsoPlainText><span lang=EN-US><o:p> </o:p></span></p><p class=MsoPlainText><span lang=EN-US><a href="https://code.mythtv.org/trac/ticket/12642">https://code.mythtv.org/trac/ticket/12642</a><o:p></o:p></span></p><p class=MsoPlainText><span lang=EN-US>#12642: Python binding socket UnicodeEncodeError (solved)<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US>I am on v29-fixes, all is working.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>I saw v31-fixes is some 2000 commits behind master, so I might wait for v32. Is it somewhere documented what is worked on for v32?<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US>></span><span lang=EN-US> On Wed, Feb 3, 2021 at 10:35 AM Stephen Worthington <</span><a href="mailto:stephen_agent@jsw.gen.nz"><span lang=EN-US>stephen_agent@jsw.gen.nz</span></a><span lang=EN-US>> wrote:<o:p></o:p></span></p><p class=MsoPlainText><span lang=EN-US>></span><span lang=EN-US>2to3 conversion program and fixing the #! line, the things that were still needing fixing were all in the file I/O where you now need to explicitly choose whether you are reading the data as binary or as Unicode text. Frequently, all that needed doing was to just add a 'b'<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US>Interesting, that could speed up the migration.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p></div></div></div></div></body></html>