<!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 08.12.2024 15:44, skrev Terje J.
      Hanssen:<br>
    </div>
    <blockquote type="cite"
      cite="mid:6097c85f-5d96-4464-a086-012c7e975cb1@gmail.com">
      <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
      <br>
      <div class="moz-cite-prefix">Den 07.12.2024 22:10, skrev Phyllis
        Smith:<br>
      </div>
      <blockquote type="cite"
cite="mid:CAOckJE1spRPSzXaUGpb8aveSVVjcfAvB+g-YpZLthHiaawvmgQ@mail.gmail.com">
        <meta http-equiv="content-type"
          content="text/html; charset=UTF-8">
        <div dir="ltr">
          <div class="gmail_default" style="font-size:small">I will find
            a drop site and email it, but it may not be until tomorrow.</div>
          <div class="gmail_default" style="font-size:small">The
            difference in size of the AppImage is due to the addition of
            the Online Manual that Georgy incorporated 4 years ago.</div>
          <div class="gmail_default" style="font-size:small">It is
            definitely advantageous to have and easy to do but looks
            like I did not put this in the Manual so I will write that
            up.</div>
          <div class="gmail_default" style="font-size:small">Basically
            before you produce your AppImage (after the build is
            finished), you just copy all of the HTML files to bin/doc so
            that there are there when you create the AppImage.  More
            later..<br>
          </div>
        </div>
      </blockquote>
      <br>
      Yes, I see from the "bld_appimage.sh" output that there were
      executed two cp commands for html<br>
      <blockquote><font face="Courier New, Courier, monospace">cp -a
          cinelerra.html /home/cinelerra/cinelerra-5.1/doc/../bin/doc/.<br>
          cp -a shortcuts.html
          /home/cinelerra/cinelerra-5.1/doc/../bin/doc/.</font><br>
      </blockquote>
      The problem is there were just a few basic html files in
      /home/cinelerra/cinelerra-5.1/doc/ and no real online manual?<br>
      <blockquote><font face="Courier New, Courier, monospace">cinelerra.html     
          doc_2002.html       installation.html  ShellCmds_ru.html</font><br>
        <font face="Courier New, Courier, monospace">configuration.html 
          help_br_index.html  ShellCmds_en.html  shortcuts.html</font><br>
        <font face="Courier New, Courier, monospace">current.html       
          history.html        ShellCmds_es.html</font><br>
        <font face="Courier New, Courier, monospace">doc_2000.html      
          index.html          ShellCmds.html</font><br>
      </blockquote>
    </blockquote>
    <br>
    <font face="Courier New, Courier, monospace">I'm confused here,
      because </font><font face="Courier New, Courier, monospace">opening
      index.html and "cinelerra.html" is "Secrets of Cinelerra", Version
      4.1 by Adam Williams<br>
      <br>
      <br>
    </font>
    <blockquote type="cite"
      cite="mid:6097c85f-5d96-4464-a086-012c7e975cb1@gmail.com">
      <blockquote> </blockquote>
      So I need to know from where and how to copy these html files?<br>
      <br>
      A minor question is that the default file name from the bld script
      is "cin-x86_64.AppImage"<br>
      Can the bld_appimage.sh take the wanted file name as argument, or
      is it just fine to rename it afterwards?<br>
       <br>
      <br>
      <blockquote type="cite"
cite="mid:CAOckJE1spRPSzXaUGpb8aveSVVjcfAvB+g-YpZLthHiaawvmgQ@mail.gmail.com">
        <div class="gmail_quote gmail_quote_container">
          <div dir="ltr" class="gmail_attr">On Sat, Dec 7, 2024 at
            12:17 PM Terje J. Hanssen <<a
              href="mailto:terjejhanssen@gmail.com"
              moz-do-not-send="true" class="moz-txt-link-freetext">terjejhanssen@gmail.com</a>>
            wrote:<br>
          </div>
          <blockquote class="gmail_quote"
