头像
06_taro
核心会员
核心会员
帖子: 998
注册时间: 2010-09-22 18:32
来自: United Kingdom
联系: 网站

LAV Filters mod ( 全版本可替換 MPC-HC 内置濾鏡 )

LAVFilters介紹
--支持H.264 H.265 8~12 bit 4:2:0/4:2:2/4:4:4解碼~
--支持mkv的Sub Chapter及Ordered Chapter~
--支持yadif進行Software deinterlacing,以及硬件deinterlacing~
--支持Intel QuickSync加速解碼,理論上即使不是SnB也可以使用,只要有SSE 4.1……
--支持copy back的DXVA2,也就是說用DXVA2進行解碼,然後從顯存裡把解碼後的幀download回CPU,從而可以用FFDShow/DirectVobSub進行後處理,而且渲染器不一定要用EVR。
--支持native型的DXVA2(類似FFDShow/MPC-HC/PowerDVD/ArcSoft/MainConcept等解碼器目前用的,速度更快,但是無法進行後處理,即與渲染器之間不能插入其他filter,除了最新的提供接口可以讓madVR直接進行alpha blend的XySubFilter。

本編譯版與官方版的區別是:

0. 沒有數字簽名(- -b)

1. 支援像Haali那樣的讀取matroska Tags的功能,但不包括把封裝工具當作Rating(個人認爲這貨沒用= =),如圖:
Matroska-Tags.png
Matroska-Tags.png (2.32 KiB) 查看 337710 次
2. 支持HW的輪詢機制。即可以選擇最多和目前支持的HW解碼器數量一樣的嘗試次數,例如優先調用DXVA2(native),如果失敗再嘗試DXVA2(copy-back),再失敗則改用QuickSync,再失敗改用CUVID,再失敗的話返回avcodec軟解等方式。四次嘗試分別使用的解碼器可以自選。在某些情況下這樣可以方便不用修改設置就自動適應各種播放環境與編碼,例如對Main的HEVC用DXVA2(native),對Main 10的HEVC在不支持10-bit input的video renderer下用DXVA2(copyback),對MPEG-4之流用CUVID:图片

3. 凡是顯示版本號的地方都添加了Git Revision (number),方便報錯時報更精確的版本號…

4. 輸出color space的優先順序不同——
對8bit 4:2:0的源輸出優先級
原版是:NV12>YV12>YUY2>UYUY>RGB32>RGB24
本版是:NV12>YV12>RGB32>RGB24>YV16>YUY2
對9~10bit 4:2:0的源輸出優先級
原版是:P010>NV12>YV12>YUY2>UYVY>RGB32>RGB24
本版是:P010>RGB32>RGB24>NV12>YV12>YV16>YUY2
對11~16bit 4:2:0的源輸出優先級
原版是:P016>P010>NV12>YV12>YUY2>UYVY>RGB32>RGB24
本版是:P016>P010>RGB32>RGB24>NV12>YV12>YV16>YUY2

例如對10bit 4:2:0的源,如果所有輸出都開啟的話,
原版接madVR時是輸出P010,接EVR時輸出NV12,
想要在EVR下默認用還原程度更好的RGB32需要關掉8bit YUV的輸出,
但是這樣會導致對8bit 4:2:0輸入的源也強制RGB32輸出;
而對同樣的10bit 4:2:0,所有輸出都開啟時,
本版則是在接madVR的情況下輸出P010,而接EVR時輸出RGB32,
而對8bit 4:2:0的輸入依舊可以保持NV12的輸出。

5. 在使用swscale處,將算法由bilinear改爲bicubic

6. 可以使用YV16輸出

下載: 点击这里
上次由 06_taro 在 2015-04-17 9:27,总共编辑 188 次。
つまんねー事聞くなよ!

I, personally, for me, believe (obviously sometimes) that my OS choice is right. That's me. I'm not telling you that you should believe it. Learn the facts, and the origins behind the facts, and make up your own damn mind. That's why you have one. (source)

Follow me: @06_taro

304——
为纪念伟大的宇宙史上最强压制304先生,联合国教科文组织决定,将每年的第304天,即平年的10月31日或者闰年的10月30日,定为世界304日。
头像
upyzl
帖子: 446
注册时间: 2010-12-25 18:44
来自: 湘/京
联系: 网站

Re: LAV Filters 【11/3 0.38-10-git-r1397(a13fba5)】

问一个跟lavf无关的git小白问题……

我如何根据 r1397 或者 a13fba5 在 http://code.google.com/p/lavfilters/source/list 这上面找到对应的版本?
因为我需要知道对应版本的changelog,这样看以前或者以后版本改了什么也能清楚......但本身菜鸟一个,找不来……我也不想把整个Repo给拖到本地……(而且以后如果要看更新,本地也要更新……毕竟我也没打算编译这个……)
头像
06_taro
核心会员
核心会员
帖子: 998
注册时间: 2010-09-22 18:32
来自: United Kingdom
联系: 网站

Re: LAV Filters 【11/3 0.38-10-git-r1397(a13fba5)】

a13fba5就是這個changes裡的Rev的前七位,因為git就是通過這個hash值來分版本的,而不是像svn那樣直接用revision的版本號,譬如上面LAVFilters這個1397的版本號是通過git rev-list master | wc -l的命令查詢出來,而本身的rev列表就是git rev-list HEAD_NAME的命令出來的一堆hash而已。不想拖回本地直接在Google code上搜索也只要在那個列表裡Ctrl+F搜這個前七位的hash值就能查到了。有時候可能會查不到,多半是因為那個revision被revert掉了。嘛反正我幾乎每天都更新,也只要看列表裡最上面的幾個就行了……
つまんねー事聞くなよ!

I, personally, for me, believe (obviously sometimes) that my OS choice is right. That's me. I'm not telling you that you should believe it. Learn the facts, and the origins behind the facts, and make up your own damn mind. That's why you have one. (source)

Follow me: @06_taro

304——
为纪念伟大的宇宙史上最强压制304先生,联合国教科文组织决定,将每年的第304天,即平年的10月31日或者闰年的10月30日,定为世界304日。
头像
upyzl
帖子: 446
注册时间: 2010-12-25 18:44
来自: 湘/京
联系: 网站

Re: LAV Filters 【11/3 0.38-10-git-r1397(a13fba5)】

感谢,一开始没搜到,原来是revert了...

其实一半也是想了解下~~
头像
06_taro
核心会员
核心会员
帖子: 998
注册时间: 2010-09-22 18:32
来自: United Kingdom
联系: 网站

Re: LAV Filters【2/5 0.45-62-git-r1762(f6f147e) 支持random dith

关于random dither:
nevcairiel 写了:New in this version is support for "Random Dithering", that instead of a very static pattern used by Ordered Dithering now uses random data to dither. This has the advantage that it avoids creating any visible "pattern" in the video, especially if you use a cheap LCD display with a 6-bit panel that applys dithering itself. Its the new default mode.
图片
つまんねー事聞くなよ!

I, personally, for me, believe (obviously sometimes) that my OS choice is right. That's me. I'm not telling you that you should believe it. Learn the facts, and the origins behind the facts, and make up your own damn mind. That's why you have one. (source)

Follow me: @06_taro

304——
为纪念伟大的宇宙史上最强压制304先生,联合国教科文组织决定,将每年的第304天,即平年的10月31日或者闰年的10月30日,定为世界304日。
头像
pureland
帖子: 62
注册时间: 2011-10-01 9:37

Re: LAV Filters【2/5 0.45-62-git-r1762(f6f147e) 支持random dith

看了說明還是不懂Random Dithering有什麼好處 {:cat_5}
可以解釋一下嗎 ...{:cat_17}
它的意思是在decoder level也可轉換Dithering的模式嗎?
是LAV Video Decoder獨家加入的還是其他Video Decoder也有此功能?
不太了解為何要加入此功能 {:cat_13}
Win7 x86 / i5 2400 / 4G RAM / PotPlayer / MPC-HC / LAV Filters / EVR-CP / ReClock / After School
头像
06_taro
核心会员
核心会员
帖子: 998
注册时间: 2010-09-22 18:32
来自: United Kingdom
联系: 网站

Re: LAV Filters【2/16 0.46-30-git-r1833(3056fa3) 支持DXVA2(nati

支持native型的DXVA2了,和其他DXVA2一样需要EVR做渲染器。

图片
上次由 06_taro 在 2012-03-09 9:11,总共编辑 1 次。
つまんねー事聞くなよ!

I, personally, for me, believe (obviously sometimes) that my OS choice is right. That's me. I'm not telling you that you should believe it. Learn the facts, and the origins behind the facts, and make up your own damn mind. That's why you have one. (source)

Follow me: @06_taro

304——
为纪念伟大的宇宙史上最强压制304先生,联合国教科文组织决定,将每年的第304天,即平年的10月31日或者闰年的10月30日,定为世界304日。
头像
jiayiming
帖子: 8
注册时间: 2011-04-21 20:15

Re: LAV Filters【2/16 0.46-30-git-r1833(3056fa3) 支持DXVA2(nati

native的DXVA2有时候也需要
头像
06_taro
核心会员
核心会员
帖子: 998
注册时间: 2010-09-22 18:32
来自: United Kingdom
联系: 网站

Re: LAV Filters【3/8 0.48-53-git-r1914(21b9ce7) 支持DMO的wmv解碼】

除了通過libavcodec的wmv解碼及DXVA外還加入了Microsoft DMO的wmv/vc-1解碼支持,包括DXVA2。可以說現在LAV Video單獨使用沒啥不能做的了……

另外intel在給ivy bridge的2639驅動裡增加了QuickSync的wmv解碼支持,雖然還在實驗階段。也許不久後LAV也可以調用QuickSync來解碼wmv
つまんねー事聞くなよ!

I, personally, for me, believe (obviously sometimes) that my OS choice is right. That's me. I'm not telling you that you should believe it. Learn the facts, and the origins behind the facts, and make up your own damn mind. That's why you have one. (source)

Follow me: @06_taro

304——
为纪念伟大的宇宙史上最强压制304先生,联合国教科文组织决定,将每年的第304天,即平年的10月31日或者闰年的10月30日,定为世界304日。

回到 “解码 播放 字幕 / Decoder playback and subtitles”