<div dir="ltr"><div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr">On Sun, 13 Jan 2019 at 17:45, Stefan Davids <<a href="mailto:mythtv@stefan.davids.uk.net">mythtv@stefan.davids.uk.net</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex"><br>
To use mythtranscode on h264 with a cutlist you need to use it in fifo <br>
mode to output raw video which can then be transcoded by ffmpeg or <br>
similar reading from the fifos.  Or generate the cutlist via mythutil <br>
and just use ffmpeg directly to cut out those bits and concatenate it <br>
together.<br></blockquote><div><br></div><div>Groan.</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex">If you're familar with perl there's an example I use here at<br>
<a href="http://git.netscum.org.uk/stefan/h264_fifo/src/master/transcode_perl" rel="noreferrer" target="_blank">http://git.netscum.org.uk/stefan/h264_fifo/src/master/transcode_perl</a> or <br>
there are many other examples in shell script or python around (at least <br>
two on the mythtv website).<br></blockquote><div><br></div><div>Thank you. I am not familiar with Perl and would understand more from a shell or Python script. Which ones do you mean? I've done a bit of searching of the website and there's a hodgepodge of scripts at <a href="https://www.mythtv.org/wiki/Transcode_Video">https://www.mythtv.org/wiki/Transcode_Video</a>, none of which says clearly whether it works for HD.</div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex">It seems almost impossible to get the cutting exactly right though for <br>
h264 though.</blockquote><div><br></div><div>Pity. If it has to be such a faff I may give up on doing it on Linux and may resort to Premiere, for the few things I really need to export for work.</div></div></div></div>