Flash player 新 video codec - On2 VP6
從 aral blog看來的消息,on2.com已與mm達成授權協議,將提供該公司的video codec給flash player使用,因此合理的推論是: flash player 8將採用on2 的 VP6 or VP7 codec.
edit: 根據國外list上流出的最新消息,目前已99.999%肯定新版 flash player 採用的 VP6 而非 VP7, 並且是 Sorenson Spark 與 VP6並存,player體積約 1.2mb.
至於 VP6/7 codec有什麼特色 呢?這裏有份白皮書
裏面擷錄兩段最重要的出來:
1、show better performance than all competing technologies including Windows Media 9, Real 10, H.264 and MPEG-4 compatible codecs across a wide range of data rates from dial-up (28.8 Kbps) to DVD and HD
注意裏面提到了原本大家以為flash player 8採用的 H.264規格,目前看來顯然被推翻了。
2、Designed to be able to run on inexpensive Digital Signal Processors (DSPs). VP7 is ideal for embedded chipsets in non-PC devices and set-top boxes.
這代表即使在手機或pda等處理運算薄弱的裝置上也可以執行,間接也將強化flashlite 與 flash player for ppc處理video的能力,看來發揮的空間更大了(因為當 flashlite 正式支援 AS2與Video後,手機與PDA就會成為一個我有興趣探索的市場,否則現在用flashlite做些遊戲、操作介面實在覺得很沒力)
其它幾點值得注意的features
-A purely software-based solution that can be upgraded easily.
-Compresses high-definition (HD) material with no restrictions on the encoder. VP7 can play back 1920×1080 HD material on a 2.5 GHz PC.
這代表VP7可以處理非常高品質的video畫面,同時player可以支援播放HD品質的影像,這正符合mm狂推FLV video streaming的策略。
-Decoding Speed Compared with H.264 :
Our initial testing indicates that best-quality AVC/ JVT/H.264 is
roughly 2-3 times more complex than VP7 Advanced Profile. “Best-quality AVC/ JVT/ H.264”
簡單來說就是 on2宣稱 (在相同畫面品質下) VP7的解碼速度比 H.264 快2-3倍
(呼,這可是很大膽的宣稱,希望他真的做的到)
-VP7 IS READY FOR REAL-TIME STREAMING
Full D1 encoding in real-time requires only a 2 GHz Pentium 4
(只要有P4-2G的cpu就可以做到即時D1品質壓縮,真是嚇人的快~)
DATARATE CONTROL、TWO-PASS COMPRESSION
(這幾項是做 streaming video時最攸關畫面品質的變數)
另外白皮書裏還提供了一張 VP7 與mpeg4, h.264, wmv等技術的訊噪比(PSNR)圖片,在相同的bitrate下,VP7真的是把h.264遠遠拋在後面,或許這就是為什麼 macromedia挑中on2 的原因吧。
所以初步結論是,如果 VP7真的有這麼屌,那希望它的codec體積也能小的驚人,不然現在 flash player 7 就已經有800k(內含Sorenson codec),再加上一個VP7恐怕就要破1MB了.
btw, on2同時也買下了 flix這個軟體 encoder,之前如果要用專屬工具壓flash video檔案的話,通常是選擇 sorenson squeeze 或 sorenson video suite,所以很明顯的,on2希望在 Flash 8發表前同時準備好 video codec 與 compression toolkit 就可一舉搶攻 flash video 市場囉~

