簡易檢索 / 詳目顯示

研究生: 李智偉
Lee, Chih-Wei
論文名稱: 網際網路即時影像傳輸的分析與研究
The Study and Analysis of Real-Time Video Transmission in Internet
指導教授: 周哲民
Jou, Jer Min
學位類別: 碩士
Master
系所名稱: 電機資訊學院 - 電機工程學系
Department of Electrical Engineering
論文出版年: 2005
畢業學年度: 93
語文別: 中文
論文頁數: 121
中文關鍵詞: 影像傳輸多點傳播骨幹即時傳輸協定
外文關鍵詞: Tcl/Tk, H.261, RTCP, RTP, VIC, Videoconference
相關次數: 點閱:53下載:2
分享至:
查詢本校圖書館目錄 查詢臺灣博碩士論文知識加值系統 勘誤回報
  • 由於網際網路的興起及寬頻網路應用服務的普及化, 加上近幾年來網際網路語音傳輸( Voice over IP;VoIP )的技術快速發展,讓原本只有傳遞文字與檔案為主的網際網路有了很大的轉變,演變成能夠傳輸即時語音(Audio)及影像(Video)等多媒體資訊的服務。
    為了能夠了解網際網路即時影像傳輸基本原理及架構,進而快速的整合影像和語音功能,並期望能夠更進一步發展出一套網路影像電話系統,因此我們將藉由研究此開放原始碼的視訊會議軟體來達到此目的。
    在本篇論文中我們研究了網際網路即時傳輸協定RTP/RTCP、Tcl/Tk語言的特性,以及影像的軟體架構與程式執行流程,加上語音軟體的概略介紹,實際整合出即時影像及語音傳輸系統,最後並做系統執行時間的分析,以及測試網際網路封包的傳送與接收的情形。

    Because of the development in Internet and Network application with wide bandwidth, voice transmission in Internet (Voice over IP; VOIP) grows up rapidly in this few years. It makes a big transformation to Internet from transmitting text and file to transmit Audio and Video for real time.
    In order to understand the basic principle and the architecture of real-time video transmission in Internet for integrating the video and audio function quickly, develop the video phone further in the future. Therefore, we research and analyze the open source code of video conferencing software.
    In this thesis, we study the Real-Time Transport Protocol (RTP), the Real-Time Control Protocol, the Tcl/Tk language property, and the architecture and the execution flow of video software respectively. We also integrate the Video and Audio transmission system plus the introduction to the audio software. Finally, we present the analysis of system execution time, and the testing result of sending and receiving packets in network.

    第一章 緒論 ................................................ 1 1.1 研究背景與動機 ....................................... 1 1.2 研究目的 ............................................. 2 1.3 論文架構 ............................................. 2 第二章 網際網路即時輸 ...................................... 3 2.1 Multimedia on the Internet............................ 3 2.2 Network Protocols .................................... 5 2.2.1 OSI模式 .......................................... 5 2.2.2 TCP/IP模式 ....................................... 6 2.2.3 OSI和TCP/IP模式之比較 ............................ 7 2.3 Multicast backbone ................................... 8 2.4 RTP/RTCP ............................................ 11 2.4.1 專有名詞的定義 .................................. 11 2.4.2 RTP標頭的欄位定義 ............................... 13 2.4.3 RTCP控制協定 .................................... 15 2.4.4 RTCP封包的種類與格式 ............................ 16 2.5 Tcl/Tk .............................................. 31 2.5.1 如何在C語言的環境下開發一個Tcl的應用 ............ 32 第三章 影像傳輸系統 ....................................... 35 3.1 Software Architecture ............................... 35 3.1.1 Initial block ................................... 38 3.1.2 Tcl block ....................................... 39 3.1.3 Grabber block ................................... 44 3.1.4 Encoder block ................................... 47 3.1.5 SessionManager block ............................ 48 3.1.6 Network block ................................... 58 3.1.7 Decoder block ................................... 60 3.1.8 Render block .................................... 60 3.2 Synchronization and concurrency scheme in runtime ... 65 3.2.1 Communication Paradigmes ........................ 65 3.2.2 IPC (Inter Proecss Control) ..................... 65 3.2.3 Socket .......................................... 67 3.2.4 Tcl Sychronization With Windows ................ 67 3.3 H261 Packetization ................................ 69 3.3.1 H.261 Packetization ............................. 69 3.3.2 RTP Packet header for Video ..................... 74 3.4 Output rate control ................................. 75 3.5 User Interface ...................................... 76 3.5.1 影像傳輸系統的選單(Menu)視窗 .................... 77 第四章 影像與語音整合 ..................................... 81 4.1 Audio overview ...................................... 81 4.2 Media Timestamp ..................................... 84 4.2.1 Audio Timestamp ................................. 84 4.2.2 Video Timestamp ................................. 84 4.3 Playout Buffer ...................................... 87 4.3.1 Playout Buffer資料結構 .......................... 87 4.3.2 基本的操作函式 .................................. 90 4.3.3 Playout Time Calculation ........................ 93 4.4 Lip Synchronization ................................. 99 4.4.1 Media Synchronization ........................... 99 4.4.2 Sender Behavior ................................ 101 4.4.3 Receiver Behavior .............................. 101 4.4.4 Nckuee Audio/Video Synchronization ............. 102 4.5 User Interface Integration ......................... 104 4.5.1 Tcl Script files ............................... 104 4.5.2 整合完成之畫面 ................................. 106 第五章 實驗與分析結果 .................................... 107 5.1 系統開發使用之軟硬體工具及程式語言 ................. 107 5.2 功能區塊時間分析.................................... 107 5.2.1 測試環境介紹 ................................... 107 5.2.2 語音傳輸的時間分析 ............................. 107 5.2.3 影像傳輸的時間分析.............................. 108 5.3 網路封包傳送與接收個數之統計結果 ................... 109 5.3.1 測試環境一 ..................................... 110 5.3.2 測試環境二 ..................................... 113 5.3.3 兩個測試環境之結果比較 ......................... 115 5.3.4 程序所需之系統記憶體 ........................... 117 第六章 結論與未來發展 .................................... 119 參考文獻 ............................................... 120

    [1] Andrew S. Tanenbaum, Computer Networks (Third Edition), Prentice-Hall 1996.
    [2] H. Schulzrinne. RTP Profile for Audio and Video Conferences with Minimal
    Control. Request for comments (Proposed Standard) RFC 1890, Internet
    Engineering Task Force, January 1996
    [3] H. Schulzrinne, S. Casner, R. Frederick, and V. Jacobson. RTP: A Transport
    Protocol for Real-Time Applications. Request for comments (Proposed
    Standard) RFC 1889, Internet Engineering Task Force, January 1996.
    [4] John K. Ousterhout. Tcl and the Tk Toolkit. Addison-Wesley Publishing
    Company. 1994.
    [5] K.R.Rao and J.J.Hwang, Techniques and Standards for Image ,Video and Audio Coding, Prentice Hall, 1997.
    [6] Larry L. Peterson and Bruce S. Davie. COMPUTER NETWORKS: A Systems
    Approach 2nd, Morgan Kaufmann, 340-350, 2000.
    [7] Ramachandran Ramjee, Jim Kurose, Don Towsley, and Henning Schulzrinne.
    Adaptive playout mechanisms for packetized audio applications in wide-area networks. In Conference on Computer Communications (IEEE Infocom),Toronto, Canada, June 1994.
    [8] Stephen Casner and Stephen Deering. First IETF Internet audiocast. ACM
    Computer Communication Review, 22(3):92-97, July 1992.
    [9] S. Deering. Host extensions for IP multicasting. Request for comments
    (Proposed Standard) RFC 1112, Internet Engineering Task Force, August
    1989.
    [10] Steve McCanne and Van Jacobson. "vic: A Flexible Framework Framework for
    Packet Video " ACM Multimedia '95. http://www-mice.cs.ucl.ac.uk/ multimedia/software/vic/.
    [11] Tcl/Tk : A Developer's Guideby Clif Flynt. Publisher: Morgan Kaufmann.
    Publish date: 05 May, 2003.
    [12] T. Turletti and C. Huitema,“RTP payload format for H.261 video streams,” Request for Comments (Proposed Standard) RFC 2032, Internet Engineering Task Force, Oct. 1996.
    [13] University College London, Computer Science Department, User Guide for VIC v2.8, Version 1 (DRAFT), 29 September 1998, http://www-mice.cs.
    ucl.ac.uk/multimedia/software/documentation/vic-userguide.zip, vic- userguide.doc.
    [14] Video codec for audiovisual services at px64 kbit/s, 1993. ITU-T Recommendation H.261.
    [15] Vicky Hardman, Peter Kirstein, Martina Angela Sasse, Orion Hodson, Isidor
    Kouvelas, and Colin Perkins. Robust Audio Tool (RAT). User Guide, Availablefromwww-mice.cs.ucl.ac.uk/multimedia/software/documentation/rat4-ug-v4-0011.pdf, October 1994.
    [16] 多媒體視訊程式設計-使用Delphi. 作者:張銘華 出版商:金禾資訊. 出版日期: 2004.
    [17] Windows 95 程式設計指南. 原著: Jeffrey Richter & Jonathan Locke 譯者李書良 出版商:碁峰,
    [18] 網路透明化X視窗系統. 原著:Oliver Jones 編譯:黃豊隆 出版商:松崗.
    [19] 邱庭鈺, 即時語音會議之強健性語音工具的分析與研究, 國立成功大學電機工程學系, 碩士論文, 2004.
    [20] 涂義昇, 適用於視訊會議之即時傳輸控制協定硬體的設計與實現, 國立成功大
    學電機工程學系, 碩士論文, 2002.

    下載圖示 校內:2006-07-28公開
    校外:2006-07-28公開
    QR CODE