<!DOCTYPE html>
<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.11.2024 15:17, skrev Andrew
      Randrianasulu:<br>
    </div>
    <blockquote type="cite"
cite="mid:CA+rFky6xSufb8WwuDZgNrOOG2rmB5r2NYPy3yr68JL+4WH83aQ@mail.gmail.com">
      <meta http-equiv="content-type" content="text/html; charset=UTF-8">
      <div dir="auto">
        <div><br>
          <br>
          <div class="gmail_quote">
            <div dir="ltr" class="gmail_attr">ср, 6 нояб. 2024 г., 17:13
              Terje J. Hanssen <<a
                href="mailto:terjejhanssen@gmail.com"
                moz-do-not-send="true" class="moz-txt-link-freetext">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>
                <br>
                <div>Den 06.11.2024 14:41, skrev Andrew Randrianasulu:<br>
                </div>
                <blockquote type="cite">
                  <div dir="auto">
                    <div><br>
                      <br>
                      <div class="gmail_quote">
                        <div dir="ltr" class="gmail_attr">ср, 6 нояб.
                          2024 г., 15:18 Terje J. Hanssen <<a
                            href="mailto:terjejhanssen@gmail.com"
                            target="_blank" rel="noreferrer"
                            moz-do-not-send="true"
                            class="moz-txt-link-freetext">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>
                            <br>
                            <div>Den 05.11.2024 16:19, skrev Andrew
                              Randrianasulu:<br>
                            </div>
                            <blockquote type="cite">
                              <div dir="auto">
                                <div><br>
                                  <br>
                                  <div class="gmail_quote">
                                    <div dir="ltr" class="gmail_attr">вт,
                                      5 нояб. 2024 г., 18:16 Terje J.
                                      Hanssen <<a
href="mailto:terjejhanssen@gmail.com" rel="noreferrer noreferrer"
                                        target="_blank"
                                        moz-do-not-send="true"
                                        class="moz-txt-link-freetext">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> Continued and extracted from
                                        previous threads_<br>
                                        <a
href="https://lists.cinelerra-gg.org/pipermail/cin/2024-October/008967.html"
rel="noreferrer noreferrer noreferrer" target="_blank"
                                          moz-do-not-send="true"
                                          class="moz-txt-link-freetext">https://lists.cinelerra-gg.org/pipermail/cin/2024-October/008967.html</a><br>
                                        <br>
                                        Den 27.10.2024 21:11, skrev
                                        Terje J. Hanssen:<br>
                                        <blockquote type="cite">........snip<br>
                                          <br>
                                          For me it looks like nothing
                                          has changed:<br>
                                          <br>
                                          <font
face="Courier New, Courier, monospace">localhost:/Cin # git am
                                            0001-Experimental-try-10bit-vaapi-encoding.patch<br>
                                            fatal: previous rebase
                                            directory .git/rebase-apply
                                            still exists but mbox given.<br>
                                          </font>
                                          <div dir="auto"><br>
                                          </div>
                                          <div dir="auto"><br>
                                          </div>
                                          <div dir="auto">remove it
                                            again?</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><font
face="Courier New, Courier, monospace"> <br>
                                                    By the way,testing<br>
                                                    <br>
                                                    bin/cin<br>
                                                    compression:
                                                    hevc_vaapi.mp4<br>
                                                    Pixels: vaapi (no
                                                    other options)<br>
                                                    cin_hw_dev=vaapi<br>
                                                    <br>
                                                    Renders<br>
                                                  </font>
                                                  <blockquote><font
face="Courier New, Courier, monospace">Color
                                                      space                             
                                                      : YUV</font><br>
                                                    <font
face="Courier New, Courier, monospace">Chroma
                                                      subsampling                      
                                                      : 4:2:0</font><br>
                                                    <font
face="Courier New, Courier, monospace">Bit
                                                      depth                               
                                                      : 8 bits</font><br>
                                                  </blockquote>
                                                  <font
