Den 14.10.2024 01:32, skrev Andrew Randrianasulu via Cin:


вс, 13 окт. 2024 г., 22:57 Andrew Randrianasulu <[email protected]>:

    Trying to install onevpl-cpu on 32-bit Slackware, of course
    svt-hevc fails and linking fails too ...


    I wonder if it buildable in 64-bit environments?

    https://github.com/oneapi-src/oneVPL-cpu/blob/master/INSTALL.md



so, after installing in /usr/local it need this

guest@slax:/dev/shm/libvpl-2022.2.5/build$ source /usr/local/etc/vpl/vars.sh

basically add environment variables ...

now vpl-inspect, system_analyzer and sample_decode works!

guest@slax:/dev/shm/libvpl-2022.2.5/build$ ./sample_decode -sw h264 -i stream.264 -o out.yuv  CONFIGURE LOADER: required implementation: sw  CONFIGURE LOADER: required implementation mfxAccelerationMode: MFX_ACCEL_MODE_NA  Loaded Library configuration:           Version: 2.13
ImplName: oneAPI VPL CPU Implementation
Adapter number : -1
 DRMRenderNodeNum: 0
Used implementation number: 0
Loaded modules:
0: /usr/local/lib/libvplswref32.so.1
 Decoding Sample Version 8.4.27.0
 Input video     AVC
 Output format   IYUV
 Input:
Resolution    320x240
Crop X,Y,W,H  0,0,320,240                              Output:                                         Resolution    320x240
  Frame rate      3.06
Memory type             system
MediaSDK impl           sw                                  MediaSDK version        2.13                                                 Decoding started             Frame number:  272, fps: 1854.364, fread_fps: 0.000, fwrite_fps: 5185.891
  Decoding finished


====

stream.264 raw elementary h264 stream was created by ffmpeg:


ffmpeg -i ~/0005.avi -c:v libx264 stream.264

file stream.264
stream.264: JVT NAL sequence, H.264 video @ L 12

but ffmpeg (git commit 73b3344edd39468cb3f729d613949f52dbcba84e compiled with ./configure --enable-libvpl)

still reports

[mjpeg_qsv @ 0xb478f40] Error creating a MFX session: -9.



A tip is to also ask/look at related Intel Community forum/threads
https://community.intel.com/t5/Media-Intel-Video-Processing/FFmpeg-qsv-av1/m-p/1528124
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

and possibly some other, related Intel documents like
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.de/content/dam/www/public/emea/xe/en/documents/white-papers/quicksync-video-ffmpeg-install-valid.pdf 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/www/us/en/developer/tools/vpl/overview.html#gs.1cjon7
https://dgpu-docs.intel.com/driver/overview.html




-- 
Cin mailing list
[email protected]
https://lists.cinelerra-gg.org/mailman/listinfo/cin

Reply via email to