<!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 13.11.2024 14:31, skrev Andrew
      Randrianasulu:<br>
    </div>
    <blockquote type="cite"
cite="mid:CA+rFky5O6qthNV=eRK-7ofsUOjL3jESOGKB8=A7E4uRLLhV24g@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">ср, 13 нояб. 2024 г.,
              15:17 Terje J. Hanssen via Cin <<a
                href="mailto:cin@lists.cinelerra-gg.org"
                moz-do-not-send="true" class="moz-txt-link-freetext">cin@lists.cinelerra-gg.org</a>>:<br>
            </div>
            <blockquote class="gmail_quote"
style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
              <div> After finishing the three hevc_qsv presets for
                _8b420, _10b420 and _10b422 mp4<br>
                <a
href="https://lists.cinelerra-gg.org/pipermail/cin/2024-November/009039.html"
                  target="_blank" rel="noreferrer"
                  moz-do-not-send="true" class="moz-txt-link-freetext">https://lists.cinelerra-gg.org/pipermail/cin/2024-November/009039.html</a><br>
                <br>
                I thought to do the corresponding for hevc_vaapi<br>
                <br>
                However I am struggling to get 10bit 422 output rendered
                from Cingg, which so far falls back to 10bit 420 chroma
                subsampling<br>
                <br>
                <font face="Courier New, Courier, monospace">fprobe
                  -hide_banner hd01_hevc_vaapi_10b422.mp4<br>
                    Duration: 00:01:11.20, start: 0.000000, bitrate:
                  11082 kb/s<br>
                    Stream #0:0[0x1](und): Video: hevc (Main 10) (hev1 /
                  0x31766568), yuv420p10le(tv, bt709/unknown/unknown,
                  top coded first (swapped)), 1920x1080 [SAR 1:1 DAR
                  16:9], 11080 kb/s, 25 fps, 25 tbr, 12800 tbn (default)<br>
                  <br>
                  <br>
                  In a previous thread I proved that ffmpeg hevc_vaapi
                  encoding has this 10bit-422 capability<br>
                  3) 10-bit yuv422p10le hevc_vaapi encoding using -vf
                  'format=y210,hwupload'<br>
                  <a
href="https://lists.cinelerra-gg.org/pipermail/cin/2024-November/008982.html"
                    target="_blank" rel="noreferrer"
                    moz-do-not-send="true" class="moz-txt-link-freetext">https://lists.cinelerra-gg.org/pipermail/cin/2024-November/008982.html</a><br>
                  <br>
                  <br>
                  And yes, there was also issues before
                  hevc_qsv_10b422.mp4 combinations Pixel format/profile
                  finally succeeded.<br>
                  But here are some differences, yet. While hevc_qsv
                  provided a Pixels drop down menu with pixel formats,<br>
                  hevc_vaapi just has a single "vaapi" pixel format.<br>
                  <br>
                  Any idea why, and what can fulfill the vaapi 10bit 422
                  encoding here?<br>
                </font></div>
            </blockquote>
          </div>
        </div>
        <div dir="auto"><br>
        </div>
        <div dir="auto"><br>
        </div>
        <div dir="auto">I have some idea (hack add some pixel formats to
          hevc_vaapi, will only be usable with internal ffmpeg)</div>
      </div>
    </blockquote>
    <br>
    Just to clarify: my tests vaapi tests and qsv tests are run on Cingg
    with the onevpl patch and internal ffmpeg<br>
    <blockquote type="cite"
cite="mid:CA+rFky5O6qthNV=eRK-7ofsUOjL3jESOGKB8=A7E4uRLLhV24g@mail.gmail.com">
      <div dir="auto">
        <div dir="auto"><br>
        </div>
        <div dir="auto">but for now you can try to modify same place my
          10bit encoding patch modified, just with yuv422p10 instead of
          420p10.</div>
      </div>
    </blockquote>
    <br>
    Exactly how and where?<br>
    <br>
    <blockquote type="cite"
cite="mid:CA+rFky5O6qthNV=eRK-7ofsUOjL3jESOGKB8=A7E4uRLLhV24g@mail.gmail.com">
      <div dir="auto">
        <div dir="auto"><br>
        </div>
        <div dir="auto">sorry, a bit busy with other issues.</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>
                  <br>
                  <br>
                  <br>
                </font> </div>
              -- <br>
              Cin mailing list<br>
              <a href="mailto:Cin@lists.cinelerra-gg.org"
                target="_blank" rel="noreferrer" moz-do-not-send="true"
                class="moz-txt-link-freetext">Cin@lists.cinelerra-gg.org</a><br>
              <a
href="https://lists.cinelerra-gg.org/mailman/listinfo/cin"
                rel="noreferrer noreferrer" target="_blank"
                moz-do-not-send="true" class="moz-txt-link-freetext">https://lists.cinelerra-gg.org/mailman/listinfo/cin</a><br>
            </blockquote>
          </div>
        </div>
      </div>
    </blockquote>
    <br>
  </body>
</html>