<!DOCTYPE html>
<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <br>
    <br>
    <div class="moz-cite-prefix">Den 10.12.2023 19:04, skrev Andrew
      Randrianasulu:<br>
    </div>
    <blockquote type="cite"
cite="mid:CA+rFky64pCPBvg9gKXt1jSSD3QKjoFR8qSNWRPYHQd-OqUL4Kg@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">вс, 10 дек. 2023 г., 20:37
              Andrew Randrianasulu <<a
                href="mailto:randrianasulu@gmail.com"
                moz-do-not-send="true" class="moz-txt-link-freetext">randrianasulu@gmail.com</a>>:<br>
            </div>
            <blockquote class="gmail_quote"
style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
              <div dir="auto">
                <div><br>
                  <br>
                  <div class="gmail_quote">
                    <div dir="ltr" class="gmail_attr">вс, 10 дек. 2023
                      г., 20:32 Terje J. Hanssen via Cin <<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>
                    </div>
                    <blockquote class="gmail_quote"
style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
                      <div> <br>
                        <div>Den 03.12.2023 22:29, skrev Terje J.
                          Hanssen:<br>
                        </div>
                        <blockquote type="cite"> Already touched this
                          topic barely in another thread<br>
                          <a
href="https://lists.cinelerra-gg.org/pipermail/cin/2023-December/007346.html"
                            rel="noreferrer noreferrer" target="_blank"
                            moz-do-not-send="true"
                            class="moz-txt-link-freetext">https://lists.cinelerra-gg.org/pipermail/cin/2023-December/007346.html</a><br>
                          <br>
                          But so many SW and HW pieces are mentioned
                          around, it is almost a full-time reading and
                          study:<br>
                          VAAPI, MESA, VULKAN, Intel Quick Sync Video
                          etc......<br>
                          <br>
                          I realize my aging hardware which is fast
                          enough for other tasks, needs some "AV1
                          upgrade", if possible.<br>
                          <br>
                          But first I wonder, what is expected possible
                          to do (obtain) with AV1 de-/encoding on my
                          existing 64bit hardware:<br>
                          <br>
                          <blockquote><font face="monospace">1) laptop
                              2018: Dell XPS 13-9370: quad core i7-8550U
                              CPU (8. gen Kabylake) and Intel UHD
                              Graphics</font><br>
                            <br>
                            <font face="monospace">2) WS infinity:  MSI
                              Z170A mobo:  quad core i7-6700K CPU (6.
                              gen Skylake), NVIDIA GeForce GT-730
                              graphics</font><br>
                          </blockquote>
                          <br>
                        </blockquote>
                        <br>
                        I continue the "AV1 de-/encoding on my existing
                        64bit hardware" question above as a branch here
                        (instead of a new related thread).<br>
                        <br>
                        This part is also related to another 2021
                        thread, [Cin] tried to update av1.webm profile<br>
                        <a
href="https://www.mail-archive.com/cin@lists.cinelerra-gg.org/msg02804.html"
                          rel="noreferrer noreferrer" target="_blank"
                          moz-do-not-send="true"
                          class="moz-txt-link-freetext">https://www.mail-archive.com/cin@lists.cinelerra-gg.org/msg02804.html</a><br>
                        which refere to FFmpeg's AV1 Video Encoding
                        Guide <br>
                        <a
                          href="https://trac.ffmpeg.org/wiki/Encode/AV1"
                          rel="noreferrer noreferrer" target="_blank"
                          moz-do-not-send="true"
                          class="moz-txt-link-freetext">https://trac.ffmpeg.org/wiki/Encode/AV1</a><br>
                        <br>
                      </div>
                    </blockquote>
                  </div>
                </div>
              </div>
            </blockquote>
          </div>
        </div>
      </div>
    </blockquote>
    <br>
    I took my first AV1 rendering test with CinGGs default av1.webm
    preset by loading a standard SD DV file clip.<br>
    <br>
    <blockquote><font face="monospace">du -sh dv*</font><br>
      <font face="monospace">389M    dv01_07.dv</font><br>
      <font face="monospace">30M    dv01_07.webm</font><br>
      <br>
      <br>
      <font face="monospace">ffprobe -hide_banner dv01_07.dv</font><br>
      <font face="monospace">[dv @ 0x5595e79b4580] Estimating duration
        from bitrate, this may be inaccurate</font><br>
      <font face="monospace">Input #0, dv, from 'dv01_07.dv':</font><br>
      <font face="monospace">  Metadata:</font><br>
      <font face="monospace">    timecode        : 01:09:35:09</font><br>
      <font face="monospace">  Duration: 00:01:53.28, start: 0.000000,
        bitrate: 28800 kb/s</font><br>
      <font face="monospace">  Stream #0:0: Video: dvvideo, yuv420p,
        720x576 [SAR 16:15 DAR 4:3], 25000 kb/s, 25 fps, 25 tbr, 25 tbn,
        25 tbc</font><br>
      <font face="monospace">  Stream #0:1: Audio: pcm_s16le, 48000 Hz,
        stereo, s16, 1536 kb/s</font><br>
      <br>
      <br>
      <font face="monospace">ffprobe -hide_banner dv01_07.webm</font><br>
      <font face="monospace">[libdav1d @ 0x560ccddb3380] libdav1d 1.0.0</font><br>
      <font face="monospace">Input #0, matroska,webm, from
        'dv01_07.webm':</font><br>
      <font face="monospace">  Metadata:</font><br>
      <font face="monospace">    ENCODER         : Lavf60.16.100</font><br>
      <font face="monospace">  Duration: 00:01:53.28, start: 0.000000,
        bitrate: 2220 kb/s</font><br>
      <font face="monospace">  Stream #0:0: Video: av1 (Main),
        yuv420p(tv, bt470bg/unknown/unknown), 720x576 [SAR 1:1 DAR 5:4],
        25 fps, 25 tbr, 1k tbn, 1k tbc</font><br>
      <font face="monospace">    Metadata:</font><br>
      <font face="monospace">      DURATION        : 00:01:53.243000000</font><br>
      <font face="monospace">  Stream #0:1: Audio: vorbis, 48000 Hz,
        stereo, fltp</font><br>
      <font face="monospace">    Metadata:</font><br>
      <font face="monospace">      DURATION        : 00:01:53.281000000</font><br>
      <br>
    </blockquote>
    Rendering took 0:03:33 or 1.87 x the Duration<br>
    This webm file was displayed ok in VLC and FFplay on Leap 15.5<br>
      <br>
    <br>
    <blockquote type="cite"