style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
            <div> <br>
              <br>
              <br>
              <div>Den 07.12.2024 19:25, skrev Phyllis Smith:<br>
              </div>
              <blockquote type="cite">
                <div dir="ltr">
                  <div class="gmail_default" style="font-size:small">Great!
                    somehow we need to get all of this documented as far
                    as the build procedure and usage goes to include in
                    the Manual.  It would be difficult for anyone who
                    does not have this "gourmet" hardware to do that. 
                    In addition, I can put Terje's AppImage on the
                    website for other users to download for testing and
                    usage -- that would be appreciated.  Since the
                    AppImage is large, it would have to be first
                    uploaded to a "drop site" for me to download.  But
                    that is up to Terje.  Thanks for this great effort
                    and info.<br>
                  </div>
                </div>
              </blockquote>
              <br>
              Phyllis, of course I can upload the Appimage for what it
              is worth. If you have a url to a drop site, you can
              possibly mail it to me. Currently I have none in use
              myself.<br>
              I was wondering a bit why this AppImage size is "just"
              94.8 MB compared with 178.8 MB for the usual
              CinGG-20241031-x86_64.AppImage (?)<br>
              <br>
              And not to forget: it is thanks to Andrew's patchwork and
              time consuming guiding that has made this possible !<br>
              <br>
              <br>
              <blockquote type="cite"><br>
                <div class="gmail_quote">
                  <div dir="ltr" class="gmail_attr">On Sat, Dec 7, 2024
                    at 10:40 AM Terje J. Hanssen via Cin <<a
                      href="mailto:cin@lists.cinelerra-gg.org"
                      target="_blank" moz-do-not-send="true"
                      class="moz-txt-link-freetext">cin@lists.cinelerra-gg.org</a>>
                    wrote:<br>
                  </div>
                  <blockquote class="gmail_quote"
style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
                    <div> After the successful Appimage build with
                      OneVPL for QSV on Alder Lake (i7-12700/Arc A750), 
                      the time has come as proof of contest to test if
                      it also works on legacy Intel iGPU hardware.<br>
                      <br>
                      Extracted from the Fixed-function Quick Sync Video
                      format support for HEVC one should expect <br>
                      <a
