基于QtWebkit的浏览器视频插件的设计与实现  被引量:1

Design and Implementation of Browser Player Plug-in Based on QtWebkit

在线阅读下载全文

作  者:李迪[1] 丁娅[2] 

机构地区:[1]华中科技大学电子与信息工程系,湖北武汉430074 [2]华中科技大学计算机科学与技术学院,湖北武汉430074

出  处:《计算机技术与发展》2012年第2期238-240,244,共4页Computer Technology and Development

基  金:国家高技术研究发展计划(863计划)(2009AA063001)

摘  要:为了解决基于Webkit引擎的嵌入式浏览器不能播放网页中嵌套的视频文件的问题,设计了一种简单有效的视频播放插件模型。该设计区别于传统的NPAPI标准插件,通过继承Qt自带的控件类并重载其中的方法来实现该插件的注册,利用ffplay实现数据流的获取和解码显示,设计用户界面负责响应用户事件并控制ffplay的播放,并通过FIFO管道和状态机来实现播放界面和ffplay的通信。最后在嵌入式平台下实现了该设计。经工程实践表明,该方法行之有效,通过该插件能够流畅观看网页中的视频文件。Videos in web pages can not be played by embedded browser which is based on Webkit.Aiming at this problem,design a simple and effective player plug-in model.Being different from the traditional NPAPI plug-in,this plug-in is registered by inheriting Qt's class and overloading its methods,the plug-in uses ffplay to get data streams and decode them,it designs the user interface in response to user events and to control ffplay,and realizes the communication of UI and ffplay by FIFO and state machine.The design is finally achieved in the embedded platform.The plug-in makes users watch videos in web pages smoothly,which has been proved by the practice

关 键 词:插件 播放器 浏览器引擎 嵌入式 命名管道 

分 类 号:TP393.09[自动化与计算机技术—计算机应用技术]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象