Font Size: a A A

Research And Implementation Of Parser Based On SMIL

Posted on:2010-04-20Degree:MasterType:Thesis
Country:ChinaCandidate:X X YuanFull Text:PDF
GTID:2178360308479554Subject:Computer application technology
Abstract/Summary:PDF Full Text Request
With the development of network and the popularity of broadband network, users have a high demand for a better multimedia information service which the Synchronized Multimedia Integration Language can effectively integrate various media resources to meet. Therefore, in this thesis, a parser, which can parse a SMIL file and then form related time controller and events handler, is designed and implemented.With the aim of correctly parsing SMIL files so as to play the multimedia contents, the functional structure of the SMIL parser is designed based on the syntax and the function of SMIL. And it mainly consists of parsing module, SMIL timing control module, event management modules and interface control module. In the specific process of implementation, SAX analytic techniques are adopted, and analytic algorithm to analyze various SMIL tags which use to the follow-up time control and event handling is designed; through introducing relevant containers in standard template library, the data structure of content control information used to store element nodes and time nodes needed in time sequential control module is designed, and with this control information, event scheduler program is implemented; according to multithreading mechanism and finite state machine principle, file parsing and all kinds of events management in the process of obtaining data are implemented in order to achieve a number of media resources synchronous display, Besides, for facilitating user's interaction with the player, a simple man-machine interactive interface is designed by adding relevant menu item in the single document structure.From the results of experiment, SMIL parser is designed in this thesis which can correctly parse the timing control made in the SMIL file, meanwhile utilizing multithreading mechanism by calling audio, video and image processing plug-in units, can achieve many media resources synchronous playback based on time line in the same window.
Keywords/Search Tags:multimeida, SMIL, SAX, FSM, timing control
PDF Full Text Request
Related items