用户名: 密码: 验证码:
DirectShow网络视频教育方案的实现
详细信息    本馆镜像全文|  推荐本文 |  |   获取CNKI官网全文
摘要
远程教育是网络多媒体技术应用的一个重要方向。它突破了时间和空间的限制,为广大的学习者提供了极大的方便。
     网络视频教育是远程教育的一个重要组成部分,它实现了师生们在网络上的视频和音频交流。它有三种实现方式:纯硬件方案、纯软件方案和软硬结合的方案。
     现阶段我国的网络多媒体教育得到了广泛的运用,但是在实现网络视频教育时,还存在着如下一些问题:
     1.纯硬件网络视频教育方案成本过高,不能为普通用户接受,限制了它的推广,也不便于升级换代。
     2.纯软件网络视频教育方案视频和音频质量不高,不支持异步教学和多点视频通讯。
     3.无论是纯硬件方案还是纯软件方案,它们所采用的视频和音频编解码器都遵循H.323标准,所输出的媒体数据格式较为单一,不能适应用户需求和网络环境的变化。
     针对上述问题,本文提出了基于DirectShow技术的网络视频教育方案。该方案是一个纯软件方案,它克服了以前软件方案的缺点,所作的工作主要有以下几方面:
     1.使用廉价的设备替代原有的专业设备,利用软件来实现视频音频的捕获、编码和录制。
     2.提供对MPEG-4、MP3等先进编码技术的支持,实现这些媒体数据流的网络传输。
     3.兼容多种编码器,并提供对编码器属性和视频音频质量的配置方式。
     4.提供对同步和异步教学模式的支持,并使用组播来实现多点通讯。
     本文主要介绍了方案三个层次的实现:
     1.用户界面层。它提供程序的界面,让用户可以根据自身和环境的需要对各类设备和编码器进行选择和配置。
     2.Graph管理层。这层中,本文在DirectShow所提供的底层API基础上,设计了一系列完成特定功能的高级函数,供用户界面层调用。
     3.Filter层。在这层中,本文设计了一个网络传输Filter,来实现媒体数据的网络发送和接收。网络传输Filter对各类媒体数据进行RTP数据报封装,并对MPEG-4数据进行特殊的分片处理;在接收时,使用异步接收方式、多重缓冲和多线程技术来提高系统的性能。并且它使用COM技术开发,有很好的扩展性。
     经过实际运行和测试,本方案完全达到了设计的要求。
    
    Directshow网络视频教育方案的实现
     本文的研究意义在于:使用最新的Directshow技术,以纯软件的方式,来实现网络视
    频教育。方案的成本低,视频和音频质量好,兼容性强,配置灵活,能适应不同网络带宽,
    由于方案采用的是层次型结构,因而也提高了它的扩展性。
Remote education is an important part of the network multimedia technique. It breaks through the limitation of the space-time and brings great convenience to the learners.
    The network video education plays an important role in the remote education. It realizes the communication of the video/audio on the network between the teachers and students. There are three ways to implement the network video education: hardware solution, software solution and hardware-software solution.
    Remote education has been widely used in our country, but there are still some problems in the realization of the network video education:
    1. The cost of the hardware solution of the network video education is too high for the users.
    2. The video/audio quality of the software solution can not satisfy the users. And the software solution doesn't support asynchronism education and multicast.
    3. The codecs used in the hardware solution and software solution follow the H.323 standard. The output media format is so simplex that it can not adapt well to the change of the users' requirement and network condition.
    Aiming at these problems, this paper designed a software solution of network video education which was developed with DirectShow. This software solution overcomes the shortcomings of the software solution before , it accomplishes the following work:
    1. Replacing the special and expensive equipments by the cheap ones, using software to capture, encode/decode, and record the video/audio data.
    2. Supporting MPEG-4 and MP3 codec, designing the network transmit method of these media data.
    3. Providing the compatibility for kinds of codecs, and the configuration of these codecs and video/audio's quality.
    4. Supporting synchronism education, asynchronism education and multicast. This paper is mainly about the three layers' design of the solution:
    1. UI layer. It provides the user interface, which allows the users configuring the devices and the codecs to meet their requirement.
    2. Graph manager layer. In this layer, to serve for the UI layer, this paper designed a series of
    
    
    
    
    high level functions based on the DirectShow API.
    3. Filter layer. In the Filter layer, this paper designed a network transmit filter to implement the media data's transmission. The network transmit filter encapsulates the media data into the RTP packets, and uses special method to separate the MPEG-4 data. When receiving media data, it uses asynchronism receiving mode, multi-cache and multi-thread to improve the system performance. And because it is developed with COM, it has better expansibility.
    The purpose of this paper is: designing a software solution of network video education with the advanced DirectShow technique. The features of this solution are: low cost, better Video/Audio quality, compatibility for more codecs, kinds of configurations which allow users doing different tasks and adjustment for the change of network condition.
