查看: 13437|回覆: 38
收起左側

[分享] LAV CUVID Decoder - High Quality Hardware decoding for NVIDIA

  [複製連結]

發表於 2011-8-15 17:32:23 | 顯示全部樓層 |閱讀模式

馬上註冊,結交更多好友,享用更多功能,讓你輕鬆玩轉社區。

您需要 登錄 才可以下載或查看,沒有賬號?註冊

x
I would like to introduce my LAV CUVID Decoder.
It is a DirectShow Video Decoder utilizing the NVIDIA hardware decoder engine through the CUDA Video Decoding API ("CUVID").

Its still in its early stages, but its already been tested thoroughly and supports all major formats that the NVIDIA hardware can decode,
which are right now H264, VC-1, MPEG2 and MPEG4-ASP (DivX/Xvid). Both progressive and interlaced types are supported.

As a bonus, when decoding interlaced content, it can do full adaptive deinterlacing, the best your GPU has to offer.

So, without further introduction, here it is!

Features
- Decoding of H264, VC-1, MPEG2 and MPEG4-ASP (each given appropriate hardware support)
- Full Adaptive Deinterlacing, including Frame Doubling (perfect smooth playback of 1080i/60 content!)
- Usable with all renderers! Including
madVR, which is recommended for the best playback quality!
- NV12/YV12 output

Download
Source Code is available from my
Git repository

Binarys are available here:

Version 0.10:
-Installer (32/64-bit, CUDA 4.0+)
-32-bit (CUDA 4.0+)
-64-bit (CUDA 4.0+)
-32-bit (Older CUDA)

A note on the different versions: The CUDA 4.0 builds require a 270 series driver (or newer). The "Old CUDA" build should in theory work with much older drivers, in case you cannot upgrade.

Changelog
--Full changelog
--Release Notes
0.10 - 2011/08/14
- Refuse connection to MPEG-2 4:2:2 material
- Improved VC-1 interlaced timestamp handling
__________________
LAV Filters - open source ffmpeg based media splitter and decoders.
LAV CUVID - High Quality Hardware decoder for NVIDIA


This is a decoder for NVIDIA GPUs, it does not work with ATI/AMD or Intel, and it never will!

Requirements/Recommendations
- NVIDIA PureVideo HD capable graphics card (VDPAU Feature Set A or better - see
list here)
- At least 256MB of Video RAM, 512MB recommended
- Recent NVIDIA Drivers - CUDA 4.0 compatible driver recommended (270 series), older drivers may work with the "Old CUDA" build.
- Vista/7 recommended due to much improved driver handling, but XP SP3 "should work" (see hints below)

Performance
- 1080p60 decoding is only supported on VP4 hardware (VDPAU Feature Set C)
- When encountering performance issues, turning off the "HQ DXVA processing" option will yield the best gain in performance, at a minimal loss of quality.
- Using the latest driver (275.33 at the time of writing), can greatly improve the performance.

Hints
- When running on Windows XP, its recommended to turn the "Use HQ DXVA processing" setting off, its not fully supported on XP and might cause image corruption.


Known Issues
- The decoder will try to decode all video streams, and not refuse formats that are not supported.
- XVID in AVI will sometimes play not smooth / choppy. This is technically a problem with NVIDIAs decoder which should take care of this,
and therefor unlikely to be fixed anytime soon. I suggest to simply disable MPEG-4 ASP in LAV CUVID if you suffer from this problem.

reserved for FAQ, etc.

from http://forum.doom9.org/showthread.php?t=160290

發表於 2011-8-15 18:55:08 | 顯示全部樓層
本文章最後由 T650921 於 2011-8-15 19:05 編輯

奇怪我的LAV CUVID Decoder以系統管理員身份執行
會出現無法載入模組
而其他LAV VEDIO Decoder , AUDIO Decoder , splitter都OK

-----------------------------------------------------------------------

不好意思
我發現是版本問題了
4.0+的不行 不過3.0的可以
不過新問題是
播MPEG2格式會LAG啦
回覆 支持 反對

使用道具 舉報


發表於 2011-8-15 19:04:56 | 顯示全部樓層
容小弟補充一下...
1.此解碼器使用CUDA API,所以只有N卡才能用~
2.作業系統建議使用Win7
3.顯卡驅動程式建議更新至27x.xx以上版本點我更新
大姊怎會突然想到要介紹此Decoder...

