<!DOCTYPE html>
<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <br>
    <div class="moz-cite-prefix">Den 14.10.2024 01:32, skrev Andrew
      Randrianasulu via Cin:<br>
    </div>
    <blockquote type="cite"
cite="mid:CA+rFky7=Hrj+sG9EB2aN5YaOpa0Vuri5C356K0C6yC8P1XvY6A@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 г., 22:57
              Andrew Randrianasulu <<a
                href="mailto:randrianasulu@gmail.com"
rel="noreferrer noreferrer noreferrer noreferrer noreferrer noreferrer"
                target="_blank" 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">Trying to install onevpl-cpu on 32-bit
                Slackware, of course svt-hevc fails and linking fails
                too ...
                <div dir="auto"><br>
                </div>
                <div dir="auto"><br>
                </div>
                <div dir="auto">I wonder if it buildable in 64-bit
                  environments?</div>
                <div dir="auto"><br>
                </div>
                <div dir="auto"><a
href="https://github.com/oneapi-src/oneVPL-cpu/blob/master/INSTALL.md"
rel="noreferrer noreferrer noreferrer noreferrer noreferrer noreferrer noreferrer"
                    target="_blank" moz-do-not-send="true"
                    class="moz-txt-link-freetext">https://github.com/oneapi-src/oneVPL-cpu/blob/master/INSTALL.md</a><br>
                </div>
              </div>
            </blockquote>
          </div>
        </div>
        <div dir="auto"><br>
        </div>
        <div dir="auto"><br>
        </div>
        <div dir="auto">so, after installing in /usr/local it need this</div>
        <div dir="auto"><br>
        </div>
        <div dir="auto"><a class="moz-txt-link-abbreviated" href="mailto:guest@slax:/dev/shm/libvpl-2022.2.5/build$">guest@slax:/dev/shm/libvpl-2022.2.5/build$</a>
          source /usr/local/etc/vpl/vars.sh<br>
        </div>
        <div dir="auto"><br>
        </div>
        <div dir="auto">basically add environment variables ...</div>
        <div dir="auto"><br>
        </div>
        <div dir="auto">now vpl-inspect, system_analyzer and
          sample_decode works!</div>
        <div dir="auto"><br>
        </div>
        <div dir="auto"><a class="moz-txt-link-abbreviated" href="mailto:guest@slax:/dev/shm/libvpl-2022.2.5/build$">guest@slax:/dev/shm/libvpl-2022.2.5/build$</a>
          ./sample_decode -sw h264 -i stream.264 -o out.yuv     
           CONFIGURE LOADER: required implementation: sw       </div>
        <div dir="auto"> CONFIGURE LOADER: required implementation
          mfxAccelerationMode: MFX_ACCEL_MODE_NA                 
           Loaded Library configuration:                               
                    Version: 2.13                                       
                                                        </div>
        <div dir="auto">ImplName: oneAPI VPL CPU Implementation         
                                                            </div>
        <div dir="auto">Adapter number : -1                             
                                                           </div>
        <div dir="auto"> DRMRenderNodeNum: 0                           
                                                          </div>
        <div dir="auto">Used implementation number: 0                   
                                                            </div>
        <div dir="auto">Loaded modules:                                 
                                                               </div>
        <div dir="auto">0: /usr/local/lib/libvplswref32.so.1           
                                                                       
                                           </div>
        <div dir="auto"> Decoding Sample Version 8.4.27.0               
                                  </div>
        <div dir="auto"> Input video     AVC                           
                                              </div>
        <div dir="auto"> Output format   IYUV                           
                                          </div>
        <div dir="auto"> Input:                                         
                                                     </div>
        <div dir="auto">Resolution    320x240                           
                                         </div>
        <div dir="auto">Crop X,Y,W,H  0,0,320,240                       
                                       Output:                         
                                                  Resolution    320x240 
                                     </div>
        <div dir="auto">  Frame rate      3.06                  </div>
        <div dir="auto">Memory type             system                 
                                        </div>
        <div dir="auto">MediaSDK impl           sw                     
                                           MediaSDK version        2.13 
                                                          Decoding
          started                                                       
                      Frame number:  272, fps: 1854.364, fread_fps:
          0.000, fwrite_fps: 5185.891                        </div>
        <div dir="auto">  Decoding finished<br>
        </div>
        <div dir="auto"><br>
        </div>
        <div dir="auto"><br>
        </div>
        <div dir="auto">====</div>
        <div dir="auto"><br>
        </div>
        <div dir="auto">stream.264 raw elementary h264 stream was
          created by ffmpeg:</div>
        <div dir="auto"><br>
        </div>
        <div dir="auto"><br>
        </div>
        <div dir="auto">ffmpeg -i ~/0005.avi -c:v libx264 stream.264<br>
        </div>
        <div dir="auto"><br>
        </div>
        <div dir="auto">file stream.264                                 
                 </div>
        <div dir="auto">stream.264: JVT NAL sequence, H.264 video @ L 12<br>
        </div>
        <div dir="auto"><br>
        </div>
        <div dir="auto">but ffmpeg (git
          commit 73b3344edd39468cb3f729d613949f52dbcba84e compiled with
          ./configure --enable-libvpl)</div>
        <div dir="auto"><br>
        </div>
        <div dir="auto">still reports </div>
        <div dir="auto"><br>
        </div>
        <div dir="auto">[mjpeg_qsv @ 0xb478f40] Error creating a MFX
          session: -9.<br>
        </div>
        <div dir="auto"><br>
        </div>
      </div>
      <br>
    </blockquote>
    <br>
    A tip is to also ask/look at related Intel Community forum/threads<br>
    <a class="moz-txt-link-freetext"