引文
[1] Microsoft Corporation,Microsoft DirectX9.0 SDK
    [2] 欧建平、娄生强编著,《网络与多媒体通信技术》,人民邮电出版社,2002年2月,P337~P342
    [3] Jerry D.Gibson、Toby Berger、Tom Lookabaugh等著,《多媒体数字压缩原理与标准》,电子工业出版社,2001年6月,P200~P205
    [4] 钟玉琢、向哲、沈洪编著,《流媒体和视频服务器》,清华大学出版社,2004年5月,P17~P21
    [5] Anthony Jones、Jim ohlund著,《Windows网络编程技术》,机械工业山版社,2001年1月,P268~P290
    [6] Y. Kikuchi, T. Nomura, S. Fukunaga etc. RFC3016: RTP Payload Formatfor MPEG-4 Audio/Visual Streams
    [7] Gerald Kuhne, Christoph Kuhmunch,《Transmitting MPEG-4 Video Streams over the Internet:Problems and Solutions》, http://www.m4if.org/products
    [8] Carsten Herpel. ISO/IEC JTCI/SC29/WGII/N2615,《Architectural Considerations for Carriage of MPEG-4 over IP》http://-drogo.cselt.stet.it/mpeg/public/w2615.zip, 1998.
    [9] ISO/IEC 11172-2.《Information Technology -Generic Coding of Moving Pictures and Associated Audio for Digital Storage Media at up to 1,5 MBits/s》 - Part 2: Video, 1993.
    [10] ISO/IEC 13818-2. 《Information Technology -Generic Coding of Moving Pictures and Associated Audio》 - Part 2: Video, 1995.
    [11] HANTRO, 《MPEG-4 Codec Overview》, www.hanto.com
    [9] Touradj Ebrahimi, Caspar Horne,《MPEG-4 Natural Video Coding - An overview》,http://www.m4if.org/prod ucts
    [10] Rob Koenen, 《Overview of the MPEG-4 Standard》, http://www.m4if.org/products
    [11] 《XviD core API overview》, www.xvid.org
    [12] L. Chariglione, "MPEG and Multimedia Communications", IEEE Transactions on Circuits and Systems for Video Technology, Vol. 7, No. 1, P5~P18, Feb. 1997.
    [13] ITU-T Experts Group on Very Bitrate Visual Telephony, 《ITU-T Recommendation H.263: Video Coding for Low Bitrate Communication》 Dec. 1995.
    
    
    [14] 张丽著,《流媒体技术大全》,中国青年出版社,2001年11月,P12~P25
    [15] 刘聪 郝建英 林世洪等著,《基于NetMeeting SDK的音视频交互教学环境的开发与实践》,北方交通大学
    [16] MMLAB, 《MPEG-4 Overview》, 2001.5, http://mmlab.snu.ac.hr
    [17] 陆其明,《MPEG-1流的网络客户端实时播放》,http://hqtech.nease.net
    [18] 刘涛,《基于DirectShow的流媒体解码和回放》,http://www.yesky.com/20021210/1643686.shtml
    [19] Fei Zhang, Mark R. Pickering, Michael R. Frater etc., 《Streaming MPEG-4 Video over Differentiated Services Networks》, http://www.m4if.org/products
    [20] A. M. Mohamed, H. M. Alnuweiri,《MPEG4 BROADCAST: A CLIENT/SERVER FRAMEWORK FOR MULTI-SERVICE STREAMING USING PUSH CHANNELS》, http://www.m4if.org/products
    [21] ISO/IEC JTC1/SC29/WG11 N2562, 《MPEG-4 Requirements Document》, December 1998.
    [22] ISO/IEC 14496-1, 《Coding Of Audio-Visual Objects: Systems, Final Draft International Standard》, ISO/IEC JTC 1/SC29/WG 11 N2501, October 1998.
    [23] ISO/IEC JTC1/SC29/WGll N2611,《MPEG-4 Systems Version 2 WD 5.0》, December 1998.
    [24] ISO/IEC 14496-2, 《Coding Of Audio-Visual Objects: Visual, Final Draft International Standard》,ISO/IEC JTC 1/SC29/WG 11 N2502, October 1998.
    [25] ISO/IEC 14496-3,《Coding Of Audio-Visual Objects: Audio, Final Draft International Standard》, ISO/IEC JTC 1/SC29/WG 11 N2503, October 1998.
    [26] ISO/IEC 14496-6,《Coding Of Audio-Visual Objects: Delivery Multimedia Integration Framework, Final Draft International Standard》, ISO/IEC JTC1/SC29/WG11 N2506, October 1998.
    [27] B. Lehane, N. O'Connor, N. Murphy, 《MPEG-4 Tools and Applications: An Overview》, http://www.m4if.org/products
    [28] Regina Reine, Dr. Godred Fairhurst 《MPEG-4 and UDP-Lite for Multimedia Transmission》, http://www.m4if.org/prod ucts
    [29] 汪刚,张霖,《多媒体远程教室的规划和设计》,安徽建筑工业学院学报(自然科学版),第10卷第3期。
    
    
    [30] 郭中华,《视频会议系统及其在远程教育中的应用》,电视技术,2003年第9期,P76~P78
    [31] 李崇荣,张轩,《基于IP/multicast视频会议技术在远程教育中的应用》,清华大学学报(自然科学版),2003年,第43卷第1期。
    [32] 王九如,《基于视频直播技术的远程教学系统平台》,现代计算机,总第119期,P32~P35
    [33] 孙建青,张军,《基于Internet的现代远程教育及几个关键技术问题》,山东师大学报(自然科学版),2002年3月,第17卷第1期。
    [34] 刘庆祥,《网络视频会议系统——一种现代远程教育解决方案》,荆州师范学院学报(自然科学版),2002年10月,第25卷第5期。
    [35] 梁晋,彭波,梁峰等,《Windows流媒体技术与远程教育设计》,小型微型计算机系统,2000年10月,第21卷第10期。
    [36] 郭小锋,《利用Netmeeting远程教学开展师生继续教育》,柳州师专学报,2002年3月,第17卷第1期。
    [37] 岳浩,《校同网远程教学系统的设计》,苏州职业大学学报,2003年11月,第14卷第4期。
    [38] 邱莹,申志勇,《MicrosoftNetMeeting的技术特点及其底层服务在远程医疗系统中的应用》,小型微型计算机系统,2000年6月,第21卷第6期。

© 2004-2018 中国地质图书馆版权所有 京ICP备05064691号 京公网安备11010802017129号

地址:北京市海淀区学院路29号 邮编:100083

电话:办公室:(+86 10)66554848;文献借阅、咨询服务、科技查新:66554700