局域網(wǎng)聊天室系統(tǒng)的設(shè)計(jì)與實(shí)現(xiàn)畢業(yè)設(shè)計(jì)畢業(yè)論文.doc
局域網(wǎng)聊天室系統(tǒng)的設(shè)計(jì)與實(shí)現(xiàn)畢業(yè)設(shè)計(jì)畢業(yè)論文,基于局域網(wǎng)的視頻聊天室系統(tǒng)的設(shè)計(jì)與實(shí)現(xiàn)摘 要視頻聊天系統(tǒng)作為一種新型的通信和交流工具,突破了地域的限制,可以提供更為便捷、靈活、全面的音、視頻信息的傳遞和服務(wù),具有極其廣泛的發(fā)展前景。本文介紹了采用microsoft visual c++ 6.0編程開(kāi)發(fā)視頻聊天系統(tǒng)的一套比較...
內(nèi)容介紹
此文檔由會(huì)員 龍崗先生 發(fā)布局域網(wǎng)聊天室系統(tǒng)的設(shè)計(jì)與實(shí)現(xiàn)畢業(yè)設(shè)計(jì)畢業(yè)論文
基于局域網(wǎng)的視頻聊天室系統(tǒng)的設(shè)計(jì)與實(shí)現(xiàn)
摘 要
視頻聊天系統(tǒng)作為一種新型的通信和交流工具,突破了地域的限制,可以提供更為便捷、靈活、全面的音、視頻信息的傳遞和服務(wù),具有極其廣泛的發(fā)展前景。
本文介紹了采用Microsoft Visual C++ 6.0編程開(kāi)發(fā)視頻聊天系統(tǒng)的一套比較常用的解決方案。文字聊天采用TCP模式;語(yǔ)音視頻聊天采用UDP模式,在客戶端之間點(diǎn)對(duì)點(diǎn)的進(jìn)行。在該方案中,通過(guò)函數(shù)庫(kù)VFW來(lái)實(shí)現(xiàn)視頻捕獲、影像壓縮以及影像播放。微軟公司提供的專門用于視頻捕獲開(kāi)發(fā)的工具包VFW,為在Windows操作系統(tǒng)中實(shí)現(xiàn)視頻捕獲提供了標(biāo)準(zhǔn)的接口,從而大大降低了程序的開(kāi)發(fā)難度。在視頻傳輸方面,則通過(guò)組建視頻幀,將位圖形式的視頻幀壓縮成幀格式的Mpeg4流,傳輸?shù)娇蛻舳撕?,解壓并顯示影像。同時(shí),在本方案中,采用了線程來(lái)實(shí)現(xiàn)語(yǔ)音錄制和語(yǔ)音回放,最終實(shí)現(xiàn)了通過(guò)服務(wù)器中轉(zhuǎn)的文字聊天、點(diǎn)對(duì)點(diǎn)的語(yǔ)音視頻聊天。
關(guān)鍵詞:文字聊天;VFW;視頻捕獲;視頻傳輸;語(yǔ)音錄制;語(yǔ)音回放
The Design and Realization of LAN-Based Video Chat Room System
Abstract
As a new tool about communication, video chatting system has broken through geographical restrictions, has provides more convenient, flexible and complete transmission and service. Furthermore, it has a very bright future.
The common solution about how to develop a video chatting system is introduced by the Microsoft Visual C + + 6.0 programming. TCP model is used in the text chatting and UDP for the point-to-point video chats between the Clients. In this plan, Video Capture, Video Compression Manager and DrawDib are realized by the functions of VFW Library. The special kit VFW (Video for Windows) in video capture offered by Microsoft Corporation, has provided a standard interface for video capture in Windows Operating System and thus greatly reduced the hardship of programming. In video transmission aspect, it requires a video frame which is compressed the video frame of bitmap into Mpeg4 steam of frame form. Then it will be decompressed into images since it has been arrived the Client. Meanwhile, the thread is used to achieve audio recording and replaying. Finally, it has realized the text chatting through a server to transit, the point-to-point audio and video chats.
Key words: text chatting; VFW; Video Capture; video transmission; audio recording; audio playing
目 錄
論文總頁(yè)數(shù):24頁(yè)
1 引言 1
1.1 課題背景 1
1.2 國(guó)內(nèi)外研究現(xiàn)狀 1
2 理論知識(shí)介紹 1
2.1 VFW簡(jiǎn)介 1
2.2 線程的實(shí)現(xiàn)方法 4
3 需求分析 5
3.1 軟硬件環(huán)境 5
3.2 需求分析 5
4 系統(tǒng)結(jié)構(gòu) 7
4.1 硬件結(jié)構(gòu) 7
4.2 軟件結(jié)構(gòu) 7
4.2.1 功能需求 7
4.2.2 系統(tǒng)功能模塊圖 8
4.3 系統(tǒng)各模塊流程圖 8
5 系統(tǒng)的詳細(xì)設(shè)計(jì) 10
5.1 文字聊天 10
5.1.1 TCP套接字的運(yùn)用 10
5.1.2 文字聊天實(shí)現(xiàn) 11
5.2 語(yǔ)音視頻聊天 13
5.2.1 UDP套接字的運(yùn)用 13
5.2.2 視頻的捕獲 14
5.2.3 捕獲窗口 16
5.2.4 視頻捕獲驅(qū)動(dòng) 18
5.2.5 語(yǔ)音錄制 18
5.2.6 語(yǔ)音回放 19
5.2.7 視音頻的傳輸 20
結(jié) 論 21
參考文獻(xiàn) 22
致 謝 23
TA們正在看...
- 施工管理之進(jìn)度管理.docx
- 2002~2009年中級(jí)經(jīng)濟(jì)師考試歷年真題(專業(yè)知識(shí)).zip
- 2010年中級(jí)經(jīng)濟(jì)師考試歷年真題.zip
- 2012年中級(jí)經(jīng)濟(jì)師考試歷年真題.zip
- 2013年中級(jí)經(jīng)濟(jì)師考試歷年真題.zip
- 2014年中級(jí)經(jīng)濟(jì)師考試歷年真題.zip
- 關(guān)于se75射線照相專題講座.ppt
- 2015年上海各區(qū)縣初三二模真題試卷及答案.zip
- 2014屆南通高考數(shù)學(xué)沖刺預(yù)測(cè)卷.zip
- 2014上海中考數(shù)學(xué)壓軸題熱點(diǎn)分享.zip