计算机技术与发展2012,Vol.22Issue(2):238-240,244,4.
基于QtWebkit的浏览器视频插件的设计与实现
Design and Implementation of Browser Player Plug-in Based on QtWebkit
摘要
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 a-chieved in the embedded platform. The plug-in makes users watch videos in web pages smoothly, which has been proved by the practice关键词
插件/播放器/浏览器引擎/嵌入式/命名管道Key words
plug-in/player/browser engine/embedded/FIFO分类
信息技术与安全科学引用本文复制引用
李迪,丁娅..基于QtWebkit的浏览器视频插件的设计与实现[J].计算机技术与发展,2012,22(2):238-240,244,4.基金项目
国家高技术研究发展计划(863计划)(2009AA063001) (863计划)