вс, 13 окт. 2024 г., 22:57 Andrew Randrianasulu <randrianasulu@gmail.com>:
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?



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.