<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    On 1/11/2012 12:35, Jeremy Jones wrote:
    <blockquote
cite="mid:CADCRbW1xMzzYANs3TKP5y5d_o=TCyPM_ajU-0AD=_607y=TFHQ@mail.gmail.com"
      type="cite"><br>
      <br>
      <div class="gmail_quote">On Wed, Jan 11, 2012 at 11:24 AM, Raymond
        Wagner <span dir="ltr">&lt;<a moz-do-not-send="true"
            href="mailto:raymond@wagnerrp.com">raymond@wagnerrp.com</a>&gt;</span>
        wrote:<br>
        <blockquote class="gmail_quote" style="margin:0 0 0
          .8ex;border-left:1px #ccc solid;padding-left:1ex">
          <div bgcolor="#FFFFFF" text="#000000">
            <div>
              <div class="h5"> On 1/11/2012 12:16, Jeremy Jones wrote:
                <blockquote type="cite">
                  <div class="gmail_quote">
                    <blockquote class="gmail_quote" style="margin:0 0 0
                      .8ex;border-left:1px #ccc solid;padding-left:1ex">
                      <div>
                        <div><br>
                          <br>
                        </div>
                      </div>
                      I really like the results obtained by running
                      mythtranscode, used in<br>
                      fifodir mode into ffmpeg. You still get to cut
                      adverts out, plus<br>
                      you get full control of recompression. You can
                      maintain interlace, or<br>
                      deinterlace and double the frame rate. My script
                      is linked to from<br>
                      the mythtranscode wiki page: <a
                        moz-do-not-send="true"
                        href="http://www.mythtv.org/wiki/Mythtranscode"
                        target="_blank">http://www.mythtv.org/wiki/Mythtranscode</a>.<br>
                      May not do exactly what you want, but should be
                      easy to alter.<br>
                      <br>
                    </blockquote>
                    <div><br>
                    </div>
                    <div>Can you change from HD to SD and still keep the
                      Mpeg-ts container? &nbsp;Or does it have to go into a
                      nuv?</div>
                  </div>
                </blockquote>
                <br>
              </div>
            </div>
            No and no.&nbsp; FIFO mode in mythtranscode opens a pair of named
            pipes on the filesystem, and feeds the raw audio and video
            streams into them.&nbsp; These pipes use the standard 64KB POSIX
            buffering, so as you pull data from them, mythtranscode
            pushes more data into them, in FIFO ordering.&nbsp; The video is
            clipped, deinterlaced, cropped, and filtered however you
            have configured, but it is not encoded nor is it multiplexed
            into any form of container.&nbsp; It is left up to you to do
            those things.<br>
          </div>
          <br>
          <br>
        </blockquote>
        <div>Raymond,</div>
        <div><br>
        </div>
        <div>I didn't realize how far over my head that post was until
          you explained what was going on. &nbsp;Thanks for making it simple
          with the transcode wrapper you wrote.</div>
      </div>
    </blockquote>
    <br>
    The transcode wrapper doesn't touch any of that stuff.&nbsp; All it does
    is give filenames for the user-chosen command to read from and
    output to, and then fix up the various details in the database to
    reference the new file.&nbsp; What Paul Gardiner is using and what I
    described is called a frameserver.&nbsp; It is intended to allow video
    processing to be pipelined through multiple applications, without
    having to waste disk space and disk IO on one or more intermediary
    files.&nbsp; Nuvexport uses this mode internally, and a number of Windows
    tools such as MeGUI use AviSynth for similar purposes, but it is
    beyond the scope of most tasks that just wrap 'ffmpeg' or
    'handbrakecli'.<br>
    <br>
    <a class="moz-txt-link-freetext" href="http://en.wikipedia.org/wiki/Frameserver">http://en.wikipedia.org/wiki/Frameserver</a><br>
    <br>
  </body>
</html>