Intel Meida SDK 学习笔记

备注:
1.环境:Ubuntu Server 12.04 LTS, 内核 3.8 generic,  安装了图形界面。
2.为简便起见,本文将Intel Media SDK缩写为IMSDK。
3.文中设置环境变量(export)的部分,可追加到 ~/.bashrc 文件末尾,使所有终端通用。
4.找不到的文件可以尝试 find <可能所在路径> -name "*<文件名(部分或完整)>*"

下载IMSDK for Linux Server后,我的文件名为MediaSDK2014LinuxServersEvaluation.zip,解压进入,其中有 mediasdk_release_notes.pdf 可参考。

解压intel-linux-media_ubuntu_16.3.1.18283_64bit.tar.gz到目标文件夹,不妨称为。设置环境变量:

$ export MEDIASDK_INSTALL_FOLDER=

按 release notes 指引安装好后,应设定:

$ export MFX_HOME=$MEDIASDK_INSTALL_FOLDER/MSDK/5.0.021-16.3.1-PV-RC7/l_MSDK
$ export LD_LIBRARY_PATH=$MEDIASDK_INSTALL_FOLDER/bin/x64     #库目录
 
  
注意上面路径的数字跟 IMSDK 的版本有关。

$MFX_HOME里面有一个sample目录,是自带样例。可以参考 $MFX_HOME/doc/MediaSDK Sample Guide.pdf

sample 中的 _bin/x64 包含预编译的样例二进制文件。

若要使用 build.pl 亲自编译,可参考 sample guide。用release选项编译后的二进制文件在 sample/__cmake/intel64.make.release/__bin/release/

使用样例可参考 sampe guide, 需要设置:

export DISPLAY=:0.0

[?不明]
"For Intel Media SDK for Linux Servers there is no software implementation, 
   so for these samples to work -hw must be specified on the command line."
- Linux Servers 的 IMSDK 没有软件实现,所以样例都需要 -hw 才能工作?




2014-5-29



你可能感兴趣的:(Intel,Media,SDK,Intel,Media,SDK)