<div dir="ltr"><div dir="ltr">On Mon, Dec 17, 2018 at 3:53 PM Peter Bennett <<a href="mailto:pb.mythtv@gmail.com">pb.mythtv@gmail.com</a>> wrote:<br></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
  
    
  
  <div bgcolor="#FFFFFF">
    <br>
    <br>
    <div class="gmail-m_-3415347014783567687moz-cite-prefix">On 12/17/18 11:49 AM, Richard Shaw
      wrote:<br>
    </div>
    <blockquote type="cite">
      
      <div dir="ltr">I still use a combined FE/BE in the living room but
        everywhere else I use either a Roku, Roku TV, and stream via
        Plex.
        <div><br>
        </div>
        <div>Some channels work find but others have issues with audio
          sync. It seems like the video freezes right at the beginning
          but the audio does not so it stays out of sync.</div>
        <div><br>
        </div>
        <div>I've played around, especially on Plex and forcing it to
          transcode on the fly usually works but reduced video quality
          and the audio is changed from multi-channel to stereo so it's
          not an ideal solution.</div>
        <div><br>
        </div>
        <div>I noticed that recordings I've saved to videos via Avidemux
          to MKV container (video and audio are copied) don't have this
          problem so I was thinking of using mkvmerge in a transcode
          user job to move all my recordings from TS to MKV container
          formats.</div>
        <div><br>
        </div>
        <div>I plan to write a bash script around this but how do I go
          about updating the name of the recording in the database?
          Mythutil seems an obvious candidate to have this functionality
          but it doesn't as far as I can tell.</div>
        <div><br>
        </div>
        <div>Ideas?<br>
          <br>
          Thanks,</div>
        <div>Richard</div>
      </div>
      <br>
      <fieldset class="gmail-m_-3415347014783567687mimeAttachmentHeader"></fieldset>
      <br>
    </blockquote>
    <br>
    Here is a script that runs as a user job to convert the files to mkv
    format without transcoding, which works better with kodi and maybe
    with other players. It does not change the file name, that was not
    necessary for kodi to recognize that it is an mkv file.<br>
    <br>
<a class="gmail-m_-3415347014783567687moz-txt-link-freetext" href="https://github.com/bennettpeter/mythscripts/blob/master/install/opt/mythtv/bin/userjob_mkv.sh" target="_blank">https://github.com/bennettpeter/mythscripts/blob/master/install/opt/mythtv/bin/userjob_mkv.sh</a></div></blockquote><div><br></div><div>Hmm... I'll have to see if MythTV or Plex care about the file extension but seems a dirty hack :)</div><div><br></div><div>It would really be nice if mythtranscode could do lossless H264 but I'll have to ask Santa about that!</div><div><br></div><div>Thanks,</div><div>Richard </div></div></div>