<!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 05.11.2024 14:20, skrev Andrew
      Randrianasulu:<br>
    </div>
    <blockquote type="cite"
cite="mid:CA+rFky5RgkbPs1-VeQba_hQ9e_rSKXrhwsVebK2Qsf_C-kZSAg@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">вт, 5 нояб. 2024 г., 16:10
              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 05.11.2024 04:45, 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 г., 01:52 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> I upgraded my system Slowroll to <br>
                            <br>
                            <font face="Courier New, Courier, monospace">S 
                              | Name                | Type    |
                              Version                        | Arch   |
                              Repository<br>
---+---------------------+---------+--------------------------------+--------+----------------------<br>
                              i+ | libSvtAv1Enc2       | package |
                              2.3.0-1.5                      | x86_64 |
                              obs:multimedia:libs<br>
                              i+ | SVT-AV1             | package |
                              2.3.0-1.5                      | x86_64 |
                              obs:multimedia:libs</font><br>
                            <br>
                            Version test:<br>
                            <blockquote><font
                                face="Courier New, Courier, monospace">#
                                SvtAv1EncApp<br>
                                Svt[info]:
                                -------------------------------------------<br>
                                Svt[info]: SVT [version]:    SVT-AV1
                                Encoder Lib v2.3.0<br>
                                Svt[info]: SVT [build]  :    GCC 14.2.1
                                20241007 [revision
                                4af44f2cf7d281f3e4f3957efce10e8b2ccb2ad3]    
                                64 bit<br>
                                Svt[info]: LIB Build date: Oct 29 2024
                                22:11:44<br>
                                Svt[info]:
                                -------------------------------------------</font><br>
                            </blockquote>
                            <br>
                            File list for<br>
                            <blockquote><font
                                face="Courier New, Courier, monospace">rpm
                                -ql libSvtAv1Enc2</font><br>
                              <font
                                face="Courier New, Courier, monospace">/usr/lib64/libSvtAv1Enc.so.2</font><br>
                              <font
                                face="Courier New, Courier, monospace">/usr/lib64/libSvtAv1Enc.so.2.3.0</font><br>
                              <font
                                face="Courier New, Courier, monospace">/usr/share/licenses/libSvtAv1Enc2</font><br>
                              <font
                                face="Courier New, Courier, monospace">/usr/share/licenses/libSvtAv1Enc2/LICENSE.md</font><br>
                              <font
                                face="Courier New, Courier, monospace">/usr/share/licenses/libSvtAv1Enc2/PATENTS.md</font><br>
                              <br>
                            </blockquote>
                            I tested first that SVT-AV1 v. 2.3.0
                            encoding worked OK with my existing system
                            ffmpeg v. 7.1<br>
                            <br>
                            I'm not sure I ever have tested av1_svt
                            rendering with my single-user build Cingg
                            before now.<br>
                            But when I tried now to render the same hdv
                            file as with ffmpeg, Cingg failed with<br>
                            <blockquote><font
                                face="Courier New, Courier, monospace">int
                                FFMPEG::open_encoder(const char*, const
                                char*):</font><br>
                              <font
                                face="Courier New, Courier, monospace">cant
                                find codec
                                libsvtav1:/Videoklipp/AV1/hdv09_04_m2t_svt-av1_230.webm</font><br>
                            </blockquote>
                            <br>
                            Shouldn't Cingg be able to work with the
                            system upgraded libSvtAv1Enc2 v. 2-3-0
                            automatically as well as ffmpeg does?<br>
                            Or if necessary  via a simple "update",
                            without complete rebuild?<br>
                            -------------<br>
                            <br>
                            I had a look at my last rebuild of Cingg for
                            using ffmpeg 7.1 :<br>
                            Does "disabled  libsvtav1" say something?<br>
                            <br>
                            <font face="Courier New, Courier, monospace">#
                              ./configure --with-single-user
                              --disable-static-build
                              --without-thirdparty --without-libdpx<br>
                              configure: loading site script
                              /usr/share/site/x86_64-pc-linux-gnu<br>
                              ..........snip<br>
                              checking for
                              /usr/local/cuda/include/cuda.h... no<br>
                              checking cuda sdk... no<br>
                              checking for dlopen in -ldl... yes<br>
                              checking for numa_alloc in -lnuma... yes<br>
                              checking for openexr available... yes<br>
                                Reason                  Package<br>
                                ------                  -------<br>
                                disabled                encore<br>
                                disabled                audiofile<br>
                                disabled                esound<br>
                                disabled                libsvtav1<br>
                              ...snip...</font></div>
                        </blockquote>
                      </div>
                    </div>
                    <div dir="auto"><br>
                    </div>
                    <div dir="auto"><br>
                    </div>
                    <div dir="auto">strange, I think it should work,
                      while I have't tried such upgrade in practice
                      ......</div>
                    <div dir="auto"><br>
                    </div>
                    <div dir="auto">"disable" line here talks about
                      internal ffmpeg, and it all should be dynamic in
                      ffmpeg.C ...</div>
                    <div dir="auto"><br>
                    </div>
                    <div dir="auto"><br>
                    </div>
                    <div dir="auto">mystery!</div>
                  </div>
                </blockquote>
                <br>
                Yeah.<br>
                I found back in my notes that I rendered a single
                av1_svt dv file 12/10 with my previous (first) built
                Cingg based on ffmpeg 7.02 and <font
                  face="Courier New, Courier, monospace">libSvtAv1Enc2
                  v.2.2.1</font>.<br>
                <br>
                I think I ran into some dependice conflicts during
                upgrade to ffmpeg 7.1 and had to uninstall some
                packages, this was before rebuilding the current Cingg
                based on ffmpeg 7.1<br>
                <br>
                Regarding libSvtAv1Enc2 and SVT-AV1 v. 2.3.0 upgrade to
                new version and vendor change, I have now installed (+i)<br>
                <br>
                <font face="Courier New, Courier, monospace"># zypper se
                  -s libSvtAv1Enc2 SVT-AV1<br>
                  Loading repository data...<br>
                  Reading installed packages...<br>
                  <br>
                  S  | Name                    | Type       |
                  Version     | Arch   | Repository<br>