href="https://en.wikipedia.org/wiki/Intel_Quick_Sync_Video#Hardware_decoding_and_encoding"
                        target="_blank" moz-do-not-send="true"
                        class="moz-txt-link-freetext">https://en.wikipedia.org/wiki/Intel_Quick_Sync_Video#Hardware_decoding_and_encoding</a><br>
                      <ul>
                        <li>The Skylake microarchitecture implementation
                          adds a full fixed-function H.265/HEVC 8-bit
                          4:2:0 decoding and encoding acceleration,
                          hybrid and partial HEVC 10-bit decoding
                          acceleration,</li>
                      </ul>
                      <ul>
                        <li>The Kaby Lake, Coffee Lake, Whiskey Lake and
                          Comet Lake microarchitectures implementation
                          adds full fixed-function H.265/HEVC 10-bit
                          4:2:0 decoding and encoding acceleration,</li>
                      </ul>
                      <br>
                      <font face="Courier New, Courier, monospace"><br>
                        1) Sky Lake:<br>
                        ------------<br>
                        CPU:<br>
                         Info: quad core model: Intel Core i7-6700K
                        bits: 64 type: MT MCP cache:<br>
                        Graphics:<br>
                          Device-1: Intel HD Graphics 530 driver: i915
                        v: kernel<br>
                          (Device-2: NVIDIA GM206 [GeForce GTX 960]
                        driver: N/A)<br>
                        <br>
                        ~/Application> ./cin-x86_64.AppImage<br>
                        Cinelerra Infinity - built: Nov 20 2024 22:0<br>
                        <br>
                        <br>
                        Loaded hdv09_04.m2t (tff interlaced)<br>
                        <br>
                        Rendered to hevc_qsv_8b420<br>
                        ---------------------------<br>
                        libva info: VA-API version 1.22.0<br>
                        libva info: Trying to open
                        /usr/lib64/dri/iHD_drv_video.so<br>
                        libva info: Found init function
                        __vaDriverInit_1_22<br>
                        libva info: va_openDriver() returns 0<br>
                        Render::render_single: Session finished.<br>
                        ** rendered 5972 frames in 66.227 secs, 90.175
                        fps<br>
                        <br>
                        ffprobe -hide_banner hdv09_04_hevc_qsv_8b420.mp4<br>
                          Stream #0:0[0x1](und): Video: hevc (Main)
                        (hev1 / 0x31766568), yuvj420p(pc,
                        smpte170m/unknown/unknown, top coded first
                        (swapped)), 1440x1080 [SAR 4:3 DAR 16:9], 4918
                        kb/s, 25 fps, 25 tbr, 12800 tbn (default)<br>
                        <br>
                        <br>
                        Test hevc_qsv_10b420 failed<br>
                        ---------------------------<br>
                        libva info: VA-API version 1.22.0<br>
                        libva info: Trying to open
                        /usr/lib64/dri/iHD_drv_video.so<br>
                        libva info: Found init function
                        __vaDriverInit_1_22<br>
                        libva info: va_openDriver() returns 0<br>
                        [hevc_qsv @ 0x7fe508025980] Low power mode is
                        unsupported<br>
                        [hevc_qsv @ 0x7fe508025980] Current pixel format
                        is unsupported<br>
                        [hevc_qsv @ 0x7fe508025980] some encoding
                        parameters are not supported by the QSV runtime.
                        Please double check the input parameters.<br>
                        <br>
                        FFMPEG::open_encoder  err: Function not
                        implemented<br>
                        int FFMPEG::open_encoder(const char*, const
                        char*):<br>
                        open failed
                        hevc_qsv:/run/media/terje/video/hdv09_04_hevc_qsv_10b420.mp4<br>
                        Render::render_single: Session finished.<br>
                        <br>
                        <br>
                        2) Kaby Lake<br>
                        -----------<br>
                        CPU:<br>
                          Info: quad core model: Intel Core i7-8550U
                        bits: 64 type: MT MCP cache:<br>
                        Graphics:<br>
                          Device-1: Intel UHD Graphics 620 driver: i915
                        v: kernel<br>
                        <br>
                        ~/Application> ./cin-x86_64.AppImage<br>
                        Cinelerra Infinity - built: Nov 20 2024 22:0<br>
                        <br>
                        <br>
                        Loaded hdv09_04.m2t (tff interlaced)<br>
                        <br>
                        Rendered to hevc_qsv_8b420<br>
                        ---------------------------<br>
                        libva info: VA-API version 1.22.0<br>
                        libva info: Trying to open
                        /usr/lib64/dri/iHD_drv_video.so<br>
                        libva info: Found init function
                        __vaDriverInit_1_22<br>
                        libva info: va_openDriver() returns 0<br>
                        Render::render_single: Session finished.<br>
                        ** rendered 5972 frames in 59.564 secs, 100.262
                        fps<br>
                        <br>
                        ffprobe -hide_banner hdv09_04_hevc_qsv_8b420.mp4<br>
                        Stream #0:0[0x1](und): Video: hevc (Main) (hev1
                        / 0x31766568), yuvj420p(pc,
                        smpte170m/unknown/unknown, top coded first
                        (swapped)), 1440x1080 [SAR 4:3 DAR 16:9], 4018
                        kb/s, 25 fps, 25 tbr, 12800 tbn (default)<br>
                        <br>
                        <br>
                        Rendered to hevc_qsv_10b420<br>
                        ---------------------------<br>
                        libva info: VA-API version 1.22.0<br>
                        libva info: Trying to open
                        /usr/lib64/dri/iHD_drv_video.so<br>
                        libva info: Found init function
                        __vaDriverInit_1_22<br>
                        libva info: va_openDriver() returns 0<br>
                        Render::render_single: Session finished.<br>
                        ** rendered 5972 frames in 79.061 secs, 75.537
                        fps<br>
                        <br>
                        ffprobe -hide_banner
                        hdv09_04_hevc_qsv_10b420.mp4<br>
                        Stream #0:0[0x1](und): Video: hevc (Main 10)
                        (hev1 / 0x31766568), yuv420p10le(pc,
                        smpte170m/unknown/unknown, top coded first
                        (swapped)), 1440x1080 [SAR 4:3 DAR 16:9], 25630
                        kb/s, 25 fps, 25 tbr, 12800 tbn (default)<br>
                        <br>
                        <br>
                        Test hevc_qsv_10b422 failed:<br>
                        ----------------------------<br>
                        libva info: VA-API version 1.22.0<br>
                        libva info: Trying to open
                        /usr/lib64/dri/iHD_drv_video.so<br>
                        libva info: Found init function
                        __vaDriverInit_1_22<br>
                        libva info: va_openDriver() returns 0<br>
                        [hevc_qsv @ 0x7f8e74000bc0] Low power mode is
                        unsupported<br>
                        [hevc_qsv @ 0x7f8e74000bc0] Current pixel format
                        is unsupported<br>
                        [hevc_qsv @ 0x7f8e74000bc0] some encoding
                        parameters are not supported by the QSV runtime.
                        Please double check the input parameters.<br>
                        FFMPEG::open_encoder  err: Function not
                        implemented<br>
                        int FFMPEG::open_encoder(const char*, const
                        char*):<br>
                        open failed
                        hevc_qsv:/home/terje/Videos/hdv09_04_hevc_qsv_10b422.mp4<br>
                        Render::render_single: Session finished.<br>
                      </font><br>
                      <br>
                      Conclusion:<br>
                      -------------------<br>
                      The above simple tests show that the QSV enabled
                      Appimage with OneVPL works also on legacy and
                      other Intel hardware.<br>
                      <br>
                      <br>
                      <br>
                      <br>
                      <br>
                      <br>
                    </div>
                    -- <br>
                    Cin mailing list<br>
                    <a href="mailto:Cin@lists.cinelerra-gg.org"
                      target="_blank" 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" target="_blank"
                      moz-do-not-send="true"
                      class="moz-txt-link-freetext">https://lists.cinelerra-gg.org/mailman/listinfo/cin</a><br>
                  </blockquote>
                </div>
              </blockquote>
              <br>
            </div>
          </blockquote>
        </div>
      </blockquote>
      <br>
    </blockquote>
    <br>
  </body>
</html>