140 likes | 388 Views
Electrical Engineering Software Lab - Technion. Java Multimedia Player Project. Winter semester 2001/02. Developers : Omer Boker Yoel Krasny Supervisor : Yan Futerman. Project Definition. Multimedia Player and Converter. The project is built as stand alone Java application.
E N D
Electrical Engineering Software Lab - Technion Java Multimedia Player Project Winter semester 2001/02 Developers: Omer Boker Yoel Krasny Supervisor: Yan Futerman
Project Definition • Multimedia Player and Converter. • The project is built as stand alone Java application. • The project is built as multi-platform application, in purpose to run on every platform that has java virtual machine. • The application is based on Java Multimedia Framework which is Sun java library supporting multimedia applications.
Project Features • Playing and presenting multimedia files from all popular formats. • Converting multi media files from one format to another. • Possibility to save multimedia files in each format. • Managing play lists. • Playing play lists in consecutive or random order. • Provide the user a convenient and multimedia-oriented Graphical User Interface.
Playing media files in JMF Playing media file in JMF is possible through the Player Interface. The Player activity is determined by its state, and it uses events to notify its user of state transition. Player is dedicated to specific media file, which its path/URL is given to the Player upon creation. Unrealized Prefeteched Realized Started Playerstates
Playing media files in JMF Unrealized – The initial state of the Player. In this state the Player doesn’t recognize the media file format and no resources are allocated. Unrealized Prefeteched Realized Started Player.realize()
Play Lists basic configuration GUI ManagementFrame User PlayListManager PlayList PlayList PlayList playLists mediaEntities mediaEntities mediaEntities MediaEntity MediaEntity current media lentity MediaEntity current play list
Media file playing – Play List control (Solution) Wakes up every timeout time Open mediafile playeris dead? Prepareplayer Startplayer Kill player has eom arrived? Yes Yes No No End of media Event End of mediaflag Media file progress Play List Module End of mediaflag
WAV The Converter The media file format conversion is performed using a dedicated Processor for each conversion. The Converter class uses event driven model of operation by listening from one hand to GUI events and from other hand to Processor Event. GUI Events Processor Events User Converter Processor Source file Memory