John Meilak Reuben Sant Jason Farrugia Media API Web Science APT 2007/2008.

Slides:



Advertisements
Similar presentations
How a MP3 Player Works and Operates. By: Kyle Anderson & Michael Theis.
Advertisements

Slide 1 Topic 1 Software Development Process for Multimedia Applications.
RECORDING MECHANISM VOICE Competency : Principle of master making.
Computer Fundamentals Multimedia MSCH 233 Lecture 10.
Chapter 11 Media and Interactivity Basics Key Concepts Copyright © 2013 Terry Ann Morris, Ed.D 1.
                      Digital Audio 1.
Multimedia Authoring1 Introduction to Garageband Garageband is both a: MIDI sequencer Digital audio recorder Garageband: Real Instruments Tracks displayed.
Using Multimedia on the Web Enhancing a Web Site with Sound, Video, and Applets.
Pro Tools 7 Session Secrets Chapter 6: After the Bounce or Life Outside of Pro Tools Life Outside of Pro Tools.
A stereo audio file 1. Audio Channels Number of audio channels determines number of waveforms in a recording Two relevant types of recording Stereo recording.
CNIT 132 – Week 9 Multimedia. Working with Multimedia Bandwidth is a measure of the amount of data that can be sent through a communication pipeline each.
4.1Different Audio Attributes 4.2Common Audio File Formats 4.3Balancing between File Size and Audio Quality 4.4Making Audio Elements Fit Our Needs.
Chapter 11 Media and Interactivity Basics Key Concepts
Podcasting in the Classroom Presented by: Jason Arruzza, AIS.
4.2 Multimedia Elements Audio 1. Learning Outcomes: At the end of the lesson, students should be: a) describe the purpose of using audio in multimedia.
Cosc 5/4730 Multimedia Part 1: Audio media. PLAYING AUDIO Android android.media.
It provides a framework for embedded multimedia facilities in java enabled mobile devices.
HTML Structure & Web Design Basics
3.6 Multimedia/Digital Media Components (Audio and Video) by Francisco Oliveira.
Section 9.1 Identify multimedia design guidelines Identify sources of multimedia files Explain the ethical use of multimedia files Describe multimedia.
HTML 5 and CSS 3, Illustrated Complete Unit K: Incorporating Video and Audio.
Audio Basic Concepts. Audio in Multimedia Digital Audio: Sound that has been captured or created electronically by a computer In a multimedia production,
App Development on Android
Digital Video Teppo Räisänen LIIKE/OAMK. General Information Originally video material was processed using analog tools Nowadays it is common, that digital.
1 Final Year Project 2003/2004 LYU0302 PVCAIS – Personal Video Conference Archives Indexing System Supervisor: Prof Michael Lyu Presented by: Lewis Ng,
Video for Mobile Device Mark Green School of Creative Media.
IT-Academic Technology Services Using Microsoft PowerPoint 2010 for Digital Storytelling.
Chapter 9 Audio.
MPEG-4 Cedar Wingate MUMT 621 Slide Presentation I Professor Ichiro Fujinaga September 24, 2009.
MPEG-4 By Christian Smith MUMT-621 Feb. 5 th 2012.
CS371m - Mobile Computing Audio.
Boxee Box by D-Link. Agenda What’s Boxee Box Appearance Applications Positioning Brief Introduction Supported Media Formats Selling Points Comparison.
Digital media BY ISABELLE CHACTY What is Digital Media? Digital Media is practically traditional media manipulated by computers, and they are created.
Section 9.1 Section 9.2 YOU WILL LEARN TO…
Multimedia.
Using Multimedia on the Web
© 2009 Research In Motion Limited Advanced Java Application Development for the BlackBerry Smartphone Trainer name Date.
CHAPTER 18 INTEGRATING AUDIO AND VIDEO. LEARNING OBJECTIVES How the HTML 5 and tag pair can be used to include a video file within a webpage How video.
Computer Networking From LANs to WANs: Hardware, Software, and Security Chapter 14 Multimedia Networking.
Sem 1 v2 Chapter 14: Layer 6 - The Presentation layer.
Discovering Computers 2010 Chapter 2 The Internet and World Wide Web.
© 2011 The McGraw-Hill Companies, Inc. All rights reserved Chapter 6: Video.
Audio and Video CGS Some Common Audio Formats Format Use Extension MIDI instrumental music.mid MPEG songs.mp3 RealAudio live broadcasts.ra Wave.
ScreenPlay Director Training By Erik Collett
Copyright © Terry Felke-Morris WEB DEVELOPMENT & DESIGN FOUNDATIONS WITH HTML5 7 TH EDITION Chapter 11 Key Concepts 1 Copyright © Terry Felke-Morris.
3.2 Data Portability. Overview Understand the need for data compression and software needed to compress/decompress data. Identify common file types such.
HTML Use of Multimedia on web page. HTML Media Q. How to call Image file in our web page ? A. That is the easy syntax for defining an image. 2.
Common file formats  Lesson Objective: Understanding common file formats and their differences.  Learning Outcome:  Describe the type of files which.
GIF - Graphics Interchange Format JPEG - Joint Photographic Experts Group PNG - Portable Network Graphics GIF images are limited to the 8 bit palette which.
PowerPoint Ingots This PowerPoint will comprise of the first four bullet points for Learning Outcomes.
AUDIO AND VIDEO COMPRESSION AND IT’S IMPORTANCE ON THE INTERNET Brian Dillinger May 3, 2010.
 The meaning of multimedia is the use of a variety of artistic or communicative media.