下面參考附件設置...
For PureVideo 2 GPU users, enable only the H264 option.
For PureVideo 3 GPU users, enable the H264, VC-1 and MPEG2 options.
For PureVideo 4 GPU users, enable all format options.
The Deinterlacing option should be set to 'Adaptive', while the 'Use Stream Aspect Ratio' should be disabled.

'Use HQ DXVA processing' should also be disabled, unless your are playing interlaced movie DVD/Blu-rays. Almost always have to be disabled for progressive contents. Output Format should be left to 'Auto'.

If you don't want to bob during deinterlacing, choose the '25p/30p (Film)', else you can choose the '50p/60p (Video)'. 'Field order' can be left to 'Auto'.
Setting.png
回覆 支持 反對

使用道具 舉報


 樓主| 發表於 2011-8-15 19:28:06 | 顯示全部樓層
不是突然想到 是今天字幕組有人po出這樣的訊息 CUDA 版本變成 4.0了
Nvidia驅動現在都已經會自動更新了(選項) 以往的手動更新都成過去式了
CUDA並不只能夠使用於Nvidia  轉檔方面來說 DGDecodeNV (N) 以及DGAVCDECDI (A)
也可支援ATI囉.可惜的是這類plugin 目前還是屬於付費的 請參考 如有錯誤的請前輩們指出糾正 謝謝.
http://www.neuron2.net/dgavcdecdi/
回覆 支持 反對

使用道具 舉報


發表於 2011-8-15 21:51:51 | 顯示全部樓層
回覆 4# clubaudition
依大姊的個性我覺得用"灰原同學"的頭像較適合妳...
我好像管太多了XD
回覆 支持 反對

使用道具 舉報


發表於 2011-8-22 16:45:12 | 顯示全部樓層
LAV CUVID Decoder好在哪裡呢?

以H.264 1080i 29.97fps的monoscope測試,一般的H.264 Decoder有幾個現象(包含ffmpeg, CoreAVC, PDVD Decoder, TMT Decoder....)
1.解interlace解不好,會出現柵欄or水波紋
2.monoscope橫向移動時,影像會有重影
3.monoscope橫向移動時,影像有進三格退一格的現象

但LAV CUVID Decoder完全正常,連動態解析度都維持非常高的水準~~
回覆 支持 反對

使用道具 舉報


發表於 2011-8-26 15:08:29 | 顯示全部樓層
小弟最近想換張N家的卡來玩玩LAV CUVID Decoder
有些地方有些疑問??
這招試吃顯卡多(類似硬解)
還是吃cpu(類似軟解)多??
謝謝~~
回覆 支持 反對

使用道具 舉報


發表於 2011-8-26 15:15:29 | 顯示全部樓層
小弟最近想換張N家的卡來玩玩LAV CUVID Decoder
有些地方有些疑問??
這招試吃顯卡多(類似硬解)
還是吃cpu( ...
ben0981 發表於 2011-8-26 15:08

既然用顯卡來跑當然是GPU多...
我用單核心來跑CPU大概30%而已~
回覆 支持 反對

使用道具 舉報


發表於 2011-8-26 15:18:16 | 顯示全部樓層
既然用顯卡來跑當然是GPU多...
我用單核心來跑CPU大概30%而已~
pureland 發表於 2011-8-26 15:15

您的卡是??
回覆 支持 反對

使用道具 舉報


發表於 2011-8-26 15:20:33 | 顯示全部樓層
回覆 9# ben0981
古老的GT220...
不過對我來講夠用了~
回覆 支持 反對

使用道具 舉報


發表於 2011-8-26 15:56:18 | 顯示全部樓層
回覆  ben0981
古老的GT220...
不過對我來講夠用了~
pureland 發表於 2011-8-26 15:20

純看BD的話
看來用GT430就很夠用了~~
回覆 支持 反對

使用道具 舉報


發表於 2011-8-26 15:58:43 | 顯示全部樓層
純看BD的話
看來用GT430就很夠用了~~
ben0981 發表於 2011-8-26 15:56

是夠用了~
GT430,GT440都夠用...

評分

參與人數 1名聲 +20 收起 理由
ben0981 + 20 熱心助人

查看全部評分

回覆 支持 反對

使用道具 舉報


發表於 2011-8-26 16:51:57 | 顯示全部樓層
回覆 6# Pepsi

感謝Pepsi大,我原先用8600gt來跑,用軟解+少部份硬解,跑不太動
後來使用gtx460用硬解,以畫面來說,只能說:完勝!

不過gtx460實在太熱情,隨便都75度,可是它是目前支援truehd,dts-hd及cuda、價位上c/p值算是很好的

畫面的質感、顆粒感一流,不過我的potplayer設定有問題,影像出來不對,truehd和dts-hd還未成功,還要再試試!我先用splash pro
回覆 支持 反對

使用道具 舉報


發表於 2011-8-26 16:56:06 | 顯示全部樓層
目前打算全部移除重灌試試,可能我換顯卡的關係導致解出來有問題,truehd,dts-hd也沒出來
回覆 支持 反對

使用道具 舉報


 樓主| 發表於 2011-8-26 19:48:24 | 顯示全部樓層
460 "隨便"就75度好像有點不正常了 應該檢查一下喔 小妹的也是460 卻重來沒看過有到75度= =
CPU在100%運算時才會到75度 (最高) 顯示卡的風扇是原廠的 沒有去刻意更換過.
回覆 支持 反對

使用道具 舉報


發表於 2011-8-26 20:41:31 | 顯示全部樓層
奇怪....我用GTS250
驅動程式版本 275.33
將Potplayer的解碼改成LAV CUVID
但是播放時顯示資訊卻仍是ffshow...= =||
回覆 支持 反對

使用道具 舉報


發表於 2011-8-26 21:02:28 | 顯示全部樓層
回覆 15# clubaudition

可能和我是平躺式主機,內部空間有關,我再來看看是否不正常
有點麻煩它熱風要想辦法排出

不知姐姐使用哪個品牌型號?
回覆 支持 反對

使用道具 舉報


發表於 2011-8-26 21:50:58 | 顯示全部樓層
順便請教各位,各位用的Nvidia顯卡用HDMI輸出時,支援的頻率有沒有88.2KHz & 176.4KHz?

因我家裡用的兩張卡,一張是NV450,一張是AMD 5670,其中AMD 5670可以支援上述兩個頻率,但反而較晚出的NV450不支援....

參考畫面如下:
SoundCardFormat.png
回覆 支持 反對

使用道具 舉報


 樓主| 發表於 2011-8-26 22:41:18 | 顯示全部樓層
本文章最後由 clubaudition 於 2011-8-26 22:45 編輯

回覆 17# alend
我的卡比較老舊了 用了一年多了 EVGA的 體質沒話說 從沒故障過
這廠牌在台灣算冷門 國外夯 但是玩超頻的都知道.當初是有一位電腦達人朋友推薦買的
補充一下自己顯示卡的溫度一般都保持37~39度 有用到cuda的話 頂多50度
http://www.evga.com.tw/products/moreInfo.asp?pn=01G-P3-1377-KR&family=GeForce%20400%20Series%20Family
順便回覆pesi版主 小妹家裡沒有家庭電影院 影像輸出是沒問題的 音效方面的話可能就無法給予回答了^^"
回覆 支持 反對

使用道具 舉報


發表於 2011-8-26 22:56:09 | 顯示全部樓層
奇怪....我用GTS250
驅動程式版本 275.33
將Potplayer的解碼改成LAV CUVID
但是播放時顯示資訊卻仍是ffshow ...
echoli 發表於 2011-8-26 20:41

很明顯是你沒設定好...
除了附件圖還有3樓的設定去看一下唄~
setting.png
回覆 支持 反對

使用道具 舉報

您需要登錄後才可以回文 登入 | 註冊

本版積分規則

熱門推薦

StormAudio ISP 16 MK2 器評(多聲道劇院處理前級)
StormAudio ISP 16 MK2 器
StormAudio ISP 16 MK2 器評(多聲道劇院處理前級)原文譯自:Aud
Stereophile.com器評:StormAudio ISP Evo 沉浸式音效多聲道純數位劇院處理前級
Stereophile.com器評:Sto
Stereophile.com器評:StormAudio ISP Evo 沉浸式音效多聲道純數
家用投影幕选购一站式指南
家用投影幕选购一站式指南
多少价位以上效果好于白墙?照我的看法,是只要平整度高于白墙
Onkyo TX-SR494 新機直接土炮改 Pre-out
Onkyo TX-SR494 新機直接
由於現役的AV擴大機 TX-NR616 並沒有次世代影音撥放的功能只有將
Les Années Laser器評Storm Audio風暴ISR Fusion 20 :「一款令人震驚的 20聲道環繞綜合擴大機!」
Les Années Laser器評Sto
Les Années Laser器評Storm Audio風暴ISR Fusion 20 :「一款令

聯絡我們| 問題反映| 小黑屋| 手機版| Archiver|  本網站特別聘請 蔡家豪律師 為本站法律顧問

快速回覆 返回頂部 返回列表