href="https://community.intel.com/t5/Media-Intel-Video-Processing/FFmpeg-qsv-av1/m-p/1528124">https://community.intel.com/t5/Media-Intel-Video-Processing/FFmpeg-qsv-av1/m-p/1528124</a>
    <br>
    <a class="moz-txt-link-freetext"
href="https://community.intel.com/t5/forums/searchpage/tab/message?filter=location&q=ffmpeg&noSynonym=false&inactive=false&location=forum-board:media-products&collapse_discussion=true">https://community.intel.com/t5/forums/searchpage/tab/message?filter=location&q=ffmpeg&noSynonym=false&inactive=false&location=forum-board:media-products&collapse_discussion=true</a><br>
    <br>
    and possibly some other, related Intel documents like<br>
    <a class="moz-txt-link-freetext"
href="https://www.intel.com/content/www/us/en/content-details/728030/building-ffmpeg-with-qsv-on-windows-and-linux-intel-platform.html?wapkw=ffmpeg">https://www.intel.com/content/www/us/en/content-details/728030/building-ffmpeg-with-qsv-on-windows-and-linux-intel-platform.html?wapkw=ffmpeg</a>
    <br>
    <a class="moz-txt-link-freetext"
href="https://www.intel.de/content/dam/www/public/emea/xe/en/documents/white-papers/quicksync-video-ffmpeg-install-valid.pdf">https://www.intel.de/content/dam/www/public/emea/xe/en/documents/white-papers/quicksync-video-ffmpeg-install-valid.pdf</a>
    <br>
    <a class="moz-txt-link-freetext"
href="https://www.intel.com/content/dam/www/public/us/en/documents/white-papers/cloud-computing-quicksync-video-ffmpeg-white-paper.pdf">https://www.intel.com/content/dam/www/public/us/en/documents/white-papers/cloud-computing-quicksync-video-ffmpeg-white-paper.pdf</a>
    <br>
    <a class="moz-txt-link-freetext"
href="https://www.intel.com/content/www/us/en/developer/tools/vpl/overview.html#gs.1cjon7">https://www.intel.com/content/www/us/en/developer/tools/vpl/overview.html#gs.1cjon7</a>
    <br>
    <a class="moz-txt-link-freetext"
      href="https://dgpu-docs.intel.com/driver/overview.html">https://dgpu-docs.intel.com/driver/overview.html</a>
    <br>
      <br>
    <br>
    <br>
    <br>
    <br>
  </body>
</html>