<div dir="auto"><div><br><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">пн, 5 июн. 2023 г., 15:34 Andrew Randrianasulu <<a href="mailto:randrianasulu@gmail.com" rel="noreferrer noreferrer noreferrer" target="_blank">randrianasulu@gmail.com</a>>:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="auto"><div><br><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">пн, 5 июн. 2023 г., 15:31 Terje J. Hanssen <<a href="mailto:terjejhanssen@gmail.com" rel="noreferrer noreferrer noreferrer noreferrer" target="_blank">terjejhanssen@gmail.com</a>>:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
  
    
  
  <div>
    <br>
    <br>
    <div>Den 04.06.2023 21:58, skrev Andrew
      Randrianasulu:<br>
    </div>
    <blockquote type="cite">
      
      <div dir="auto">
        <div><br>
          <br>
          <div class="gmail_quote">
            <div dir="ltr" class="gmail_attr">вс, 4 июн. 2023 г., 15:07
              Terje J. Hanssen <<a href="mailto:terjejhanssen@gmail.com" rel="noreferrer noreferrer noreferrer noreferrer noreferrer noreferrer" target="_blank">terjejhanssen@gmail.com</a>>:<br>
            </div>
            <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
              <br>
              Den 31.05.2023 07:24, skrev Andrew Randrianasulu via Cin:<br>
              > I ......<br>
              ><br>
              > ===<br>
              ><br>
              > and mpeg2enc line looked like this<br>
              ><br>
              > FileMPEG::open_file: Running<br>
              > /dev/shm/cinelerra/cinelerra-5.1/bin//mpeg2enc -v 0 
              -b 8000 -q 1 -a 2<br>
              > -F 3 -H -c -I 1 -M 4 -z b -f 8 -g 15 -G 15 -R 0 -o<br>
              > '/dev/shm/tmp/dvd_20230531-081921/dvd.m2v'<br>
              ><br>
              ><br>
              <br>
              Is it possible to get the mpeg2enc command line to test it
              with a dv <br>
              input file directly outside Cinelerra?<br>
            </blockquote>
          </div>
        </div>
        <div dir="auto"><br>
        </div>
        <div dir="auto">try line like this?</div>
        <div dir="auto"><br>
        </div>
        <div dir="auto">
          <pre>ffmpeg -i input.dv -f yuv4mpegpipe - \</pre>
          <pre> |mpeg2enc {flags and output file as shown }</pre>
        </div>
        <div dir="auto"><br>
        </div>
      </div>
    </blockquote>
    <br>
    Yes, this fixed the BFF issue, but still Interlaced and 4:3 format.<br>
    Stream #0:0: Video: mpeg2video (Main), yuv420p(tv, bt470bg, bottom
    first), 720x576 [SAR 16:15 DAR 4:3], 25 fps, 25 tbr, 1200k tbn<br>
    <br>
    What I want is to get and try Progressive and 16:9 wide format. By
    cropping 720x576 to 720x405, bottom 65 and top 106 (top) preserves
    the displayed timestam at bottom.<br></div></blockquote></div></div><div dir="auto"><br></div><div dir="auto"><br></div><div dir="auto">Then you should try ffmpeg's deinterlacing and cropping before passing it to mpeg2enc.</div></div></blockquote></div></div><div dir="auto"><br></div><div dir="auto"><a href="http://macilatthefront.blogspot.com/2021/05/which-deinterlacing-algorithm-is-best.html?m=1" rel="noreferrer noreferrer noreferrer" target="_blank">http://macilatthefront.blogspot.com/2021/05/which-deinterlacing-algorithm-is-best.html?m=1</a><br></div><div dir="auto"><br></div><div dir="auto">talks about some algos on ffmpeg I never considered:</div><div dir="auto"><br></div><div dir="auto"><h3><span style="font-size:21.06px">Estdif / </span>Bwdif</h3><div dir="auto"><div dir="auto">TS. bwdif             V->V       Deinterlace the input image.</div><div dir="auto"> TSC estdif            V->V       Apply Edge Slope Tracing deinterlace.</div></div><div dir="auto"><br></div></div><div dir="auto"><br></div><div dir="auto"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="auto"><div dir="auto"><br></div><div dir="auto"><br></div><div dir="auto">Can you clarify even with my patches AND deinterlacing checkbox set in dvd creation window and "use ffmpeg" unchecked you still get interlaced?</div><div dir="auto"><br></div><div dir="auto"><br></div><div dir="auto"><br></div><div dir="auto"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div>
    <br>
    <br>
    <blockquote type="cite">
      <div dir="auto">
        <div dir="auto">quite amazing ffmpeg in this most basic case
          still works after nearly 20 years, line stolen (and modified) 
          from</div>
        <div dir="auto"><br>
        </div>
        <div dir="auto"><a href="https://avva.livejournal.com/1188593.html" rel="noreferrer noreferrer noreferrer noreferrer noreferrer" target="_blank">https://avva.livejournal.com/1188593.html</a><br>
        </div>
        <div dir="auto"><br>
        </div>
        <div dir="auto"><br>
        </div>
      </div>
    </blockquote>
    Creating DVD with typical ffmpeg decoding to raw video piped to
    mpeg2enc for encoding has been the usual way as described in the
    Cin-CV manual <br>
    <a href="http://cinelerra-cv.wikidot.com/cincv-manual-en:rendering-files#11" rel="noreferrer noreferrer noreferrer noreferrer noreferrer" target="_blank">http://cinelerra-cv.wikidot.com/cincv-manual-en:rendering-files#11</a><br>
    <br>
    and is also included in Ruh's dvd guid sec. 3.4<br>
    <a href="https://www.qsl.net/n1gg/linux/video/linuxdvdguide.html#3" rel="noreferrer noreferrer noreferrer noreferrer noreferrer" target="_blank">https://www.qsl.net/n1gg/linux/video/linuxdvdguide.html#3</a><br>
    <br>
    mpeg2enc is said to give some higher quality at high bitrate that
    ffmpeg.<br>
    The drawback is it is slow and audio and to be added and multiplexed<br>
    <br>
    <br>
    <blockquote type="cite">
      <div dir="auto">
        <div dir="auto">For ffmpeg as I said cingg does NOT  use command
          line ffmpeg, so you need to modify profile parameters in
          dvd.dvd file.</div>
        <div dir="auto"><br>
        </div>
        <div dir="auto"><br>
        </div>
      </div>
    </blockquote>
    <blockquote type="cite">
      <div dir="auto">
        <div dir="auto">
          <div class="gmail_quote">
            <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
              And preferably also a corresponding ffmpeg command line.<br>
              <br>
              I had already created a .mpg video file, interlaced and
              bff, and it was <br>
              no better, so I think deinterlaced (progressive) will be
              best.<br>
            </blockquote>
          </div>
        </div>
        <div dir="auto"><br>
        </div>
        <div dir="auto">your call!</div>
        <div dir="auto"><br>
        </div>
        <div dir="auto">Happy coding!</div>
        <div dir="auto">
          <div class="gmail_quote">
            <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
              <br>
              <br>
              <br>
            </blockquote>
          </div>
        </div>
      </div>
    </blockquote>
    <br>
  </div>

</blockquote></div></div></div>
</blockquote></div></div></div>