為了驗證我們所提出來的動態優先權調整機制的優點,我們使用網路模擬 器 Qualnet 4.0 [12] 進行可調性視訊傳輸的模擬並且將我們所提出的動態優先 權調整機制與沒有動態調整的跨層架構加以比較。
6.1 可調性視訊傳輸模擬架構
圖 6-1 可調性視訊傳輸模擬流程
如上圖 6-1,進行可調性視訊傳輸的模擬可分成幾個步驟:首先,我們在 encoder configure file 內設定相關的參數 (參考表 6-1)使得 encoder 根據設定產 生 SVC bitstream (bit rate = 3464.19kbps)。
Input YUV foreman Frame number 300 Resolution CIF (352x288) Frame rate 24 (fps)
GOP 8
Intra period 24 Base layer QP 25 FGS layer(s) 2
表 6-1 encoder configure
產生 SVC bitstream 之後,我們使用 JSVM 8.0 [11] 提供的 Bit Stream
27
Extractor 擷取 NAL Units 的資訊產生 packet trace (參考圖 6-2)。我們透過 packet trace 來提供模擬器視訊的相關資訊,欄位所表示的意義如下:
Packet
Length Lid Tid Qid Type
圖 6-2 Bit Stream Extractor 產生的 Packet Trace 格式
-Packet Length 表示 NAL Unit 的大小
-Lid 表示是否使用 Spatial Scalability
-Tid 表示是否使用 Temporal Scalability
-Qid 表示是否使用 SNR Scalability (FGS)
-Type 表示是屬於哪一種的 NAL Unit
我們使用 Qualnet 4.0 [12] 所提供的 Traffic-Gen 模組讀取 packet trace 進行 可調性視訊傳輸的模擬,模擬結束時根據 sender trace 與 receiver trace 這兩個 檔案統計出 Packet Loss Rate 並產生 corrupted packet trace。再透過 Bit Stream Extractor 將 corrupted packet trace 所提供的資訊對原始的 SVC bitstream 進行比 對與分析,即可產生 resultant SVC bitstream。最後 decoder 對 resultant SVC bitstream 進行解碼就能得到模擬結果的 YUV file。
6.2 模擬環境與參數設定
28
250 260 270 280 290 300 310 320 330 340 350 360 370 380 390 400 410 420 Distance (Meter)
Proposed Base packet loss rate Proposed Enh1 packet loss rate Proposed Enh2 packet loss rate Ori-EDCA Base packet loss rate Ori-EDCA Enh1 packet loss rate Ori-EDCA Enh2 packet loss rate
圖 6-4 有無使用動態優先權調整機制時各層 Packet Loss Rate
6.3.2 Peak Signal to Noise Ratio (PSNR)
PSNR 是一種客觀的視訊評估方式,將傳輸後的視訊畫面和原始視訊畫面
29
250 260 270 280 290 300 310 320 330 340 350 360 370 380 390 400 410 420
Distance(meter)
PSNR
Non-Dynamic Priority Adjustment Cross-Layer Arch
Dynamic Priority Adjustment Mechanism
圖 4-5 Avg. PSNR 數值比較
6.3.3 影片實際撥放結果
除了客觀的比較動態優先權調整機制與沒有動態優先權調整的跨層架構 的 PSNR 值,也希望能從使用者主觀判斷來比較。透過 JSVM 8.0 [11] 在 Decoder 端提供 frame loss 錯誤修補 (error concealment) 的功能,可對 I-frame、
30
P-frame 與 B-frame 的封包遺失更造成無法順利解碼的情況進行修補,有關錯 誤修補 (error concealment) 的詳細介紹請參考 [22] 與 JSVM 8.0 Draft [11]。
下圖 6-6,擷取距離 360 meter 時 Frame #176 ~ Frame #183 進行比較發現動態 優先權調整機制的確有較佳的視訊傳輸能力。
Non-Dynamic Priority Adjustment Arch
Dynamic Priority Adjustment Mechanism
圖 6-6 實際撥放結果
6.3.4 狀態與時間關係
圖 6-7 為距離 420 meter 時狀態隨時間的改變,從圖中第 7 秒至第 12 秒可 看出系統一直處於 HH 的狀態沒有劇烈的變化,我們認為因為適當的 AIFS 設 定讓系統處於穩定的狀態,所以我們 AIFS 的設定是很適合於該狀態的。
31
圖 6-7 420 meter 時狀態隨時間的改變
32
參考文獻
[1] IEEE Std 802.11g-2003, Part 11: Wireless LAN Medium Access Control (MAC) and Physical Layer (PHY) Specifications.
[2] Draft Std 802.11n, Part 11: Wireless LAN Medium Access Control (MAC) and Physical Layer (PHY) specifications: Amendment : Enhancements for Higher Throughput, IEEE Draft Std P802.11n/D2.00, Feb. 2007.
[3] IEEE Std 802.11e-2005, Part 11: Wireless LAN Medium Access Control (MAC) and Physical Layer (PHY) specifications Amendment 8: Medium Access Control (MAC) Quality of Service Enhancements.
[4] ITU-T Recommendation H.264 & ISO/IEC 14496-10AVC, “Advanced Video Coding for Generic Audiovisual Services”, Version 3, 2005.
[5] [4] [5] J. Ostermann, J. Bormans, P. List, D. Marpe, M. Narroschke, F. Pereira, T. Stockhammer, and T. Wedi, “Video coding with H.264/AVC: tools,
performance, and complexity”, IEEE Circuits and Systems Magazine, vol. 4, no.
1, pp. 7-28, 2004.
[6] J. Golston, D. Member, and A. Rao, “Video Compression: System Trade-offs with H.264, VC-1 and Other Advanced CODECs”, TEXAS INSTRUMENTS White Paper, Aug. 2006.
[7] T.Wiegand, G. Sullivan, J. Reichel, H. Schwarz, M. Wien (eds.), “Joint Draft 9 of SVC Amendment”, Marrakech, Morocco, Jan. 2007.
[8] H. Schwarz, D. Marpe, and T. Wiegand, “SNR-Scalable Extension of H.264/AVC”, IEEE ICIP 2004, Singapore, Oct. 2004.
[9] H. Schwarz, D. Marpe, T. Schierl, and T. Wiegand, “Combined Scalability Support for the Scalable Extension of H.264/AVC”, IEEE ICME 2005, Amsterdam, The Netherlands, July 2005.
[10] H. Schwarz, D. Marpe, and T. Wiegand, “Overview of the Scalable
H.264/MPEG4-AVC Extension”, IEEE ICIP 2006, Atlanta, GA, USA, Oct.
2006.
[11] JSVM 8 Reference Software, JVT-U202, Hangzhou, China, Oct. 2006.
[12] Qualnet 4.0, http://www.scalable-networks.com/
33
[13] G. Liebl, T. Schierl, T. Wiegand, and T. Stockhammer, “Advanced wireless multiuser video streaming using the scalable video coding extensions of H.264/MPEG4-AVC”, Multimedia and Expo 2006, Vol., Iss., July 2006.
[14] IEEE Std 802.11a-1999, Part 11: wireless LAN Medium Access Control (MAC) and Physical Layer (PHY) specifications: high-speed physical layer in the 5 GHz band, Vol., Iss., 1999.
[15] IEEE Std 802.11b-1999, Part 11: Wireless LAN Medium Access Control (MAC) And Physical Layer (PHY) Specifications: Higher-speed Physical Layer
Extension In The 2.4 GHz Band, Vol., Iss., 2000.
[16] M. van Der Schaar and S. N. Sai, “Cross-layer Wireless Multimedia Transmission: Challenges, Principle, and New Paradigms”, IEEE Wireless Communications [see also IEEE Personal Communications], Vol. 12, no. 4, pp.
50-58, 2005.
[17] A. Ksentini, M. Naimi, and A. Gueroui, “Toward an Improvement of H.264 Video Transmission over IEEE 802.11e through a Cross-layer Architecture”, IEEE Communications Magazine, Vol. 44, no. 1, pp. 107-114, 2006.
[18] A. Ksentini, A. Gueroui, and M. Naimi, “Improving H.264 Video Transmission in 802.11e EDCA”, IEEE ICCCN 2005, San Diego, USA, 2005.
[19] Y. K. Wang, M. M. Hannuksela, S. Pateux, A. Eleftheriadis, “Syatem and Transport Interface of Emerging SVC Standard”, Joint Video Team (JVT), Doc.
JVT-U151, Hangzhou, China, Oct. 2006.
[20] H. C. Huang, W. H. Peng, T. Chiang, and H. M. Hang, “Advances in the scalable amendment of H.264/AVC”, IEEE Communications Magazine, Vol. 45, Iss. 1, pp. 68-76, Jan. 2007.
[21] A. Kamerman and L. Monteban, “WaveLan-II: A High-performance wireless Lan for the unlicensed band”, Bell Lab Technical Journal, pp. 118-133, 1997.
[22] C. Ying, X. Kai, Z. Feng, P. Purvin, and B. Jill, “Frame loss error concealment for SVC”, Journal of Zhejiang University, Vol. 7, Apr. 2006.
[23] K. Xu, Quanhong Wang, H. Hassanein, “Performance analysis of differentiated QoS supported by IEEE 802.11e enhanced distributed coordination function (EDCF) in WLAN”, Global Telecommunications Conference, 2003. IEEE, Vol.2, Iss., 1-5, pp. 1048-1053, Dec. 2003.
[24] ITU-T and ISO/IEC JTC 1, “Generic Coding of Moving Pictures and Associated
34
Audio Information – Part 2: Video”, ITU-T Recommendation H.262 and ISO/IEC 13818-2 (MPEG-2 Video), Nov. 1994.
[25] ITU-T, “Video coding for low bit rate communication”, ITU-T Recommendation H.263, Version 1: Nov. 1995, Version: Jan. 1998, Version 3: Nov. 2000.
[26] ISO/IEC JTC 1, “Coding of audio-visual object – Part 2: Visual”, ISO/IEC 14492-2 (MPEG-4 Visual), Version 1: Apr. 1999, Version 2: Feb. 2000, Version 3: May. 2004
[27] IEEE Std 802.11e-2005, Part 11: Wireless LAN Medium Access Control (MAC) and Physical Layer (PHY) specifications Amendment 8: Medium Access Control (MAC) Quality of Service Enhancements.
35
計畫成果自評
在目前視訊傳輸應用需求不斷增加的環境下,可調性視訊編碼其分層編碼 的特性提供了視訊可調性的能力,使得在不同網路環境與播放能力的使用者皆 能 擁 有 良 好 的 視 訊 品 質 。 本 報 告 針 對 目 前 最 新 的 可 調 性 視 訊 編 碼 標 準 (H.264/SVC) 在 IEEE 802.11e QoS 架構下的傳輸現象進行探討,針對增強性 分散式頻道存取機制 (EDCA) 在不同的網路情況 (不同的頻寬) 傳輸可調性 視訊效果不佳的現象,提出採用動態優先權調整機制,提供基礎層與增強層差 異性服務達到提供服務品質的目標。
由於 H.264/SVC 可調性視訊編碼仍屬於制定草案階段,是一項相當新的 技術值得繼續探討。未來可調性視訊傳輸的應用與針對多種應用設計更可靠 (Reliable) 傳輸機制,都是未來值得繼續注意與研究的方向。