<div dir="auto"><div><br><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">пт, 15 нояб. 2024 г., 03:21 Terje J. Hanssen <<a href="mailto:terjejhanssen@gmail.com">terjejhanssen@gmail.com</a>>:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><u></u>

  
    
  
  <div>
    <br>
    <br>
    <br>
    <div>Den 14.11.2024 22:21, skrev Andrew
      Randrianasulu:<br>
    </div>
    <blockquote type="cite">
      
      <div dir="auto">
        <div><br>
          <br>
          <div class="gmail_quote">
            <div dir="ltr" class="gmail_attr">чт, 14 нояб. 2024 г.,
              23:41 Terje J. Hanssen <<a href="mailto:terjejhanssen@gmail.com" rel="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>
                <br>
                <div>Den 14.11.2024 18:38, skrev Andrew Randrianasulu:<br>
                </div>
                <blockquote type="cite">
                  <div dir="auto">
                    <div><br>
                      <br>
                      <div class="gmail_quote">
                        <div dir="ltr" class="gmail_attr">чт, 14 нояб.
                          2024 г., 20:27 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">Thank
                          you for the patch.<br>
                          <br>
                          A few clarification questions in between
                          before I start:<br>
                          <br>
                          Den 14.11.2024 14:21, skrev Andrew
                          Randrianasulu:<br>
                          <br>
                          > you need to reset your git tree,<br>
                          ><br>
                          > something like<br>
                          ><br>
                          > git reset
                          --hard 2037bf63cdf25462ca606f4a28636e12df77c2a0<br>
                          <br>
                          I did use "git reset --hard" without number at
                          the end for the previous <br>
                          patch<br>
                          <br>
                          What number here, should I find mine somewhere
                          in my git tree?<br>
                        </blockquote>
                      </div>
                    </div>
                    <div dir="auto"><br>
                    </div>
                    <div dir="auto"><br>
                    </div>
                    <div dir="auto">you can fig them in 'git log'
                      screen, you should have two more patches on top of
                      "ORIGIN" line <br>
                    </div>
                  </div>
                </blockquote>
                <br>
                Sorry, I'm still a bit confused by the latter "you
                should have two more patches on top of "ORIGIN" line"<br>
                Here is the top from my git log" output:<br>
                <br>
                <blockquote>commit
                  68eb98be2183738684f1f4da2729d1ff9989ad16<br>
                  Author: Andrew Randrianasulu <a href="mailto:randrianasulu@gmail.com" rel="noreferrer noreferrer noreferrer noreferrer" target="_blank"><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 href="mailto:randrianasulu@gmail.com" rel="noreferrer noreferrer noreferrer noreferrer" target="_blank"><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 href="mailto:randrianasulu@gmail.com" rel="noreferrer noreferrer noreferrer noreferrer" target="_blank"><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 href="mailto:randrianasulu@gmail.com" rel="noreferrer noreferrer noreferrer noreferrer" target="_blank"><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 href="mailto:randrianasulu@gmail.com" rel="noreferrer noreferrer noreferrer noreferrer" target="_blank"><randrianasulu@gmail.com></a><br>
                  Date:   Wed Oct 23 16:22:58 2024 +0300<br>
                  <br>
                      Update README build instructions<br>
                </blockquote>
              </div>
            </blockquote>
          </div>
        </div>
        <div dir="auto"><br>
        </div>
        <div dir="auto">ah.</div>
        <div dir="auto"><br>
        </div>
        <div dir="auto">you can just git reset --hard
          e5a5a6da907dbcd40d8612bdbfeea1a2a0ae6cc8</div>
        <div dir="auto"><br>
        </div>
        <div dir="auto"><br>
        </div>
        <div dir="auto">inother words just reset tree to state without
          old 10bit patch.</div>
        <div dir="auto"><br>
        </div>
        <div dir="auto">then apply new.</div>
        <div dir="auto"><br>
        </div>
        <div dir="auto">if you can't see line with</div>
        <div dir="auto"><br>
        </div>
        <div dir="auto">(origin/master, origin/HEAD)</div>
        <div dir="auto"><br>
        </div>
        <div dir="auto">you can scroll down (by  cursor arrows)</div>
        <div dir="auto"><br>
        </div>
        <div dir="auto">or search by pressing "/" and typing your search
          word and pressing enter.</div>
        <div dir="auto"><br>
        </div>
        <div dir="auto">but I think you can just reset tree to "add
          onevpl" commit.</div>
      </div>
    </blockquote>
    <br>
    Sorry, if I lost something - because it does not change something so
    far:<br>
    All three attempts result all in yuv422p10le as the previous 10bit
    hack did.<br>
    <br>
    My summary follows:<br>
    <br>
    /Cin <br>
    <br>
    <font face="Courier New, Courier, monospace"># git reset --hard
      e5a5a6da907dbcd40d8612bdbfeea1a2a0ae6cc8<br>
      HEAD is now at e5a5a6da Add onevpl support to build system<br>
      <br>
      # git am 0001-yet-another-10bit-attempt.patch<br>
      Applying: yet another 10bit attempt</font><br>
    <br>
    <br>
    I didn't undestand Cingg should be recompiled additional after this
    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"><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>
    My third Cin test using nv12 <br>
    <br>
    <font face="Courier New, Courier, monospace">/Cin <br>
      <br>
      # CIN_10BIT_ENC=nv12 bin/cin<br>
      Cinelerra Infinity - built: Nov 13 2024 20:54:33<br>
      <br>
      hevc_vaapi_8b420.mp4<br>
          cin_hw_dev=vaapi<br>
          format=nv12,hwupload<br>
          # profile=main<br>
          # global_quality=22<br>
      <br>
      ** rendered 1780 frames in 41.675 secs, 42.711 fps<br>
      FFMPEG::open_decoder: some stream times estimated:
      /Videoklipp/Cineform/cfhd01.mkv<br>
      <br>
      <br>
      ffprobe -hide_banner hd01_hevc_vaapi_8b420.mp4<br>
        Stream #0:0[0x1](und): Video: hevc (Rext) (hev1 / 0x31766568),
      yuv422p10le(tv, bt709/unknown/unknown, top coded first (swapped)),
      1920x1080 [SAR 1:1 DAR 16:9], 24375 kb/s, 25 fps, 25 tbr, 12800
      tbn (default)<br>
        </font><br>
    ===========================<br>
    <br>
    Some output for verification:<br>
    <br>
    <font face="Courier New, Courier, monospace">/Cin/cinelerra # egrep
      -i "10bit|tenbit|nv12|p010|y210" ffmpeg.C<br>
      GET_HW_PIXFMT(nv12,  AV_PIX_FMT_NV12)<br>
              case AV_PIX_FMT_NV12:  ctx->get_format = get_hw_nv12; 
      return *p;<br>
          const char *tenbit_enc = getenv("CIN_10BIT_ENC");<br>
              frames_ctx->sw_format = AV_PIX_FMT_NV12;<br>
              if(tenbit_enc)<br>
              frames_ctx->sw_format = av_get_pix_fmt(tenbit_enc);<br>
              picture->format = AV_PIX_FMT_NV12;<br>
              </font><br>
    ----------------------<br>
    <br>
    <font face="Courier New, Courier, monospace">git log 2>&1 |
      tee git_log_after_another_10bit_patch<br>
      <br>
      Top of the output:<br>
      <br>
      commit 4d42448cc128d7d18e34eb97d4234e73b9acb360<br>
      Author: Andrew Randrianasulu <a href="mailto:randrianasulu@gmail.com" target="_blank" rel="noreferrer"><randrianasulu@gmail.com></a><br>
      Date:   Thu Nov 14 16:18:24 2024 +0300<br>
      <br>
          yet another 10bit attempt<br>
      <br>
      commit e5a5a6da907dbcd40d8612bdbfeea1a2a0ae6cc8<br>
      Author: Andrew Randrianasulu <a href="mailto:randrianasulu@gmail.com" target="_blank" rel="noreferrer"><randrianasulu@gmail.com></a><br>
      Date:   Fri Oct 18 10:07:33 2024 +0300<br>
      <br>
          Add onevpl support to build system</font><br>
            <br>
    =========================<br>
    <br>
    <br>
    <br>
    <br>
    <br>
    <br>
  </div>

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