Chap 14 Presentation Layer Andres, Wen-Yuan Liao Department of Computer Science and Engineering De Lin Institute of Technology
Digital Video File Formats an overview. Introduction Digital Video & Audio files are also known as container formats. These “containers” are digital files.
Music files in PowerPoint 2007? By Ashley Wiger.
CS378 - Mobile Computing Audio.
Lesson 5 MULTIMEDIA. Multimedia on the Web has expanded rapidly as broadband connections have allowed users to connect at faster speeds. Almost all Web.
Multimedia. Audio,vedio and Images End user typically refer to vedio/audio using the respective file format MP4 or AVI(audio vedio interleave) Developer.
Audio Formats. Digital sound files must be organized and structured so that your media player can read them. It's just like being able to read and understand.
Lecture 7: Media Player Topics: Media Player, Async prepare Date: Mar 3, 2016.
Part A Multimedia Production
Copyright © Terry Felke-Morris Web Development & Design Foundations with HTML5 8 th Edition CHAPTER 11 KEY CONCEPTS 1.
CS371m - Mobile Computing Audio. Audio on Device Devices have multiple audio streams: – music, alarms, notifications, incoming call ringer, in call volume,
Audio and Haptic Feedback
Android Application Audio 1.
Multimedia.
Lecture 7: Media Player Topics: Media Player, Async prepare
Who am I? Davy Van Deursen post-doctoral researcher
Multimedia: making it Work
Chapter 9 Audio.
Presentation transcript:

John Meilak Reuben Sant Jason Farrugia Media API Web Science APT 2007/2008

Media API Introduction Users demand rich multimedia capabilities Mobile hardware developed significantly Mobile devices are not simply used for voice calls and text messaging

Media API Media Capabilities Play, stream and record media resources Audio Video Face Detection Used to adjust camera settings on face

Media API android.media Package Classes MediaPlayer MediaRecorder FaceDetector AudioSystem Interfaces MediaPlayer.OnBufferingUpdateListener MediaPlayer.OnCompletionListener MediaPlayer.OnErrorListener MediaPlayer.OnPreparedListener

Media API MediaPlayer Example Local Resource MediaPlayer mp = MediaPlayer.create (context, R.raw.sound_1); Stream mp.setDataSource(path); Video mp.setDisplay(mPreview.getHolder().getSurface()); An android.View.Surface is needed to display the video in it. mPreview is of type android.view.SurfaceView which is defined in the xml layout file. Playback mp.prepare(); mp.start();

Media API MediaRecorder Example MediaRecorder rec = new MediaRecorder(); rec.setVideoSource( MediaRecorder.VideoSource.CAMERA ); rec.setAudioSource( MediaRecorder.AudioSource.MIC ); rec.setOutputFormat( MediaRecorder.OutputFormat.THREE_GPP ); rec.setVideoSize( 400, 300 ); rec.setVideoFrameRate( 24 ); rec.setVideoEncoder( MediaRecorder.VideoEncoder.H263 ); rec.setAudioEncoder( MediaRecorder.AudioEncoder.AMR_NB ); rec.setOutputFile( path ); rec.prepare(); rec.start();

Media API Supported Media Codecs Audio –MP3 compression scheme used to transfer audio files via internet and store in portable media players –AAC advanced audio coding, similar to mp3, used by iTunes –Ogg Vorbis a free and open source audio codec –MIDI used to describe a piece of music in enough detail to be able to reproduce it accurately –iMelody ringtone format –XMF extensible music format, used to keep file sizes as small as possible. used for polyphonic ringtones –RTTL/RTX ringtones format

Media API Supported Media Codecs Video –MPEG-4 compression algorithm for graphics, audio and video –H.264 simple standard providing good video quality at lower bit rates –3GP simplified version of mpeg used to accommodate limited bandwidth of mobile phones

Media API References videomusic-player-sample-from-local-disk-as- well-as-remote-urls/

Media API