cite="mid:CA+rFky64pCPBvg9gKXt1jSSD3QKjoFR8qSNWRPYHQd-OqUL4Kg@mail.gmail.com">
      <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>
                  <div class="gmail_quote">
                    <blockquote class="gmail_quote"
style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
                      <div> To start with the workstation 2) above, I
                        want suggestions how to test the possible AV1
                        encoding options (libaom, SVT-AV1, MESA, VAAPI,
                        VDPAU) using my  system enabled ffmpeg 6.0.1
                        commands,, and also suggestions to required
                        change in system/graphics settings.<br>
                        <br>
                        System output as background info:<br>
                        <br>
                        <blockquote><font face="monospace">fmpeg
                            -encoders -hide_banner | grep av1</font><br>
                          <font face="monospace"> V....D
                            libaom-av1           libaom AV1 (codec av1)</font><br>
                          <font face="monospace"> V....D
                            librav1e             librav1e AV1 (codec
                            av1)</font></blockquote>
                      </div>
                    </blockquote>
                  </div>
                </div>
                <div dir="auto"><br>
                </div>
                <div dir="auto">From phoronix articles librav1e and
                  SVT-AV1 should be faster, but sometimes at  quality
                  cost.</div>
                <div dir="auto"><br>
                </div>
                <div dir="auto">Sorry, not tried them personally due to
                  svt demanding 64-bit system and rav1e demanding rust.</div>
                <div dir="auto"><br>
                </div>
                <div dir="auto">So for this task you are on your own ..
                  sorry!</div>
              </div>
            </blockquote>
          </div>
        </div>
        <div dir="auto"><br>
        </div>
        <div dir="auto"><a
