Linux 下安装media sdk 问题总结

And the first step of research on libva will be download & build libva.

Environment

As usual, I shall introduce my develop environment here:

OS: Ubuntu 12.04 LTS 64 bit with kernel 3.2.0-29

CPU: Core ivy bridge i7-3770

Target libva version: 1.2.1 (latest release for now)

Related projects/libraries

  • libdrm : http://dri.freedesktop.org/wiki/Download/
  • intel-driver: …
  • libva: http://www.freedesktop.org/wiki/Software/vaapi/

Brief compile steps

Download & compile intel-driver

Download the source code

Compile

./configure

checking for DRM… no
configure: error: Package requirements (libdrm >= 2.4.45) were not met:

Requested ‘libdrm >= 2.4.45′ but version of libdrm is 2.4.43

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables DRM_CFLAGS
and DRM_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.

Remove & install the latest version of libdrm

Remove the existing libdrm:

Download the lastest version of libdrm: http://dri.freedesktop.org/libdrm/ in which I choose libdrm-2.4.46.tar.bz2Remove & install the latest version of libdrm
Remove the existing libdrm:

Download the lastest version of libdrm:

for
http://dri.freedesktop.org/libdrm/ in which I choose libdrm-2.4.46.tar.bz2

Compiling libdrm

Install pciaccess

However if you encournter error like this: Package requirements (pciaccess >= 0.10) were not met:
checking for native atomic primitives… Intel
checking for PCIACCESS… no
configure: error: Package requirements (pciaccess >= 0.10) were not met:

No package ‘pciaccess’ found

Consider adjusting the PKG_CONFIG_PATH environment variable if you installed software in a non-standard prefix.

Alternatively, you may set the environment variables PCIACCESS_CFLAGS and PCIACCESS_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.

All you need to do is:

FAQ/Tips

Q1: va_getDriverName() failed with operation failed,driver_name=i965
jacky@ubuntu-va:/opt/softwares/VA/intel-driver$ vainfo
libva info: VA-API version 0.34.0
libva info: va_getDriverName() returns 1
libva error: va_getDriverName() failed with operation failed,driver_name=i965
vaInitialize failed with error code 1 (operation failed),exit
A2: vainfo may need root permission to work, try

1
sudo vainfo
  • 1
    点赞
  • 3
    收藏
    觉得还不错? 一键收藏
  • 打赏
    打赏
  • 0
    评论
### 回答1: Intel Media SDKIntel开发的一款用于实现视频和图像处理的软件开发工具包。它具有高度优化的算法和硬件加速技术,可以在Intel处理器上高效地进行多媒体数据的编解码、位流处理、图像增强和视频转码等操作。 1080p是一种视频分辨率标准,指的是垂直分辨率为1080行的全高清视频。在处理1080p视频时,Intel Media SDK可以提供卓越的性能和质量,使得用户可以快速、高效地对1080p视频进行处理。 使用Intel Media SDK进行1080p视频处理,可以获得以下优势: 1. 高性能:Intel Media SDK利用Intel处理器的多核心架构和硬件加速技术,能够以更高的速度对视频进行编解码、转码和处理,提高处理效率。 2. 高质量:Intel Media SDK使用了先进的编解码算法和图像处理技术,可以在保证视频质量的同时,降低噪点和失真。 3. 多功能:除了基本的编解码功能外,Intel Media SDK还提供了丰富的图像增强和视频处理功能,如颜色校正、降噪、场景分析等,满足各种多媒体处理需求。 4. 简单易用:Intel Media SDK提供了简洁易懂的API接口和示例代码,使得开发者可以快速上手,轻松实现对1080p视频的处理。 总之,Intel Media SDK是一款功能强大、性能优越的多媒体处理工具包,可以高效地处理1080p视频,为用户提供高质量的视频处理体验。 ### 回答2: Intel MediaSDK是英特尔公司开发的一款多媒体编解码软件开发工具包,用于加速视频和图像处理。1080p是指视频的分辨率为1920×1080像素,即全高清分辨率。 Intel MediaSDK支持1080p的视频编解码,可以利用英特尔的硬件加速功能,实现高效的视频处理。通过使用Intel MediaSDK,可以在不同的应用程序中进行视频的解码、编码、转码等操作。 使用Intel MediaSDK 1080p可以带来以下优势: 1. 高效的视频处理能力:Intel MediaSDK可以利用英特尔的硬件加速功能,提供更快的视频编解码速度和更低的功耗。 2. 优化的视频质量:通过Intel MediaSDK的优化算法,可以提供更好的视频质量,在1080p分辨率下呈现出更清晰、更逼真的画面效果。 3. 多平台兼容性:Intel MediaSDK支持Windows、Linux等多种操作系统,可以在不同平台上实现相同的视频处理效果。 4. 简化开发流程:Intel MediaSDK提供了丰富的开发接口和示例代码,使开发者可以快速开发出高性能的视频处理应用程序,简化了开发流程。 总之,使用Intel MediaSDK 1080p可以实现高效并优化的视频处理,提升视频处理的速度和质量,在1080p分辨率下呈现出更精彩的视觉体验。

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

ww506772362

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值