[1]李迪 丁娅.基于QtWebkit的浏览器视频插件的设计与实现[J].计算机技术与发展,2012,(02):238-240.
 LI Di,DING Ya.Design and Implementation of Browser Player Plug-in Based on QtWebkit[J].,2012,(02):238-240.
点击复制

基于QtWebkit的浏览器视频插件的设计与实现()
分享到:

《计算机技术与发展》[ISSN:1006-6977/CN:61-1281/TN]

卷:
期数:
2012年02期
页码:
238-240
栏目:
应用开发研究
出版日期:
1900-01-01

文章信息/Info

Title:
Design and Implementation of Browser Player Plug-in Based on QtWebkit
文章编号:
1673-629X(2012)02-0238-03
作者:
李迪1 丁娅2
[1]华中科技大学电子与信息工程系[2]华中科技大学计算机科学与技术学院
Author(s):
LI DiDING Ya
[1]Dept of Electronics and Information Engineering,Huazhong University of Science and Technology[2]School of Computer Science and Technology,Huazhong University of Science and Technology
关键词:
插件播放器浏览器引擎嵌入式命名管道
Keywords:
plug-in player browser engine embedded FIFO
分类号:
TP393.09
文献标志码:
A
摘要:
为了解决基于Webkit引擎的嵌入式浏览器不能播放网页中嵌套的视频文件的问题,设计了一种简单有效的视频播放插件模型。该设计区别于传统的NPAPI标准插件,通过继承Qt自带的控件类并重载其中的方法来实现该插件的注册,利用ffplay实现数据流的获取和解码显示,设计用户界面负责响应用户事件并控制ffplay的播放,并通过FIFO管道和状态机来实现播放界面和ffplay的通信。最后在嵌入式平台下实现了该设计。经工程实践表明,该方法行之有效,通过该插件能够流畅观看网页中的视频文件
Abstract:
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

相似文献/References:

[1]樊承泽 陈蜀宇 杨新华.基于网络计算机的流媒体播放器的研究与实现[J].计算机技术与发展,2010,(04):195.
 FAN Cheng-ze,CHEN Shu-yu,YANG Xin-hua.Research and Implementation of Streaming Media Player Based on Network Computer[J].,2010,(02):195.
[2]王宁 王铮.Ice插件技术研究[J].计算机技术与发展,2012,(05):40.
 WANG Ning,WANG Zheng.Research of Plug-In Technology Based on Ice[J].,2012,(02):40.

备注/Memo

备注/Memo:
国家高技术研究发展计划(863计划)(2009AA063001)李迪(1987-),男,硕士研究生,研究方向为嵌入式开发、有线网络通信、数据库系统
更新日期/Last Update: 1900-01-01