查看: 84400|回覆: 64
收起左側

[教學] 如何正確解出Hi10P的影片(MPEG4-AVC 10-bit)

  [複製連結]

發表於 2011-7-27 20:52:17 | 顯示全部樓層 |閱讀模式

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

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

x
本文章最後由 pureland 於 2012-1-29 18:35 編輯

測試影片:[Hi10P] [OP] Hyakka Ryouran Samurai Girls [1080p]
  Video #1
    ID : 1
    Format : AVC
    Format/Info : Advanced Video Codec
    Format profile : High [email protected]
    Format settings, CABAC : Yes
    Format settings, ReFrames : 4 frames
    Codec ID : V_MPEG4/ISO/AVC
    Duration : 1mn 32s
    Bit rate mode : Variable
    Maximum bit rate : 50.0 Mbps
    Width : 1 920 pixels
    Height : 1 080 pixels
    Display aspect ratio : 16:9
    Frame rate : 23.976 fps
    Color space : YUV
    Chroma subsampling : 4:2:0
    Bit depth : 10 bits
    Scan type : Progressive

*另有特殊的10-bit 4:4:4格式提供測試詳見17樓
*還有2160p 50fps 碼率370M提供測試詳見22樓
建議測試環境(CPU)
10-bit  4:2:0影片:雙核心以上
10-bit 60fps影片:四核心以上
2160p 50fps影片:六核心以上

影片編碼從8-bit至10-bit是未來的趨勢~
這樣bit rate無須太高也有高質量的表現~
碼率降低也能減少檔案的大小~
現在10-bit影片尚未成為主流~
故此篇文章僅提供有興趣者研究參考^_^
*10bit視頻編碼——特性及全面播放方法介紹
*更多關於10-bit編碼的研討,可至下列網頁學習:參考一  參考二
*PotPlayer詳細設定請至http://wp.me/PrgSo-gQ
*MPC-HC詳細設定請至http://www.vempx.net/article/552.htm