---+-------------------------+------------+-------------+--------+----------------------<br>
                  i+ | libSvtAv1Enc2           | package    |
                  2.3.0-1.5   | x86_64 | obs:multimedia:libs<br>
                  v  | libSvtAv1Enc2           | package    |
                  2.2.1-1.1   | x86_64 | openSUSE-Slowroll-Oss<br>
                     | libSvtAv1Enc2-debuginfo | package    |
                  2.3.0-1.5   | x86_64 | obs:multimedia:libs<br>
                  i+ | SVT-AV1                 | package    |
                  2.3.0-1.5   | x86_64 | obs:multimedia:libs<br>
                  v  | SVT-AV1                 | package    |
                  2.2.1-1.1   | x86_64 | openSUSE-Slowroll-Oss<br>
                     | SVT-AV1                 | srcpackage |
                  2.3.0-1.5   | noarch | obs:multimedia:libs<br>
                     | SVT-AV1-debuginfo       | package    |
                  2.3.0-1.5   | x86_64 | obs:multimedia:libs<br>
                     | SVT-AV1-debugsource     | package    |
                  2.3.0-1.5   | x86_64 | obs:multimedia:libs<br>
                     | SVT-AV1-devel           | package    |
                  2.3.0-1.5   | x86_64 | obs:multimedia:libs<br>
                     | SVT-AV1-devel           | package    |
                  2.2.1-1.1   | x86_64 | openSUSE-Slowroll-Oss<br>
                     | svt-av1-psy             | package    |
                  2.2.1.B-1.2 | x86_64 | obs:multimedia:libs<br>
                     | svt-av1-psy             | package    |
                  2.2.1.B-1.2 | i586   | obs:multimedia:libs<br>
                     | svt-av1-psy             | srcpackage |
                  2.2.1.B-1.2 | noarch | obs:multimedia:libs<br>
                     | svt-av1-psy-debuginfo   | package    |
                  2.2.1.B-1.2 | x86_64 | obs:multimedia:libs<br>
                     | svt-av1-psy-debuginfo   | package    |
                  2.2.1.B-1.2 | i586   | obs:multimedia:libs<br>
                     | svt-av1-psy-debugsource | package    |
                  2.2.1.B-1.2 | x86_64 | obs:multimedia:libs<br>
                     | svt-av1-psy-debugsource | package    |
                  2.2.1.B-1.2 | i586   | obs:multimedia:libs<br>
                     | svt-av1-psy-devel       | package    |
                  2.2.1.B-1.2 | x86_64 | obs:multimedia:libs<br>
                     | svt-av1-psy-devel       | package    |
                  2.2.1.B-1.2 | i586   | obs:multimedia:libs</font><br>
                <br>
                <br>
                If the SVT-AV1-devel packages (2.2.1) were missing when
                Cingg was rebuild for ffmpeg 7.1, can this have causes
                that Cingg doesn't find the av1_svt codec now?<br>
              </div>
            </blockquote>
          </div>
        </div>
        <div dir="auto"><br>
        </div>
        <div dir="auto"><br>
        </div>
        <div dir="auto">I think absent svt-devel package only important
          for building ffmpeg itself, if you use binary packages it all
          should be handled by maintainers .....</div>
      </div>
    </blockquote>
    <br>
    <br>
    I have to close this open issue because it was clarified in another
    thread<br>