face="Courier New, Courier, monospace"><br>
                                                    The same with <br>
                                                    CIN_10BIT_ENC=1 
                                                    bin/cin</font></div>
                                              </blockquote>
                                            </div>
                                          </div>
                                          <div dir="auto"><br>
                                          </div>
                                          <div dir="auto"><br>
                                          </div>
                                          <div dir="auto">yeah, it does
                                            not exist in normal cin,
                                            only after you add patch.</div>
                                          <div dir="auto"><br>
                                          </div>
                                          <div dir="auto"><br>
                                          </div>
                                          <div dir="auto">may be just
                                            take a break from all this,
                                            I do not think we will solve
                                            this problem in few
                                            remaining days until end of
                                            October.  So ... do not rush</div>
                                          <br>
                                          Ok for me.<br>
                                          <br>
                                        </blockquote>
                                        <br>
                                        Den 04.11.2024 21:49, skrev
                                        Andrew Randrianasulu:<br>
                                        <blockquote type="cite">
                                          <div dir="ltr">
                                            <div class="gmail_quote"><br>
                                              <div>Terje, I think if you
                                                are ok with this idea we
                                                can return to testing
                                                10bit-vaapi patch ...</div>
                                              <div>Hopefully in its
                                                final form it will just
                                                allow same format=
                                                string in encoding
                                                profiles as supported by
                                                per-file decoding opts
                                                files now ,,,</div>
                                              <div><br>
                                              </div>
                                            </div>
                                          </div>
                                        </blockquote>
                                        I'm not sure I understood the
                                        last line yet, but I should be
                                        ready to continue vaapi-testing
                                        to-morrow.<br>
                                        <br>
                                        ====================<br>
                                        <br>
                                        Yeah,  here we are.<br>
                                        The problem as I understood
                                        lastly, was to apply the
                                        10bit-vaapi-encoding.patch?<br>
                                      </div>
                                    </blockquote>
                                  </div>
                                </div>
                                <div dir="auto"><br>
                                </div>
                                <div dir="auto">yes ...</div>
                                <div dir="auto"><br>
                                </div>
                                <div dir="auto"><br>
                                </div>
                                <div dir="auto">basically git's internal
                                  help messages usually helpful, so try
                                  to follow them?</div>
                              </div>
                            </blockquote>
                            <br>
                            <br>
                            I thougt we just tried to do that by
                            recapping the steps before:<br>
                            <br>
                            <blockquote type="cite">Sorry, but now I get<br>
                              <br>
                              <font
                                face="Courier New, Courier, monospace">localhost:/Cin
                                # rm -r ../.git/rebase-apply<br>
                                <br>
                                localhost:/Cin # git am 10bit.diff<br>
                                Patch format detection failed.<br>
                                <br>
                                I was wondering if the patch needs
                                .patch at the end like the previous
                                patches?<br>
                              </font>
                              <div><br>
                              </div>
                              <div>sorry, it was git diff, not git
                                add/git commit/git format-patch.</div>
                              <div><br>
                              </div>
                              <div>may be apply it with just cat | patch
                                -p1 or something</div>
                              <div><br>
                              </div>
                              <div>or try attached</div>
                              <br>
                              Hm?<br>
                              <br>
                              <font
                                face="Courier New, Courier, monospace">localhost:/Cin
                                # git am
                                0001-Experimental-try-10bit-vaapi-encoding.patch<br>
                                Applying: Experimental: try 10bit vaapi
                                encoding<br>
                                error: cinelerra-5.1/cinelerra/ffmpeg.C:
                                does not match index<br>
                                Patch failed at 0001 Experimental: try
                                10bit vaapi encoding<br>
                                hint: Use 'git am
                                --show-current-patch=diff' to see the
                                failed patch<br>
                                hint: When you have resolved this
                                problem, run "git am --continue".<br>
                                hint: If you prefer to skip this patch,
                                run "git am --skip" instead.<br>
                                hint: To restore the original branch and
                                stop patching, run "git am --abort".<br>
                                hint: Disable this message with "git
                                config advice.mergeConflict false"<br>
                              </font>
                              <div dir="auto"><br>
                              </div>
                              <div dir="auto">you probably have previous
                                patch applied</div>
                              <div dir="auto"><br>
                              </div>
                              <div dir="auto">try git reset --hard
                                before git am.</div>
                              <br>
                              localhost:/Cin # git reset --hard <br>
                              HEAD is now at e5a5a6da Add onevpl support
                              to build system<br>
                              <br>
                              The "onevpl.patch" was applied, yes.<br>
                              Should I apply it again, before
                              "0001-Experimental-try-10bit-vaapi-encoding.patch"
                              again?<br>
                              <div dir="auto"><br>
                              </div>
                              <div dir="auto"><br>
                              </div>
                              <div dir="auto"><br>
                              </div>
                              <div dir="auto">no</div>
                              <div dir="auto"><br>
                              </div>
                            </blockquote>
                            <br>
                            So if I don't get a patch applied, I can't
                            see I have something more to test (?)<br>
                          </div>
                        </blockquote>
                      </div>
                    </div>
                    <div dir="auto"><br>
                    </div>
                    <div dir="auto">sorry, I mean you of course should
                      try to git am <span