href="https://ottverse.com/analysis-of-svt-av1-presets-and-crf-values/"
            moz-do-not-send="true" class="moz-txt-link-freetext">https://ottverse.com/analysis-of-svt-av1-presets-and-crf-values/</a><br>
        </div>
        <div dir="auto"><br>
        </div>
        <div dir="auto"><br>
        </div>
        <div dir="auto">may be crf 26 (ish) and preset 6 ?</div>
        <div dir="auto"><br>
        </div>
        <div dir="auto">On 36 core machine with avx512 it surely was
          fast, but on 4c .. I guess 1.25 fps or so will be best you can
          get? (for fullhd source)</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 dir="auto">
                <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>
                        <blockquote><br>
                          <font face="monospace"> V.....
                            libsvtav1            SVT-AV1(Scalable Video
                            Technology for AV1) encoder (codec av1)</font><br>
                          <font face="monospace"> V....D
                            av1_nvenc            NVIDIA NVENC av1
                            encoder (codec av1)</font><br>
                          <font face="monospace"> V....D
                            av1_amf              AMD AMF AV1 encoder
                            (codec av1)</font><br>
                          <font face="monospace"> A....D
                            wmav1                Windows Media Audio 1</font><br>
                          <br>
                          <font face="monospace">libaom3 v. 3,7.1</font><br>
                          <br>
                          <font face="monospace">libSvtAv1Enc1 v. 1.7.0</font><br>
                          <br>
                          <font face="monospace">libva-vdpau-driver v.
                            0.7.4</font><br>
                          <br>
                          <font face="monospace">vainfo</font><br>
                          <font face="monospace">Trying display: wayland</font><br>
                          <font face="monospace">error: XDG_RUNTIME_DIR
                            is invalid or not set in the environment.</font><br>
                          <font face="monospace">Trying display: x11</font><br>
                          <font face="monospace">libva info: VA-API
                            version 1.20.0</font><br>
                          <font face="monospace">libva info: Trying to
                            open /usr/lib64/dri/nouveau_drv_video.so</font><br>
                          <font face="monospace">libva info: Found init
                            function __vaDriverInit_1_20</font><br>
                          <font face="monospace">libva info:
                            va_openDriver() returns 0</font><br>
                          <font face="monospace">vainfo: VA-API version:
                            1.20 (libva 2.20.0)</font><br>
                          <font face="monospace">vainfo: Driver version:
                            Mesa Gallium driver 23.2.1 for NV106</font><br>
                          <font face="monospace">vainfo: Supported
                            profile and entrypoints</font><br>
                          <font face="monospace">     
                            VAProfileNone                   :   
                            VAEntrypointVideoProc</font><br>
                          <br>
                          <font face="monospace">---------------</font><br>
                          <br>
                          <font face="monospace">inxi -zdGCS</font><br>
                          <font face="monospace">System:</font><br>
                          <font face="monospace">  Kernel:
                            6.6.1-1-default arch: x86_64 bits: 64
                            Desktop: GNOME v: 45.1</font><br>
                          <font face="monospace">    Distro: openSUSE
                            Tumbleweed-Slowroll 20231119</font><br>
                          <font face="monospace">CPU:</font><br>
                          <font face="monospace">  Info: quad core
                            model: Intel Core i7-6700K bits: 64 type: MT
                            MCP cache:</font><br>
                          <font face="monospace">    L2: 1024 KiB</font><br>
                          <font face="monospace">  Speed (MHz): avg: 800
                            min/max: 800/4200 cores: 1: 800 2: 800 3:
                            800 4: 800</font><br>
                          <font face="monospace">    5: 800 6: 800 7:
                            800 8: 800</font><br>
                          <font face="monospace">Graphics:</font><br>
                          <font face="monospace">  Device-1: NVIDIA
                            GK208B [GeForce GT 730] driver: nouveau v:
                            kernel</font><br>
                          <font face="monospace">  Device-2: Microdia
                            Camera driver: snd-usb-audio,uvcvideo type:
                            USB</font><br>
                          <font face="monospace">  Device-3:
                            MACROSILICON USB3.0 UHD</font><br>
                          <font face="monospace">    driver:
                            hid-generic,snd-usb-audio,usbhid,uvcvideo
                            type: USB</font><br>
                          <font face="monospace">  Display: server:
                            X.org v: 1.21.1.9 with: Xwayland v: 23.2.2
                            driver: X:</font><br>
                          <font face="monospace">    loaded: nouveau
                            unloaded: fbdev,modesetting,vesa dri:
                            nouveau gpu: nouveau</font><br>
                          <font face="monospace">    resolution:
                            2560x1440~60Hz</font><br>
                          <font face="monospace">  API: OpenGL v: 4.3
                            vendor: mesa v: 23.2.1 renderer: NV106</font><br>
                          <font face="monospace">  API: EGL Message: EGL
                            data requires eglinfo. Check --recommends.</font><br>
                          <font face="monospace">Drives:</font><br>
                          <font face="monospace">  Local Storage: total:
                            8.8 TiB used: 5.02 TiB (57.1%)</font><br>
                          <font face="monospace">  ID-1: /dev/nvme0n1
                            vendor: Samsung model: MZVPV512HDGL-00000</font><br>
                          <font face="monospace">    size: 476.94 GiB</font><br>
                          <font face="monospace">  ID-2: /dev/sda
                            vendor: Intel model: SSDSA2CW160G3 size:
                            149.05 GiB</font><br>
                          <font face="monospace">  ID-3: /dev/sdb
                            vendor: Seagate model: ST3500418AS size:
                            465.76 GiB</font><br>
                          <font face="monospace">  ID-4: /dev/sdc
                            vendor: Seagate model: ST3500418AS size:
                            465.76 GiB</font><br>
                          <font face="monospace">  ID-5: /dev/sdd
                            vendor: Seagate model: Expansion HDD size:
                            7.28 TiB</font><br>
                          <font face="monospace">    type: USB</font><br>
                          <font face="monospace">  Optical-1: /dev/sr0
                            vendor: HL-DT-ST model: BD-RE BH10LS30</font><br>
                          <font face="monospace">    dev-links: cdrom</font><br>
                          <font face="monospace">  Features: speed: 40
                            multisession: yes audio: yes dvd: yes</font><br>
                          <font face="monospace">    rw:
                            cd-r,cd-rw,dvd-r,dvd-ram</font><br>
                          <br>
                          <font face="monospace">------------------</font><br>
                        </blockquote>
                        <font face="monospace"><br>
                          <br>
                          <br>
                          <br>
                        </font><br>
                        <br>
                        <br>
                        <br>
                        <br>
                        <br>
                        <br>
                        <br>
                        <br>
                        <br>
                        <br>
                        <br>
                        <br>
                        <br>
                         <br>
                        <br>
                        <br>
                      </div>
                      -- <br>
                      Cin mailing list<br>
                      <a href="mailto:Cin@lists.cinelerra-gg.org"
                        rel="noreferrer noreferrer" 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 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>
          </div>
        </div>
      </div>
    </blockquote>
    <br>
  </body>
</html>