230 likes | 317 Views
Professor: Michael Lyu Member: Jacky Ma Joan Chung. Multi-Model Digital Video Library. LYU9904. Multi-Model Digital Video Library. Multi-Model Digital Video Library. Outline. Works of First Semester Progress and New Feature Evaluation. Works of First Sem. System Model.
E N D
Professor: Michael LyuMember:Jacky MaJoan Chung Multi-Model Digital Video Library LYU9904 Multi-Model Digital Video Library Multi-Model Digital Video Library
Outline • Works of First Semester • Progress and New Feature • Evaluation
System Model • Building Video Databases • Indexing the Video Contents • Breaking the Video into Segments • Retrieving Video
JMPlayer • Standalone Java Application • Play video files over network • Synchronized script • Practice for playback of video
Applet • Browser-enabled • Integrate with browser’s Chinese environment • Thumbnail Library Interface • Streaming playback of video • Build upon functions of JMPlayer
Query Panel • An interface for user query and searching • Under construction • Will have • full-text script search • keyword search • title search • metadata search • catagory
Library Panel • An interface for user to choose a video among the query result • Features • Thumbnails • MouseOver description • Similarity Scoring
Player Panel • The interface for video playback • Features • Synchronized script • Play control • Sound control • Video infomation
JMF • Platform-neutral multimedia solution • Support different network protocols • Support for capturing and storing media data • Support sending or receiving media streams in real-time • Customizable Data Source and Controller
Query Server • Use XML to keep the records • Use JAXP’s DOM model to implement the data structure • Load XML records when the server starts • Multi-threaded to handle multiple requests
XML • Plain Text • Data Identification • Inline Reusabiliy • Easily Processed • Hierarchical • Usage • Traditional data processing • Document-driven programming • Archiving • Binding
JAXP • XML supplies a universally portable structured data format, and Java technology supplies universally portable code • JAVA API for XML Parsing (JAXP) provides basic functionality for reading, manipulating, and generating XML documents • SAXParserFactory and DocumentBuilderFactory that give you a SAX parser and a DocumentBuilder
SAX • processes XML data like a text stream and alerts the application whenever something interesting comes along • read-only system • event-driven protocol • takes little memory • tends to be fast • simply reacting to things, one at a time, as they come along • lack of an in-memory data structure
DOM • A Document Object Model is a garden-variety tree structure, where each node contains one of the components from an XML structure • document builder reads the XML data and then constructs a DOM
XML • tree structure of data • plain text format • easy to maintain and debug • fields and attributes • video and id • title • keyword • script • line and time • iconsrc • videosrc
System Overview Use browser to run, Input query Send query to Video records Video Icons shown JAXP read the XML, ready for request send from client server Retrieve the video Applet click one of the icon Query Server video playback User XML Video Library Database
JMF vs. Quicktime Choose JMF instead of QuickTime as our tool for video playback: • Platform Independence • QuickTime is mainly for Macintosh and Windows • Difficult for integration with other Java tools • Java tools not support QuickTime, but JMF is a package of Java • Consideration of Time to Study QuickTime • Disadvantage of JMF • The JMF API is not included by Java Runtime Environment, Java plug-in is needed
Database vs. XML • XML is plain text • Client/Server and Server/Server communication is easy and convenient by sending the whole XML file between the two objects • Much difficult for the communication of two database servers • XML is vender independent
Problem • Chinese Capability • Low performance Machine may not have smooth video playback
Works to be finish • 70+ video clips in library • Fully functional demo • Fine-tuned user interface • Bug-Fix!