<a class="moz-txt-link-freetext" href="https://lists.cinelerra-gg.org/pipermail/cin/2024-November/009004.html">https://lists.cinelerra-gg.org/pipermail/cin/2024-November/009004.html</a><br>
    <br>
    My mistake above is that I used a preliminar, static rebuild of
    Cingg dedicated for onevpl and also without internal libSvtAv1Enc. <br>
    When I now start my previous dynamic build from backup, it finds the
    system libSvtAv1Enc v. 2.3.0 and renders two test files:<br>
    <br>
    localhost:/Cin/bin_use_system_ffmpeg-71 # bin/cin<br>
    Cinelerra Infinity - built: Oct 20 2024 21:21:06<br>
    <br>
    <br>
    1) DV --> AV1-SVT<br>
    ----------------------------- <br>
    <font face="Courier New, Courier, monospace">Svt[info]:
      -------------------------------------------<br>
      Svt[info]: SVT [version]:    SVT-AV1 Encoder Lib v2.3.0<br>
      Svt[info]: SVT [build]  :    GCC 14.2.1 20241007 [revision
      4af44f2cf7d281f3e4f3957efce10e8b2ccb2ad3]     64 bit<br>
      Svt[info]: LIB Build date: Oct 29 2024 22:11:44<br>
      Svt[info]: -------------------------------------------<br>
      Svt[info]: Level of Parallelism: 5<br>
      Svt[info]: Number of PPCS 140<br>
      Svt[info]: [asm level on system : up to avx2]<br>
      Svt[info]: [asm level selected : up to avx2]<br>
      Svt[info]: -------------------------------------------<br>
      Svt[info]: SVT [config]: main profile    tier (auto)    level
      (auto)<br>
      Svt[info]: SVT [config]: width / height / fps numerator / fps
      denominator         : 720 / 576 / 25 / 1<br>
      Svt[info]: SVT [config]: bit-depth / color
      format                     : 8 / YUV420<br>
      Svt[info]: SVT [config]: preset / tune / pred
      struct                     : 6 / PSNR / random access<br>
      Svt[info]: SVT [config]: gop size / mini-gop size / key-frame
      type             : 161 / 32 / key frame<br>
      Svt[info]: SVT [config]: BRC mode / rate
      factor                     : CRF / 35 <br>
      Svt[info]: SVT [config]: AQ mode / variance
      boost                     : 2 / 0<br>
      Svt[info]: -------------------------------------------<br>
      Svt[warn]: Failed to set thread priority: Invalid argument<br>
      FFStream::encode_frame: encode failed.<br>
      file: /Videoklipp/AV1/dv01_07_svt-av1_230.webm<br>
        err: Resource temporarily unavailable<br>
      FFStream::flush failed<br>
      :<a class="moz-txt-link-freetext" href="file:/Videoklipp/AV1/dv01_07_svt-av1_230.webm">file:/Videoklipp/AV1/dv01_07_svt-av1_230.webm</a><br>
        err: Operation not permitted<br>
      Render::render_single: Session finished.<br>
      ** rendered 2832 frames in 24.436 secs, 115.895 fps<br>
      FFMPEG::open_decoder: some stream times estimated:
      /Videoklipp/AV1/dv01_07_svt-av1_230.webm<br>
      FFMPEG::open_decoder: some stream times estimated:
      /Videoklipp/AV1/dv01_07_svt-av1_230.webm<br>
      audio0 pad 32 -335 (367)<br>
    </font><br>
    <br>
     2) HDV --> AV1-SVT<br>
    --------------------------------<br>
    <font face="Courier New, Courier, monospace">Svt[info]:
      -------------------------------------------<br>
      Svt[info]: SVT [config]: main profile    tier (auto)    level
      (auto)<br>
      Svt[info]: SVT [config]: width / height / fps numerator / fps
      denominator         : 1440 / 1080 / 25 / 1<br>
      Svt[info]: SVT [config]: bit-depth / color
      format                     : 8 / YUV420<br>
      Svt[info]: SVT [config]: preset / tune / pred
      struct                     : 6 / PSNR / random access<br>
      Svt[info]: SVT [config]: gop size / mini-gop size / key-frame
      type             : 161 / 32 / key frame<br>
      Svt[info]: SVT [config]: BRC mode / rate
      factor                     : CRF / 35 <br>
      Svt[info]: SVT [config]: AQ mode / variance
      boost                     : 2 / 0<br>
      Svt[info]: -------------------------------------------<br>
      Svt[warn]: Failed to set thread priority: Invalid argument<br>
      FFStream::encode_frame: encode failed.<br>
      file: /Videoklipp/AV1/hdv09_04_m2t_svt-av1_230.webm<br>
        err: Resource temporarily unavailable<br>
      FFStream::flush failed<br>
      :<a class="moz-txt-link-freetext" href="file:/Videoklipp/AV1/hdv09_04_m2t_svt-av1_230.webm">file:/Videoklipp/AV1/hdv09_04_m2t_svt-av1_230.webm</a><br>
        err: Operation not permitted<br>
      Render::render_single: Session finished.<br>
      ** rendered 5972 frames in 93.191 secs, 64.083 fps<br>
      FFMPEG::open_decoder: some stream times estimated:
      /Videoklipp/AV1/hdv09_04_m2t_svt-av1_230.webm<br>
      FFMPEG::open_decoder: some stream times estimated:
      /Videoklipp/AV1/hdv09_04_m2t_svt-av1_230.webm<br>
      audio0 pad 64 -335 (399)</font><br>
    <br>
    <br>
    <br>
    <br>
    <blockquote type="cite"
cite="mid:CA+rFky5RgkbPs1-VeQba_hQ9e_rSKXrhwsVebK2Qsf_C-kZSAg@mail.gmail.com">
      <div dir="auto">
        <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>
                <blockquote type="cite">
                  <div dir="auto">
                    <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>
                            <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>
                <br>
              </div>
            </blockquote>
          </div>
        </div>
      </div>
    </blockquote>
    <br>
  </body>
</html>