請選擇 進入手機版 | 繼續訪問電腦版

奇幻遊戲社群

 找回密碼
 註冊
搜索
查看: 35080|回復: 0

[分享] ATI硬解加速 in Linux     [複製鏈接]

版主

騎士

Rank: 10Rank: 10Rank: 10

閱讀權限
250
生命值
323
法力值
212
金幣
420 G
聲望
64
發表於 2010-9-2 01:53:57 |顯示全部樓層
本帖最後由 hsuyucheng 於 2010-9-2 18:06 編輯

I try to write article by English,  so I write English for technology.


Step 1: Prepare
1.  Install ATI driver from AMD
2.  check  Unified Video Decoder in ATI
    cat /var/log/Xorg.0.log | grep UVD
    If show
(II) fglrx(0): UVD2 feature is available, then you can use hardware solution.

3. install libva for you system
  For example I use two items (dev is need for mplayer compiler)
  
  libva1_0.31.1-1+sds4_i386.deb
and libva-dev_0.31.1-1+sds4_i386.deb
4. install
xvba-video (If you card is nvidia, then install vdpau-video)
5. check
vaapi is ready
    vainfo
If no error, then compile mplayer


step 2: compile mplayer
1. compile mplayer
sudo apt-get build-dep mplayer (Rad hat based, try sudo yum)
2. download
mplayer-vaapi-latest-FULL.tar.bz2, and untar mplayer, then ./checkout-patch-build.sh
3. mplayer is ready in mplayer-vaapi folder, you can move mplayer.
4. Check mplayer can hard solution.
./mplayer -vo vaapi -va vaapi path_to_movie
If show
VO: [vaapi] 1280×720 => 1280×720 H.264 VA API Acceleration, then hard solution succeed.


Maybe it can using in SMPlayer, but I don't know how to do. If I using same command in SMplayer, a viodo can't play.Final I try 1080P BD movie "Summer Wars"Before using hardware solution, it is slow, and can't play audio.
After using hardware solution, movie is great play.

附件: 你需要登錄才可以下載或查看附件。沒有帳號?註冊

點評

beta400  支持~~但是有好些地方有文法錯誤哦 XD (請版主勿介意  發表於 2010-9-3 23:50:48
Jbeetle  full HD影片的硬解?(會讓人硬起來的姊姊?  發表於 2010-9-3 12:09:04
Jeff  下面那張圖的用意是?  發表於 2010-9-2 19:36:21
騎士精神永存
您需要登錄後才可以回帖 登錄 | 註冊

手機版|奇幻遊戲社群

GMT+8, 2024-3-29 08:09

Powered by Discuz! X2

© 2001-2011 Comsenz Inc.

回頂部