解碼器組合: LAV Video Decoder + LAV Audio Decoder + LAV Splitter
(解碼器下載請至http://forum.doom9.org/showthread.php?t=156191)
下載LAV Filters 0.45↑↑建議關注此論壇以獲取最新的LAV系列解碼器↑↑
搭配madVR效果更佳,不過這裡不多作介紹...
相關設定請參考附件圖片


最主要是AVC1/H.264的解碼器要選LAV Video Decoder
其他的部分可以隨自己的喜好設定,我只不過是作個範例而已~
這樣的組合其實對現在大多數的影片都是可以適用的~
LAV Video Decoder算是軟解型的解碼器,所以無論A卡N卡都適用~
它只是會通知renderer(渲染器)去調用顯卡做deinterlacing(去交錯)的工作~
並不會啟用DXVA或CUDA
LAV Video Decoder簡介請見此處

LAV Video Decoder.png
LAV Audio Decoder.png
LAV Splitter.png
testpic.jpg

記得要執行紅框內三檔才算註冊完成,才能被播放器所調用...

記得要執行紅框內三檔才算註冊完成,才能被播放器所調用...

LAV Video Decoder搭配madVR所顯示的資訊列(Ctrl + J)

LAV Video Decoder搭配madVR所顯示的資訊列(Ctrl + J)

評分

參與人數 3名聲 +26 精幣 +26 收起 理由
joewang2003 + 10 + 10 精品文章
asa00322 + 10 + 10 熱心助人
len1978 + 6 + 6 感謝分享

查看全部評分


發表於 2011-7-27 21:48:55 | 顯示全部樓層
小妹也有用LAV 也可以搭配TotalMedia的filter 表現起來都不錯分享一下需要的濾鏡以及宣染的

http://webhd.xuite.net/_oops/clubaudition/lat
內含:
LAVCUVID-0.9-x86
LAVCUVID-0.8-x64
LAVFilters-0.30-x86
LAVFilters-0.30-x64
madVR 0.69


都是最新版本
濾鏡條用的部分需要 LAVAUDIO Decoder、LAVCUVID Decoder、LAV Splitter、ffdshow raw video filter (調用反交錯的部分)
其餘部分請去看相關教學囉~
回覆 支持 反對

使用道具 舉報


發表於 2011-7-28 00:21:18 | 顯示全部樓層
感謝分享測試檔。
試了一下,我PC上目前使用的播放軟體是不用特別設定(未掛上LAV)就可以播放(POT PLAYER);播放機(DUNE)可以播放,但只有音效沒有影像畫面出來。

我用的顯示器面板是8 BIT,我想我使用的播放軟體設定,是有影像檔作過轉換為8 BIT色彩編碼後才輸出(播放)的吧。
回覆 支持 反對

使用道具 舉報


發表於 2011-7-28 04:05:01 | 顯示全部樓層
本文章最後由 LJL 於 2011-8-18 21:51 編輯

回覆 3# len1978


印象中 potplayer 29120以上 (29142 也可以) 原生內建就支援 10bit h264/avc 軟解
回覆 支持 反對

使用道具 舉報


發表於 2011-7-30 10:35:50 | 顯示全部樓層
本文章最後由 clubaudition 於 2011-7-30 10:37 編輯

Why does 10-bit save bandwidth (even when content is 8-bit)?
Along with many other encoding tools, 10-bit compression is an addition to AVC/H.264 that was not available in MPEG-2.
The primary intent was to enable processing videos in their native contribution format.

But it appears that it also saves bandwidth compared to using only 8-bit compression:
less bit-rate is needed for the same output quality or conversely, the quality is increased when the same transmission bit-rate is used.
http://www.ateme.com/Why-does-10-bit-save-bandwidth
http://www.cccp-project.net/beta/
回覆 支持 反對

使用道具 舉報


發表於 2011-7-30 21:33:50 | 顯示全部樓層
怎麼看不到了?被刪掉了嗎?
對這一篇的內容還滿有興趣的
想多了解呢
回覆 支持 反對

使用道具 舉報


發表於 2011-7-30 21:46:44 | 顯示全部樓層
如果用電腦可以解出10bit的效果倒是很想學習看看的說~
謝謝pureland大的教導!
回覆 支持 反對

使用道具 舉報


發表於 2011-8-1 04:56:52 | 顯示全部樓層
來試看看真神奇
回覆 支持 反對

使用道具 舉報


發表於 2011-8-7 20:55:53 | 顯示全部樓層
對電腦設定軟解10bit解碼使用相當有興趣
希望對觀賞的影片畫片能更精緻
回覆 支持 反對

使用道具 舉報


發表於 2011-8-8 08:12:28 | 顯示全部樓層
一直好奇為何藍光播放機可以有10bit輸出,電腦卻不行.
回覆 支持 反對

使用道具 舉報


發表於 2011-8-11 17:42:19 | 顯示全部樓層
現在家中只有TV是10BIT遺憾
回覆 支持 反對

使用道具 舉報


 樓主| 發表於 2011-8-14 15:06:09 | 顯示全部樓層
回覆 支持 反對

使用道具 舉報


發表於 2011-8-14 20:38:59 | 顯示全部樓層
為何標題是如何正確解出Hi10P的影片
難道除了LAV Video Decoder之外
其他支援Hi10P的解碼器或播放軟體都不能正確解碼?
回覆 支持 反對

使用道具 舉報


 樓主| 發表於 2011-8-14 21:52:15 | 顯示全部樓層
為為何標題是如何正確解出Hi10P的影片
難道除了LAV Video Decoder之外
其他支援Hi10P的解碼器或播放軟體都不能正確解碼?
antixder 發表於 2011-8-14 20:38
問得很好~
當然還有其他方法能解~
例如:
1. 使用FFDshow掛進去, 例如CCCP
2. 直接調用madVR的Software Decoder, 這是0.7之後提供的新特性
3. 使用特定的player, 例如MPlayer2
4........隨著時間流逝會有更多方法

我只是選擇我所認為的最佳方案來作教學~
我認為使用LAV Video Decoder的彈性最好~
其他方法歡迎閣下測試過後寫成教學~
畢竟一人的時間精神有限~
還請諸位見諒^^"
回覆 支持 反對

使用道具 舉報


發表於 2011-8-15 00:23:27 | 顯示全部樓層
本文章最後由 litfal 於 2011-8-15 01:27 編輯

但不是說LAV Decoder只有nVidia能用? 因為是針對CUDA去寫的?
還是我LAG很大?

另外
這樣出來的效果真的可以穿過Windows的OS層限制嗎?
我所知的10bit輸出必須要搭配適當的顯卡(大多是專業繪圖卡)與驅動,並利用各家設定軟體開啟10bit模式之後,
應用軟體端還要使用OpenGL類直接控制顯卡,才能真正在10bit螢幕上顯示10bit色彩。
還是說現在的Video Renderer(例如madVR)已有這樣的能力了?
抑或只是遞色到8bit做顯示?


與其懷疑,不如自己測試:
關於前者,我用AMD HD6950測試了一下
LAV Video Decoder 0.3.2 + LAV Audio Decoder + LAV Splitter + madVR 0.73 測試
一切正常。
看來LAV Video Decoder跟我知道的LAV CUVID不一樣?

不過我現在這張沒有辦法輸出10bit,手邊也沒10bit螢幕,後者只好待高人講解了。
回覆 支持 反對

使用道具 舉報


 樓主| 發表於 2011-8-15 08:38:17 | 顯示全部樓層
回覆 15# litfal
因為是針對CUDA去寫的?
A:你指的是LAV CUVID Decoder

另外,10-bit顯示器與本帖所討論的10-bit編碼是兩回事...

Misconceptions about Hi10P and 10-bit output:

Having a 10-bit (aka 30-bit / DeepColor) display is NOT needed to see the benefits of Hi10P – 10-bit content, even when dithered down to 8 bit, is still significantly higher quality than 8 bit content, and the file sizes speak for themselves.

However, should you be one of the 0.01% of people with a 10-bit (or higher) display, you’ll need something like an AMD FirePro card, because even though the hardware is literally exactly the same, you can not for some reason just use the FirePro drivers and enable 10-bit output. It’s quite impossible, I’m sure of it. You’ll also need to use EVR CP because madVR doesn’t support 10 bit output yet for whatever reason I can’t fathom, but if you can patch your FirePro drivers I assume you can set up EVR CP as well. In addition to this, using the LAV Filters’ unstable software decoder (the developer posts the builds in the discussion thread on a regular basis, they’re not official yet) becomes mandatory, because anything else will dither down (and madVR is a combined filter).

回覆 支持 反對

使用道具 舉報


 樓主| 發表於 2011-8-15 09:10:22 | 顯示全部樓層
本文章最後由 pureland 於 2011-12-11 19:15 編輯

介紹一下相關格式(節錄自維基百科)
High Profile (HiP)
The primary profile for broadcast and disc storage applications, particularly for high-definition television applications (for example, this is the profile adopted by the Blu-ray Disc storage format and the DVB HDTV broadcast service).
High 10 Profile (Hi10P)
Going beyond typical mainstream consumer product capabilities, this profile builds on top of the High Profile, adding support for up to 10 bits per sample of decoded picture precision.
High 4:2:2 Profile (Hi422P)
Primarily targeting professional applications that use interlaced video, this profile builds on top of the High 10 Profile, adding support for the 4:2:2 chroma subsampling format while using up to 10 bits per sample of decoded picture precision.
High 4:4:4 Predictive Profile (Hi444PP)
This profile builds on top of the High 4:2:2 Profile, supporting up to 4:4:4 chroma sampling, up to 14 bits per sample, and additionally supporting efficient lossless region coding and the coding of each picture as three separate color planes.

一般影片的Chroma subsampling是4:2:0
此影片則為4:4:4
有興趣想測試再下載吧~
下面為影片資訊(No Audio)
C:\Program Files\AMiTuoFo\TEST\BBB444p10.mkv
  General
    Unique ID : 210156998018731885582864762591080431211 (0x9E1AC3FB2120108684F4FDB867DD3E6B)
    Complete name : C:\Program Files\AMiTuoFo\TEST\BBB444p10.mkv
    Format : Matroska
    Format version : Version 2
    File size : 107 MiB
    Duration : 9mn 56s
    Overall bit rate : 1 502 Kbps
    Encoded date : UTC 2011-06-28 19:25:05
    Writing application : mkvmerge v2.9.8 ('C'est le bon') built on Aug 13 2009 12:49:06
    Writing library : libebml v0.7.7 + libmatroska v0.8.1
  Video #1
    ID : 1
    Format : AVC
    Format/Info : Advanced Video Codec
    Format profile : High 4:4:4 [email protected]
    Format settings, CABAC : Yes
    Format settings, ReFrames : 16 frames
    Codec ID : V_MPEG4/ISO/AVC
    Duration : 9mn 56s
    Bit rate : 1 500 Kbps
    Width : 1 920 pixels
    Height : 1 072 pixels
    Original height : 1 080 pixels
    Display aspect ratio : 16:9
    Original display aspect ratio : 16:9
    Frame rate : 24.000 fps
    Color space : YUV
    Chroma subsampling : 4:4:4
    Bit depth : 10 bits

    Scan type : Progressive
    Bits/(Pixel*Frame) : 0.030
    Stream size : 105 MiB (98%)
    Writing library : x264 core 116 r2008+6 8b27996
    Encoding settings : cabac=1 / ref=16 / deblock=1:0:0 / analyse=0x3:0x133 / me=tesa / subme=10 / psy=1 / psy_rd=1.00:0.00 / mixed_ref=1 / me_range=24 / chroma_me=1 / trellis=2 / 8x8dct=1 / cqm=0 / deadzone=21,11 / fast_pskip=0 / chroma_qp_offset=4 / threads=6 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / bluray_compat=0 / constrained_intra=0 / bframes=8 / b_pyramid=2 / b_adapt=2 / b_bias=0 / direct=3 / weightb=1 / open_gop=0 / weightp=2 / keyint=250 / keyint_min=24 / scenecut=40 / intra_refresh=0 / rc_lookahead=60 / rc=2pass / mbtree=1 / bitrate=1500 / ratetol=1.0 / qcomp=0.60 / qpmin=0 / qpmax=81 / qpstep=4 / cplxblur=20.0 / qblur=0.5 / ip_ratio=1.40 / aq=1:1.00

影片下載:http://x264.nl/developers/Dark_Shikari/BBB444p10.mkv (右鍵另存)

面對少見的10-bit 4:4:4格式,LAV Video Decoder照樣能勝任...

面對少見的10-bit 4:4:4格式,LAV Video Decoder照樣能勝任...
回覆 支持 反對

使用道具 舉報


發表於 2011-8-16 13:54:20 | 顯示全部樓層
回覆 17# pureland
看這碼率不大高
CPU還會有不夠力的情形
還真是神奇阿
不過或許這就是 Chroma subsampling : 4:4:4+Bit depth : 10 bits的厲害吧
下載下來看看自己電腦夠不夠力,順便調校一下自己的電腦!
有問題再來此發問
(小弟在這方面較為不通,如果有讓各位見笑的部分請多包涵)
回覆 支持 反對

使用道具 舉報


 樓主| 發表於 2011-8-16 16:08:26 | 顯示全部樓層
回覆 18# masonhung
我用雙核機測試CPU幾乎滿檔~
預計至少要四核才夠力...
非常歡迎各位提問喔~
大家一起學習才有意思嘛^^
回覆 支持 反對

使用道具 舉報


發表於 2011-8-17 02:01:59 | 顯示全部樓層
問得很好~
當然還有其他方法能解~
例如:

我只是選擇我所認為的最佳方案來作教學~
我認為使用LAV Video Dec ...
pureland 發表於 2011-8-14 21:52

回答得很好
所以我建議標題改成"如何播放Hi10P的影片"
回覆 支持 反對

使用道具 舉報

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

本版積分規則

熱門推薦

風暴StormAudio/Goldmund家庭劇院巡禮 "KazCorporation:為音樂愛好者實現家庭劇院夢想"
風暴StormAudio/Goldmund
風暴StormAudio/Goldmund家庭劇院巡禮"KazCorporation:為音樂愛
風暴StormAudio 4.6r0韌體釋出囉!
風暴StormAudio 4.6r0韌體
風暴StormAudio 4.6r0韌體釋出囉! 新功能和增強功能 系統控
劇毒!DIVA EX-7/EX-mini賢昆仲相汝以沫Hi-End音響網路交換器體驗心得分享
劇毒!DIVA EX-7/EX-mini
劇毒!DIVA EX-7/EX-mini賢昆仲相汝以沫Hi-End音響網路交換器體
TechRadar器評:Paradigm Signature Sub 2  - 「史上最強大的主動式超低音揚聲器」
TechRadar器評:Paradigm
TechRadar器評:Paradigm Signature Sub 2 - 「史上最強大的主
hometheaterhifi.com器評 : StormAudio的ISP Core 16多聲道劇院處理前級與PA 16 MK十六聲道後級擴大機
hometheaterhifi.com器評
hometheaterhifi.com器評 : StormAudio的ISP Core 16多聲道劇院

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

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