Top Banner

Click here to load reader

Project Report : Minor Project

Apr 11, 2015

ReportDownload

Documents

JMF(Java Media Framework) intro and making of a basic MP3 player with it

International Institute of Professional Studies Devi Ahilya Vishwavidyalaya, Indore

Project Report On POMP

(Portable Media Player)Project Report Submitted for the partial fulfilment of III Master of Technology (5 20071/2rd

Year of

Yrs.)

Guided By:Mr.Vivek Srivastava

Submitted By:Achint Verma

1

RECOMMENDATIONThe project work entitled POMP submitted by Achint Verma is a satisfactory account of the bona-fide work under my supervision is recommended towards the end of his VIth semester of M.Tech (5 2007.1/2

yrs)

Guided ByMr. Vivek Srivastava

2

CertificateThis dissertation entitled POMP submitted by Achint Verma is approved for the partial fulfilment account of VIth semester of Master of 1/2 Technology(5 years.

Internal Examiner

External Examiner

HOD

3

CONTENTS PRELIMINARIES Recommendation Certificate Acknowledgement 5 6 7 8 9 9 10 13 15 15 15 18 19 22 23 24 25 27 27 28 29 30 31 32 33 34 38 38 39 40 41 42 44 44 46

1. Abstract 2. Introduction 3. Present Scenario 4. Methodology 5. Problem Definition 6. Feasibility Study 7. Business Model 8. Requirement analysis 9. Initial Study i. Time Based Data ii. Media presentation iii. JMF Architecture iv. Presentation v. Time Model vi. Data Model vii. Controls viii. Event Model 10. Functional Modelling i. Context Diagram ii. DFD Level 1 (Basic Player) iii. DFD Level 1 (Mobile application) iv. DFD Level 2 (Player) v. DFD Level 2 (Playlist Manager) vi. State Transition Diagram 11. ID3 Tag 12. Data Dictionary 13. Implementation i. Main Interface ii. Playlist Mnager iii. Tag Editor 14. Testing 15. Installation 16. Limitations 17. Conclusion 18. Source Code

4

AbstractModule 1: To provide a media player interface on Bluetooth enabled mobile device. In this module there will be a media player to play songs on a desktop and its instance interface on mobile device from where we can control playback remotely. Module 2: Streaming with above media player. Streaming of any song will be done by media player when it gets a request from its counterpart player on mobile device to do so. With this a person can listen to any song from media player library by streaming done with Bluetooth protocol .

Aim :1. To learn interaction between a desktop and a Bluetooth enabled mobile device. 2. To provide a virtual command prompt on mobile device to perform various tasks remotely. 3. To provide new user experience for music freaks so that they can take advantage of their giant music library (thats on PC) from anywhere within range of class B Bluetooth (30 feet). 4. To learn about all the technical restrictions that a developer can face while learning mobile development using JAVA.

5

IntroductionRecently, MP3 become popular in this generation. Most of the software companies develop so many types of player which support MP3 file (e.g. Winamp, Window Media Player, Real, RealOne, etc). But there is not all of the software which are suitable for all different users. Pomp is basically a facility for music lovers to control playback of mp3 player right from there Bluetooth enabled phone. Without a phone , it can work as a standalone mp3-player on system. This mp3 player has inbuilt ID3 tag editor. To achieve this we have chosen java as the implementing language because java is platform independent so what will get can be run on any platform.following javas Write once run everywhere title.

Benefits of the system1. Fast standalone mp3 player. 2. Save user time controlling playback from their mobile doing anything else. 3. Facility to save play-list files. 4. ID3 tag editor to edit mp3 metadata. 5. Made in java, hence is extensible, platform independent, robust.

ObjectivesThe main purpose of POMP is to produce an audio (MP3) player that can be suitable for different level user. The goals of POMP are: Provide a platform to play audio (MP3) file Provide different interfaces for different level users Support playlist (M3U) file Provide playlist management

General RequirementsThe following general requirements were laid out for our project named POMP: The player can play audio (MP3) file

6

The player can provide some necessary function of playing audio (MP3) file, such as previous, next, random, repeat etc. Users can choose their interface for their level Users can add new songs to the playlist or manage their playlist All users data and playlists could be stored electronically

Introduction of present scenarioPresently users use software like winamp ,windows media player and open sources vlc player. Plug-ins for these software are available to control these players. These packs have two parts . First part is installed on computer that acts as a server. Second part is installed on our Bluetooth enabled mobile device. This way program on mobile device communicates with the application on system. Its generally a two way communication. Player receives control information and transforms it in proper manner to control playback of songs. One of these plug-ins for most popular mp3 player, Winamp is available at its website at http://www.winamp.com/plugins/browse.php?search=yes&filter=C&query=bluetooth but main drawback of this plug-in is that its platform dependent i.e. available only for Microsoft windows. They are coded in languages like c++ or visual basic. Hence there is no scope for these plug-ins what are written for winamp, windows media player or other players. They can not run on other operating systems like Linux or Mac OS. Other option is proprietary software like Bluetooth Remote Control download from http://www.bluetoothshareware.com/bluetooth_remote_control_manual.asp Demo is available here. This software is very good as it supports many features like iTunes, Windows media player, PowerPoint, file browser etc. Good thing with these popular software is, they are rich in features. They have graphic equalizer. Support for custom skins, custom plug-ins for extensibility. Today in the rapidly increasing world of internet, culture for internet radio and online streaming video is increasing and people are making it a habit. Many media player nowadays support listening to internet radio channels and live video broadcast. One of the pioneers in streaming technology is real player which offers great performance even on low bandwidth. Missing codec were everybodys headache few years back but nowadays we have many software bundles that offer large variety of codec altogether like K-Lite pack have about 7

120 codec in it. Similarily after coming vlc media player, which is open source, scenario completely changed. Everything I discussed above is present in VLC media payer.

MethodologyI followed SDLC (System Development Life Cycle) for project development phases.

Systems Development Life Cycle (SDLC) or sometimes just (SLC) is defined by the U.S. Department of Justice (DoJ) as a software development process, although it is also a distinct process independent of software or other Information Technology considerations. It is used by a systems analyst to develop an information system, including requirements, validation, training, and user ownership through investigation, analysis, design, implementation, and maintenance. 1. Terms Of Reference the management will decide what capabilities and objectives they wish the new system to incorporate; 2. Feasibility Study asks whether the managements' concept of their desired new system is actually an achievable, realistic goal, in-terms of money, time and end result difference to the original system. Often, it may be decided to simply update an existing system, rather than to completely replace one; 3. Fact Finding and Recording how is the current system used? Often questionnaires are used here, but also just monitoring (watching) the staff to see how they work is better, as people will often be reluctant to be entirely honest through embarrassment about the parts of the existing system they have trouble with and find difficult if merely asked; 4. Analysis free from any cost or unrealistic constraints, this stage lets minds run wild as 'wonder systems' can be thought-up, though all must incorporate everything asked for by the management in the Terms Of Reference section; 5. Design designers will produce one or more 'models' of what they see a system eventually looking like, with ideas from the analysis section either used or discarded. A document will be produced with a description of the system, but nothing is specific they might say 'touchscreen' or 'GUI operating system', but not mention any specific brands; 6. System Specification having generically decided on which software packages to use and hardware to incorporate, you now have to be very specific, choosing exact models, brands and suppliers for each software application and hardware device; 7. Implementation and Review set-up and install the new system (including writing any custom (bespoke) code required), train staff to use it and then monitor how it operates for initial problems, and then regularly maintain thereafter.

8

During this stage, any old system that was in-use will usually be discarded once the new one has proved it is reliable and as usable.

Problem DefinitionFirst of all major problems I was facing at the start of analysis was being very unfamiliar with the new technologies like JMF and Bluetooth. In summarized form here are the problems involved with this project. 1. Learning a new API, JMF (Java Media Framework). 2. Learning JSR82, JSR135 packages of java mobile technology. 3. Its difficult to make a system which works on two different architectures, as we area dealing with a computer plus a mobile device, making all modules work together successfully is difficult task. 4. To analyze and test whether some of the obj

Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.