摘要
主要针对远程教育等软件系统中现存的"黑屏"问题提出一种解决方案。运用DirectShow技术对多媒体文件或多媒体流中的视频流进行处理,实现从多媒体文件视频流中进行视频帧的实时捕获,而后调用Windows中GDI函数对获取的图像帧进行渲染,最后按照MPEG2标准合成AVI视频文件并可以实时重放。
In this paper,we present a solution to resolve the"black screen"problem occurred in software system such as distance education,etc.Firstly,we implement the video-frames real-time capturing from video stream of multimedia files by using DirectShow technology to deal with multimedia files or video stream in multimedia stream.Then,the GDI function of Windows is invoked to render the image frames,which are captured by the DirectShow.Finally,according to the standard of MPEG2 a file is composed in AVI video format which is able to replay real-timely.
出处
《计算机应用与软件》
CSCD
2011年第1期35-38,40,共5页
Computer Applications and Software
基金
国家自然科学基金(61004112)