style="font-family:"Courier New",Courier,monospace">0001-Experimental-try-10bit-</span><span
style="font-family:"Courier New",Courier,monospace">vaapi-encoding.patch</span></div>
                    <div dir="auto"><span
style="font-family:"Courier New",Courier,monospace"><br>
                      </span></div>
                    <div dir="auto"><span
style="font-family:"Courier New",Courier,monospace">again,
                        hopefully this time it will not complain about
                        index?</span></div>
                    <div dir="auto"><span
style="font-family:"Courier New",Courier,monospace"><br>
                      </span></div>
                    <div dir="auto"><span
style="font-family:"Courier New",Courier,monospace">new git
                        log hopefully should list it after application
                        as newest, topmost patch.</span></div>
                  </div>
                </blockquote>
                <br>
                <br>
                <font face="Courier New, Courier, monospace">localhost:/
                  # cd /Cin<br>
                  localhost:/Cin # ls -l /Cin<br>
                  lrwxrwxrwx 1 root root 29 Oct 22 20:23 /Cin ->
                  /home/cinelerra/cinelerra-5.1<br>
                </font><br>
                <br>
                <font face="Courier New, Courier, monospace">localhost:/Cin
                  # git reset --hard<br>
                  HEAD is now at e5a5a6da Add onevpl support to build
                  system<br>
                  <br>
                  localhost:/Cin # git am
                  0001-Experimental-try-10bit-vaapi-encoding.patch<br>
                  fatal: previous rebase directory .git/rebase-apply
                  still exists but mbox given.<br>
                  <br>
                  localhost:/Cin # git am
                  0001-Experimental-try-10bit-vaapi-encoding.patch<br>
                  fatal: previous rebase directory .git/rebase-apply
                  still exists but mbox given.<br>
                </font></div>
            </blockquote>
          </div>
        </div>
        <div dir="auto"><br>
        </div>
        <div dir="auto">remove </div>
        <div dir="auto"><br>
        </div>
        <div dir="auto">.<span
style="font-family:"courier new",courier,monospace">git/rebase-apply</span></div>
      </div>
    </blockquote>
    <br>
    Oh, I forgot and missed that step.<br>
    <br>
    <font face="Courier New, Courier, monospace">localhost:/home # find
      . -name "rebase-apply"<br>
      ./cinelerra/.git/rebase-apply<br>
      localhost:/home # rm -r ./cinelerra/.git/rebase-apply</font><br>
    <br>
    <br>
    <br>
    <blockquote type="cite"
