<div dir="auto"><div dir="ltr">I had been using the lossless_cut python scripts to cut commercials out of my H264 recordings for some time with MythTV v30 under Ubuntu 16 from the mythbuntu repos.</div><div dir="ltr"><br></div><div dir="ltr">I recently upgraded to Ubuntu 18 and Mythtv v31, and I see that the preference there is for python3. I see a couple of possible solution paths.</div><div dir="ltr"><br></div><div dir="ltr">1. Adapt the scripts to use Python3 and the respective MythTV bindings.</div><div dir="ltr"><br></div><div dir="ltr">2. Build the MythTV python bindings against python2 and get them installed and used.</div><div dir="ltr"><br></div><div dir="ltr">3. Install a packaged version of the bindings built against python2.</div><div dir="ltr"><br></div><div dir="ltr">Has anyone taken any of these paths successfully?</div><div dir="ltr"><br></div><div dir="ltr">I haven't found any other free (as in beer) toolsets that let me cut commercials out and preserve the subtitle tracks. So Windows or Linux recommendations there are also welcome.</div><div dir="ltr"><br></div><div dir="ltr">Thank you all in advance.</div><div dir="ltr">-Ray</div></div>