Mobile SMIL
description
Transcript of Mobile SMIL
![Page 1: Mobile SMIL](https://reader033.fdocuments.us/reader033/viewer/2022051218/56815e3e550346895dccaade/html5/thumbnails/1.jpg)
Mobile SMILJason Daniels
Ben BedinghausRyan Ware
![Page 2: Mobile SMIL](https://reader033.fdocuments.us/reader033/viewer/2022051218/56815e3e550346895dccaade/html5/thumbnails/2.jpg)
Who We Are
• Ben Bedinghaus– Team Lead, Implementer, Tester
• Jason Daniels– Configuration Manager, Implementer, Tester
• Ryan Ware– Liaison, Implementer, Tester
![Page 3: Mobile SMIL](https://reader033.fdocuments.us/reader033/viewer/2022051218/56815e3e550346895dccaade/html5/thumbnails/3.jpg)
The Project
• Mobile application supporting SMIL– XML markup language “Synchronized Multimedia
Integration Language” defines multimedia presentations
• Playback of SMIL files• Creation and editing of SMIL files• Sending and receiving of SMIL files from one
cell phone to another
![Page 4: Mobile SMIL](https://reader033.fdocuments.us/reader033/viewer/2022051218/56815e3e550346895dccaade/html5/thumbnails/4.jpg)
The Platform
• Why Android?– Java– Windows support– Ample documentation– Eclipse plugin & emulator
![Page 5: Mobile SMIL](https://reader033.fdocuments.us/reader033/viewer/2022051218/56815e3e550346895dccaade/html5/thumbnails/5.jpg)
Overall Use Case
![Page 6: Mobile SMIL](https://reader033.fdocuments.us/reader033/viewer/2022051218/56815e3e550346895dccaade/html5/thumbnails/6.jpg)
Overall Activity
![Page 7: Mobile SMIL](https://reader033.fdocuments.us/reader033/viewer/2022051218/56815e3e550346895dccaade/html5/thumbnails/7.jpg)
Player Activity
![Page 8: Mobile SMIL](https://reader033.fdocuments.us/reader033/viewer/2022051218/56815e3e550346895dccaade/html5/thumbnails/8.jpg)
Composer Activity
![Page 9: Mobile SMIL](https://reader033.fdocuments.us/reader033/viewer/2022051218/56815e3e550346895dccaade/html5/thumbnails/9.jpg)
Manager Activity
![Page 10: Mobile SMIL](https://reader033.fdocuments.us/reader033/viewer/2022051218/56815e3e550346895dccaade/html5/thumbnails/10.jpg)
Player Implementation
• File Types– text (txt)– image (jpg, png, gif, bmp)– audio (mp3)– video (mp4, 3gp)
• Controls– Play / Pause– Previous / Next
![Page 11: Mobile SMIL](https://reader033.fdocuments.us/reader033/viewer/2022051218/56815e3e550346895dccaade/html5/thumbnails/11.jpg)
Send/Receive Implementation
• Send– Application zips XML file with referenced media
files; uploads ZIP file to FTP server; adds new database entry.
•Receive• Application thread created at startup queries database
every 5 seconds for new SMIL files.• Application downloads and unzips file; removes file from
FTP server and database entry; notifies user.
![Page 12: Mobile SMIL](https://reader033.fdocuments.us/reader033/viewer/2022051218/56815e3e550346895dccaade/html5/thumbnails/12.jpg)
Send/Receive Implementation
• Server: cscdb.nku.edu– FTP server– MySQL database
– PHP scripts for interacting with database• send (add database entry)• receive (query database for messages)• delete (remove database entry after receipt)
id to_number from_number message_url
1 18591234567 151398765432 mysmil_20100410123045339.zip
![Page 13: Mobile SMIL](https://reader033.fdocuments.us/reader033/viewer/2022051218/56815e3e550346895dccaade/html5/thumbnails/13.jpg)
Difficulties
• Playback Performance– Player creates a new thread for every audio and
video file during playback.– Lower audio playback thread priority.– Sleep video thread every quarter of a second.
![Page 14: Mobile SMIL](https://reader033.fdocuments.us/reader033/viewer/2022051218/56815e3e550346895dccaade/html5/thumbnails/14.jpg)
Testing
![Page 15: Mobile SMIL](https://reader033.fdocuments.us/reader033/viewer/2022051218/56815e3e550346895dccaade/html5/thumbnails/15.jpg)
Task Partition
• Ben Bedinghaus– Manager (Send/Receive/File browser)
• Jason Daniels– Player (Media Playback/Control)
• Ryan Ware– Composer (Editing/Saving/Parsing)
![Page 16: Mobile SMIL](https://reader033.fdocuments.us/reader033/viewer/2022051218/56815e3e550346895dccaade/html5/thumbnails/16.jpg)
Project Management
![Page 17: Mobile SMIL](https://reader033.fdocuments.us/reader033/viewer/2022051218/56815e3e550346895dccaade/html5/thumbnails/17.jpg)
Software ConfigurationManagement
![Page 18: Mobile SMIL](https://reader033.fdocuments.us/reader033/viewer/2022051218/56815e3e550346895dccaade/html5/thumbnails/18.jpg)
Document Inspection
![Page 19: Mobile SMIL](https://reader033.fdocuments.us/reader033/viewer/2022051218/56815e3e550346895dccaade/html5/thumbnails/19.jpg)
Code Inspection
![Page 20: Mobile SMIL](https://reader033.fdocuments.us/reader033/viewer/2022051218/56815e3e550346895dccaade/html5/thumbnails/20.jpg)
Communication
![Page 21: Mobile SMIL](https://reader033.fdocuments.us/reader033/viewer/2022051218/56815e3e550346895dccaade/html5/thumbnails/21.jpg)
Summary