学号
南湖学院
毕业设计
题目网络聊天工具的设计与实现
作者届别2010届
系别机械与电子工程系专业计算机科学与技术指导老师职称讲师
完成时间2010年5月18日
f摘要
视频聊天系统作为一种新型的通信和交流工具突破了地域的限制可以提供更为便捷、灵活、全面的音、视频信息的传递和服务具有极其广泛的发展前景。
本文介绍了采用MicrosoftVisualC60编程开发视频聊天系统的一套比较常用的解决方案。文字聊天采用TCP模式语音视频聊天采用UDP模式在客户端之间点对点的进行。在该方案中通过函数库VFW来实现视频捕获、影像压缩以及影像播放。微软公司提供的专门用于视频捕获开发的工具包VFW为在Wi
dows操作系统中实现视频捕获提供了标准的接口从而大大降低了程序的开发难度。在视频传输方面则通过组建视频帧将位图形式的视频帧压缩成帧格式的Mpeg4流传输到客户端后解压并显示影像。同时在本方案中采用了线程来实现语音录制和语音回放最终实现了通过服务器中转的文字聊天、点对点的语音视频聊天。
关键词文字聊天视频捕获视频传输语音录制与回放
fAbstract
Asa
ewtoolaboutcommu
icatio
videochatti
gsystemhasbroke
throughgeographicalrestrictio
shasprovidesmoreco
ve
ie
tflexiblea
dcompletetra
smissio
a
dserviceFurthermoreithasaverybrightfuture
Thecommo
solutio
abouthowtodevelopavideochatti
gsystemisi
troducedbytheMicrosoftVisualC60programmi
gTCPmodelisusedi
thetextchatti
ga
dUDPforthepoi
ttopoi
tvideochatsbetwee
theClie
tsI
thispla
VideoCaptureVideoCompressio
Ma
agera
dDrawDibarerealizedbythefu
ctio
sofVFWLibraryThespecialkitVFWVideoforWi
dowsi
videocaptureofferedbyMicrosoftCorporatio
hasprovidedasta
dardi
terfaceforvideocapturei
Wi
dowsOperati
gSystema
dthusgreatlyreducedthehardshipofprogrammi
gI
videotra
smissio
aspectitrequiresavideoframewhichiscompressedthevideoframeofbitmapi
toMpeg4steamofframeformThe
itwillbedecompressedi
toimagessi
ceithasbee
arrivedtheClie
tMea
whilethethreadisusedtoachieveaudiorecordi
ga
dreplayi
gFi
allyithasrealizedthetextchatti
gthroughaservertotra
sitthepoi
ttopoi
taudioa
dvideochats
Keywordstextchatti
gVideoCapturevideotra
smissio
audiorecordi
ga
dplayi
g
f目录
摘要IAbstractII第一章引言1
11课题背景1
12国内外研究现状1
13本课题研究的意义2
第二章理论知识介绍4
21C语言的介绍4
22VFW简介5
23r