Hello Stefano, Monday, October 12, 2015, 9:10:04 PM, you wrote: SS> 2. The mfx_dispatch library compiles fine on my system, but then I SS> wonder how it is supposed to reference the Intel Media library: SS> https://software.intel.com/en-us/intel-media-server-studio
SS> ... SS> I'm able to compile FFmpeg with --enable-libmfx after installing SS> the mfx_dispatch library, and run this command: SS> ffmpeg -i test.mp4 -c:v h264_qsv -y test.out.mp4 SS> but then it fails with: SS> Error initializing an internal MFX session As far as I understanding Intel's libraries and patches from Media SDK should be present in a system. The open-source mfx dispatch library is just wrapper which loads appropriate .so by intel. The official instruction how to setup intel media sdk on linux is following: https://software.intel.com/sites/default/files/media_server_studio_getting_started_guide.pdf SS> Running strace on the command it results that it's looking for the SS> libmfxsw64.so library and failing: SS> open("/lib/x86_64-linux-gnu/libmfxsw64.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) SS> open("/usr/lib/x86_64-linux-gnu/libmfxsw64.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) SS> open("/lib/libmfxsw64.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) SS> open("/usr/lib/libmfxsw64.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) SS> munmap(0x7f9a55072000, 155122) = 0 Intel's library usually locates into the /opt/intel/mediasdk/lib64 For example for Media SDK 1.16 here following files should be: -rwxr-xr-x. 1 root root 28826704 Jun 11 08:44 iHD_drv_video.so -rwxr-xr-x. 1 root root 10646952 Jun 11 08:44 libmfxhw64-p.so.1.16 lrwxrwxrwx. 1 root root 20 Jul 10 16:52 libmfxhw64.so -> libmfxhw64-p.so.1.16 -rwxr-xr-x. 1 root root 9364712 Jun 11 08:44 libmfxsw64-p.so.1.16 lrwxrwxrwx. 1 root root 20 Jul 10 16:52 libmfxsw64.so -> libmfxsw64-p.so.1.16 -- Best regards, Ivan mailto:ivan.us...@nablet.com _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel