madVR v0.78 簡介

這不是教學帖~
只是想推廣一下madVR而已~
因為在0.78的版本加入了重大的功能~
也就是DXVA2 deinterlacing的支援~
這樣以後播放交錯式的影片就不必再外掛ffdshow raw video filter來去交錯了~
祝賀ing~~~灑花ing~~~(自High中XD)
附上madVR作者madshi的說明~
順便翻譯了一下,翻得不好請勿見笑喔^^"

* added support for DXVA2 deinterlacing
* added option to enable/disable automatic activation of deinterlacing
* added option to force off deinterlacing for 48i sources
* added option enable/disable performing deinterlacing in a separate thread
* added auto 4:2:2/4:4:4 to 4:2:0 conversion when using DXVA2 deinterlacing
* added OSD deinterlacing information
* Ctrl+Alt+Shift+D turns deinterlacing on/off
* Ctrl+Alt+Shift+F switches deinterlacing field order (auto, top, bottom first)
* changed gamma decrease key combo from Ctrl+Alt+Shift+F to Ctrl+Alt+Shift+B
* increased decoder queue size to 12 frames
* added support for h264 10bit 4:2:2 decoding
* improved frame stepping
* improved internal frame locking mechanism
* removed warning “creating 10bit render texture failed, used 8bit instead"
* updated libav/ffmpeg dlls

added DXVA2 Deinterlacing

no support for DXVA2 Decoding, just to avoid any misunderstandings

Some things to note:

(1) Deinterlacing requires DXVA2 to be present. On XP you probably need to install .NET 3.0 (or higher) to get DXVA2.
(2) Using DXVA2 deinterlacing means that potentially all the nasty GPU algorithms like noise reduction and edge enhancement are introduced to madVR. So make sure you have all this stuff turned off in your GPU driver’s control panel. Of course madVR only uses DXVA2 if deinterlacing is needed. So for progressive stuff (or if you deinterlace externally) nothing changes compared to older madVR versions.
(3) At this point in time madVR mostly does the same that VMR and EVR do. Which is not ideal in some cases. E.g. MPEG2 flags are trusted, so movie deinterlacing might not always be correct, especially with MPEG2 DVDs and broadcasts. I might improve that in a future version.
(4) madVR is less picky than other renderers about which color spaces you can send. madVR will happily deinterlace all 8bit YCbCr formats. Even 4:2:2 and 4:4:4, which madVR then converts down to 4:2:0 for DXVA2 deinterlacing.
(5) ATI users please activate the switch “Advanced Color -> Dynamic Range" and set it to “Limited (16 – 235)". This will make sure that BTB and WTW are not cut off by DXVA2 deinterlacing.
(6) I’ve removed the Intel software decoder DLL from the madVR zip in order to cut down the zip file size, and because most people probably use the libav decoders, anyway. If you want to use the Intel decoders, you can download the dll separately here. Just copy it to the madVR folder and the Intel decoders should start working again.
(7) This is a first experimental version, bugs are to be expected.

FEEDBACK:

I need to know…

(a) … how deinterlacing quality and performance compares to LAV CUVID, could you please check that? If LAV CUVID looks or performs better, maybe there’s room for me to improve, too.
(b) … whether the option “perform deinterlacing in separate thread" makes things better or worse for you. Ideally I hope it will be better or worse for everybody so that I can then hard code the “right" setting and remove the option. On my PC it seems that having this option off works better for windowed mode, but having it on works better for exclusive mode.

加入DXVA2 Deinterlacing
不支援DXVA2 Decoding,為了避免任何錯誤

一些需要注意的事:

(1)Deinterlacing需要DXVA2的存在,XP使用者需要安裝.NET 3.0(或更新版)去獲得DXVA2

(2)使用DXVA2 deinterlacing意味著會開啟潛在的所有令人討厭的GPU運算法
    像是noise reduction與edge enhancement將會帶到madVR
    所以,確認將你的GPU driver’s control panel所有的這些功能關閉.當然,madVR只有在需要去交錯時才會使用DXVA2
    所以對於progressive的材料(或當你使用外部去交錯)那將與舊版的madVR無任何差別.

(3)此時此刻madVR跟VMR與EVR幾乎能做相同的事.不理想的情況例如:
    MPEG2旗標是可信的,所以影片去交錯可能不完全正確,特別是MPEG2的DVD與電視訊號.我將會在未來的版本做改善.

(4)關於你所指定的那種色彩空間,madVR跟其他渲染器來比算是很少挑剔的.
    madVR會非常樂意的去交錯在所有8bit YCbCr的格式上.甚至4:2:2與4:4:4,madVR在DXVA2 deinterlacing時將會轉換到4:2:0

(5)ATI顯卡使用者請設定"Advanced Color -> Dynamic Range" and set it to “Limited (16 – 235)"
    這能確定在DXVA2 deinterlacing時Blacker than black(0-15)與Whiter than white(236-255)不會被切斷.

(6)為了縮減壓縮檔的大小,我已移除madVR壓縮檔裏的Intel software decoder DLL
    總而言之,因大多數人可能都使用libav decoders
    如果你想使用Intel decoders,可以在此下載分離出來的DLL檔.

(7)這是第一個實驗性的版本,bugs在所難免.

更新至madVR v0.79
加強改善了DXVA2 deinterlacing的品質與功能~
並增加一些相關的選項~
設定請參考http://wp.me/PrgSo-vn
* modified deinterlacing logic to save GPU RAM
* added resource manager to save GPU RAM and a little bit of GPU performance
* added information about used / total GPU RAM to debug OSD (Ctrl+J)
* added new options to choose decoder and GPU queue sizes
* added automatic adjustment of queue sizes, based on GPU RAM size
* corrected queue sizes with deinterlacing turned on (size 1 too high in v0.78)
* improved deinterlacing quality at the start of playback and after seeks
* improved the way madVR calls DXVA2 (now more similar to EVR)
* moved some eventually CPU intensive code from render to separate thread
* optimized performance of DXVA2->PixelShader texture conversion for some GPUs
* optimized internal libav decoder format conversion logic
* movie frame rate overwrite via file name now also set deinterlacing on/off
* option “perform deinterlacing in separate thread" is now “on" by default
* MPC-HC OSD text “Pausa" is now blocked (to avoid disappearing subtitles)
* fixed: source cropping (J.River MC) could result in corrupted chroma channel
* fixed: IMediaSample allocator wasn’t fit for decoder queue size of 12 frames

剛好上面談到madVR,所以稍微提一下它的優勢~
第一是高品質的chroma upsampling可以保留最多影像的細節~
第二是它可以使用比其他渲染器更高級的Resize運算法~
像是bicubic, mitchell, lanczos, spline等等~
直接看截圖可知madVR所保留的細節較EVR豐富許多~
最好親自測試才知道差別在何處~
madVR相關資訊與測試可至下列網頁參考:
http://forum.doom9.org/showthread.php?t=146228
http://www.vempx.net/article/292.htm
http://www.vempx.net/article/293.htm

關於 Shenboy

pureland from HD.Club
This entry was posted in 播放解碼. Bookmark the permalink.

發表迴響

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / 變更 )

Twitter picture

You are commenting using your Twitter account. Log Out / 變更 )

Facebook照片

You are commenting using your Facebook account. Log Out / 變更 )

連結到 %s