cite="mid:CA+rFky6xSufb8WwuDZgNrOOG2rmB5r2NYPy3yr68JL+4WH83aQ@mail.gmail.com">
      <div dir="auto">
        <div dir="auto"><br>
        </div>
        <div dir="auto"><br>
        </div>
        <div dir="auto">as instructed ?</div>
      </div>
    </blockquote>
    <br>
    <font face="Courier New, Courier, monospace">localhost:/Cin # git
      reset --hard<br>
      HEAD is now at e5a5a6da Add onevpl support to build system<br>
      <br>
      localhost:/Cin # git am
      0001-Experimental-try-10bit-vaapi-encoding.patch<br>
      Applying: Experimental: try 10bit vaapi encoding<br>
      <br>
      Looks better ......?<br>
      <br>
      <br>
      localhost:/Cin # git log | more<br>
      commit 68eb98be2183738684f1f4da2729d1ff9989ad16<br>
      Author: Andrew Randrianasulu <a class="moz-txt-link-rfc2396E" href="mailto:randrianasulu@gmail.com"><randrianasulu@gmail.com></a><br>
      Date:   Sun Oct 27 19:43:06 2024 +0300<br>
      <br>
          Experimental: try 10bit vaapi encoding<br>
      <br>
      commit e5a5a6da907dbcd40d8612bdbfeea1a2a0ae6cc8<br>
      Author: Andrew Randrianasulu <a class="moz-txt-link-rfc2396E" href="mailto:randrianasulu@gmail.com"><randrianasulu@gmail.com></a><br>
      Date:   Fri Oct 18 10:07:33 2024 +0300<br>
      <br>
          Add onevpl support to build system<br>
      <br>
      commit 8681d13675f32e870ab3632eaf89105415fb3961<br>
      Author: Andrew Randrianasulu <a class="moz-txt-link-rfc2396E" href="mailto:randrianasulu@gmail.com"><randrianasulu@gmail.com></a><br>
      Date:   Wed Oct 23 16:36:19 2024 +0300<br>
      <br>
          Add DESCRIPTION<br>
      <br>
      commit 90138debee46e0b91adeb5d8a400158b131b0d61<br>
      Author: Andrew Randrianasulu <a class="moz-txt-link-rfc2396E" href="mailto:randrianasulu@gmail.com"><randrianasulu@gmail.com></a><br>
      Date:   Wed Oct 23 16:29:58 2024 +0300<br>
      <br>
          Add BUGS<br>
      <br>
      commit 318c884532617e32904d6f4ec05a2b73832f418e<br>
      Author: Andrew Randrianasulu <a class="moz-txt-link-rfc2396E" href="mailto:randrianasulu@gmail.com"><randrianasulu@gmail.com></a><br>
      Date:   Wed Oct 23 16:22:58 2024 +0300<br>
      <br>
          Update README build instructions<br>
      <br>
      commit 16ef7f3d7af3edb454b19288f084f86b02631c86<br>
      Author: Andrew Randrianasulu <a class="moz-txt-link-rfc2396E" href="mailto:randrianasulu@gmail.com"><randrianasulu@gmail.com></a><br>
      Date:   Fri Sep 27 13:56:15 2024 +0300<br>
      <br>
      <br>
      <br>
      <br>
      <br>
    </font>
    <blockquote type="cite"
cite="mid:CA+rFky6xSufb8WwuDZgNrOOG2rmB5r2NYPy3yr68JL+4WH83aQ@mail.gmail.com">
      <div dir="auto">
        <div dir="auto"><font face="Courier New, Courier, monospace"><br>
          </font></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> <font face="Courier New, Courier, monospace"><br>
                </font> <font face="Courier New, Courier, monospace"><br>
                  "git log" where?<br>
                </font></div>
            </blockquote>
          </div>
        </div>
        <div dir="auto"><font face="Courier New, Courier, monospace"><br>
          </font></div>
        <div dir="auto"><font face="Courier New, Courier, monospace"><br>
          </font></div>
        <div dir="auto"><font face="Courier New, Courier, monospace">in
            cinelerra-5.1 directory, or some down the hierarchy ...</font></div>
        <div dir="auto"><font face="Courier New, Courier, monospace"><br>
          </font></div>
        <div dir="auto"><font face="Courier New, Courier, monospace">this
            is command, part of git suite of commands.</font></div>
        <div dir="auto"><font face="Courier New, Courier, monospace"><br>
          </font></div>
        <div dir="auto"><font face="Courier New, Courier, monospace">displays
            log of commits in git repo. (for me it uses l"less" as
            pager, so you can scroll around and search)</font></div>
        <div dir="auto"><font face="Courier New, Courier, monospace"><br>
          </font></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>
                <blockquote type="cite">
                  <div dir="auto">
                    <div dir="auto"><br>
                    </div>
                    <div dir="auto"><br>
                    </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>
                            <br>
                            <br>
                            <br>
                            <br>
                            <br>
                          </div>
                        </blockquote>
                      </div>
                    </div>
                  </div>
                </blockquote>
                <br>
              </div>
            </blockquote>
          </div>
        </div>
      </div>
    </blockquote>
    <br>
  </body>
</html>