<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <br>
    <br>
    <br>
    <div class="moz-cite-prefix">Den 06.06.2023 17:54, skrev Andrew
      Randrianasulu:<br>
    </div>
    <blockquote type="cite"
cite="mid:CA+rFky4Yps9OwZpkXWPQik9Zr2WGfmZM6XZ=5FEfmG8pajMn0A@mail.gmail.com">
      <meta http-equiv="content-type" content="text/html; charset=UTF-8">
      <div dir="auto">
        <div>[snip]<br>
          <br>
          <div class="gmail_quote">
            <blockquote class="gmail_quote" style="margin:0 0 0
              .8ex;border-left:1px #ccc solid;padding-left:1ex">
              <div>
                <blockquote type="cite">
                  <div dir="auto">
                    <div>
                      <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>
                        </blockquote>
                      </div>
                    </div>
                  </div>
                </blockquote>
                Here were a lot to sort out:<br>
                <br>
                The dvd-wide-ffmpeg+mpeg2enc.m2v from here is also
                scaled or streched too high in vertical direction.<br>
              </div>
            </blockquote>
          </div>
        </div>
        <div dir="auto"><br>
        </div>
        <div dir="auto">may be add "expand" filter after crop, so image
          dimensions will be back to dvd standard?</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> VLC deinterlaced on playback  (keyboard D) on
                interlaced m2v gives better quality.<br>
                <br>
                <blockquote type="cite">
                  <div dir="auto">
                    <div>
                      <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">
                              <div class="gmail_quote">
                                <blockquote class="gmail_quote"
                                  style="margin:0 0 0
                                  .8ex;border-left:1px #ccc
                                  solid;padding-left:1ex">
                                  <div> <br>
                                    In comparision the ffmpeg command
                                    line I have used is:<br>
                                    ffmpeg  -i dv01.dv -f dvd -target
                                    pal-dvd -aspect 16:9 -vb 8000k -mbd
                                    rd -trellis 1 -cmp 0 -subcmp 2 -vf
                                    crop=iw-0-0:ih-106-65:0:<br>
                                    which results in progressive and DAR
                                    16:9, but still not so good edge
                                    quality<br>
                                  </div>
                                </blockquote>
                              </div>
                            </div>
                          </div>
                        </blockquote>
                      </div>
                    </div>
                    <div dir="auto"><br>
                    </div>
                    <div dir="auto">May be "progressive" here is error,
                      and ffmpeg still encodes
                      interlaced-as-progressive, so VLC for example does
                      not enable deinterlacer at playback automatically?</div>
                  </div>
                </blockquote>
                <br>
                VLC Deinterlaced ON playback of Progressive 
                dvd-wide-dv01.mpg results in more coarced jagged or
                saw-toothed round edges<br>
                <br>
                <blockquote type="cite">
                  <div dir="auto">
                    <div dir="auto"><br>
                    </div>
                    <div dir="auto">Have you tried to add interlaced
                      flags manually to ffmpeg's command line?</div>
                  </div>
                </blockquote>
                -flags +ilme+ildct  gives interlaced bff<br>
              </div>
            </blockquote>
          </div>
        </div>
        <div dir="auto"><br>
        </div>
        <div dir="auto">Yeah, I just suspect ffmpeg was defaulting to
          progressive flags in stream and progressive setting for mpeg2
          encoder  WITHOUT automatically inserting deinterlacer, so
          result was plainly wrong. </div>
        <div dir="auto"><br>
        </div>
        <div dir="auto">Metadata copy by default was apparently fixed in
          4.4, yet interlace may remain corner case ...</div>
        <div dir="auto"><br>
        </div>
        <div dir="auto">[snip]</div>
      </div>
    </blockquote>
    <br>
    <br>
    I hope this sum up of the 4 variants I get from Cin DVD creating,
    using the current unpatched version:<br>
    <br>
    Input file: PAL DV interlaced 4:3<br>
    Output DVD cropped to 16x9<br>
    <br>
    The dvd folder file names below are else descriptive <br>
    <br>
    Deinterlaced checked (di):<br>
    <br>
    1) mediainfo ./dvd_wide_cin_di-ffmpeg_20230608-184940/dvd.mpg | grep
    Scan<br>
    Scan type                                : Progressive<br>
    <br>
    2) mediainfo ./dvd_wide_cin_di_mpeg2enc_20230608-201519/dvd.mpg |
    grep Scan<br>
    Scan type                                : Interlaced<br>
    Scan order                               : Top Field First<br>
    <br>
    <br>
    Non deinterlaced (unchecked):<br>
    <br>
    3) mediainfo ./dvd_wide_cin_ffmpeg_20230608-203740/dvd.mpg | grep
    Scan<br>
    Scan type                                : Progressive<br>
    <br>
    4) mediainfo ./dvd_wide_cin_mpeg2enc_20230608-191936/dvd.mpg | grep
    Scan<br>
    Scan type                                : Interlaced<br>
    Scan order                               : Top Field First<br>
    <br>
    Obviously 2) and 3) are wrong<br>
    Are they fixed in the patched version?<br>
    <br>
    <br>
    5) Which de-interlace filters are used in CinGG with mpeg2enc and
    ffmpeg?<br>
    <br>
    I.e some users claims that Bwdif is better than Yadif for ffmpeg. <br>
     <br>
    <br>
    <br>
    <br>
  </body>
</html>