• Save
Symbian OS - Multimedia Framework
Upcoming SlideShare
Loading in...5
×
 

Like this? Share it with your network

Share

Symbian OS - Multimedia Framework

on

  • 3,384 views

Symbian OS devices usually support all sorts of multimedia. In these slides, you will get an overview of the Multimedia Framework that Symbian OS offers to access those services, along with other ...

Symbian OS devices usually support all sorts of multimedia. In these slides, you will get an overview of the Multimedia Framework that Symbian OS offers to access those services, along with other means of using multimedia. In the challenge you'll see how to write your own mp3-audio player in just a few minutes.

Contents

* Multimedia
* Audio
* Video
* Camera

Statistics

Views

Total Views
3,384
Views on SlideShare
3,364
Embed Views
20

Actions

Likes
0
Downloads
0
Comments
0

1 Embed 20

http://www.slideshare.net 20

Accessibility

Upload Details

Uploaded via as Microsoft PowerPoint

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

Symbian OS - Multimedia Framework Presentation Transcript

  • 1. Symbian OS
    Multimedia Framework
    v2.0a – 29 April 2008
    1
    Andreas Jakl, 2008
  • 2. Disclaimer
    These slides are provided free of charge at http://www.symbianresources.com and are used during Symbian OS courses at the University of Applied Sciences in Hagenberg, Austria ( http://www.fh-hagenberg.at/ )
    Respecting the copyright laws, you are allowed to use them:
    for your own, personal, non-commercial use
    in the academic environment
    In all other cases (e.g. for commercial training), please contact andreas.jakl@fh-hagenberg.at
    The correctness of the contents of these materials cannot be guaranteed. Andreas Jakl is not liable for incorrect information or damage that may arise from using the materials.
    Parts of these materials are based on information from Symbian Press-books published by John Wiley & Sons, Ltd. This document contains copyright materials which are proprietary to Symbian, UIQ, Nokia and SonyEricsson. “S60™” is a trademark of Nokia. “UIQ™” is a trademark of UIQ Technology. Pictures of mobile phones or applications are copyright their respective manufacturers / developers. “Symbian ™”, “Symbian OS ™” and all other Symbian-based marks and logos are trademarks of Symbian Software Limited and are used under license. © Symbian Software Limited 2006.
    Andreas Jakl, 2008
    2
  • 3. Contents
    Multimedia (mainlybased on S60)
    Audio, Video
    Camera
    … veryshortoverview.
    Andreas Jakl, 2008
    3
  • 4. Multimedia
    Grafik, Sound and Video
    Andreas Jakl, 2008
    4
  • 5. MultiMedia-Framework
    Plug-ins for audio and video
    Integrated support for codecs and formats
    Possibilities:
    Audio: play, record and convert
    Video: play and record
    Tones: play (sine waves, DTMF (Dual Tone Multi-Frequency))
    Streaming Audio: play and record (e.g. web streams)
    Andreas Jakl, 2008
    5
  • 6. MMF Client API
    MMF – Structure
    Andreas Jakl, 2008
    6
    Audio Interface
    Audio Streaming Interface
    Tone Player Interface
    Video Interface
    record, play & convert
    record & play
    streaming audio in & out
    tones & DTMF
    MMF Controller Framework
    DevSound
    Audio controller plugin
    Video controller plugin
    Codec plugins
    Codec plugins
    Codec plugins
  • 7. MMF
    Application communicates with Client-APIs
    Client-APIs use Controller Framework
    Controller Framework = Client/Server interface, provides functionality through plug-in resolver
    Controller Plug-ins provide specific multimedia functionality to the MMF
    Andreas Jakl, 2008
    7
    Controller Plugin
    Data format conversion
    Source(eg. file, microphone, camera)
    Sink(eg. file, speaker, screen)
  • 8. Image Converter Library (ICL)
    Asynchronous conversion of image formats between CFbsBitmap and files / descriptors
    Supports formats through plugins
    Client-App communicates with generic class:
    CImageDecoder (file/descriptor  CFbsBitmap)
    CBufferedImageDecoder (multiple files)
    CImageEncoder (CFbsBitmap file/descriptor)
    File type through file header or specified as parameter
    Andreas Jakl, 2008
    8
  • 9. ICL – Structure
    Andreas Jakl, 2008
    9
    Image encoding
    Image decoding
    File / Descriptor
    ICL
    Pluginresolver
    Picture: Nokia N73
    Plugin
    ECom
    CFbsBitmap
    CFbsBitmap
    ICL
    Plugin
    ICL Component
    File / Descriptor
    External to ICL
  • 10. ICL – Formats
    Andreas Jakl, 2008
    10
  • 11. Vector Graphics
    Scalable UI since S60 2nd Ed., FP3
    Support for SVG-T (Scalable Vector Graphics – Tiny)
    Combination of multiple SVG files in a single .MIF-file (Multi-Image Files)
    similar to .MBM = Multi-Bitmap Files
    Loading and drawing:
    Create icon: AknIconUtils::CreateIconL(…)
    Set size: AknIconUtils::SetSize(…)
    Show: gc.BitBltMasked(…)
    Andreas Jakl, 2008
    11
    S60 menu: vectorgraphics!
  • 12. Camera (in S60)
    Differences depending on Symbian OS SDK (http://www3.symbian.com/faq.nsf/0/AADD2D771E93636A80257233005922B3)
    Requires UserEnvironment-Capability (User-Grantable)
    Interaction through CCamera-Object, Callbacks to object derived from MCameraObserver
    Allows setting parameters (flash, exposure, contrast, zoom, …)
    No camera support in the emulator
    Andreas Jakl, 2008
    12
  • 13. Camera (in S60)
    Camera Capturing (nearlyeverythingisasynchronous!):
    CreateCCamera-Object(no Capabilitydefined: KErrPermissionDenied)
    Reservecamera (CCamera::Reserve())
    Activatecamera (CCamera::PowerOn())
    Settings:format, size, frame rate
    Capturing– Options:
    Single image(s)
    Video
    Viewfinder (Send images to specifiedmemoryregion)
    Andreas Jakl, 2008
    13
  • 14. OCR
    Introduced in S60 3rd Ed., FP1 – engine not yet available in devices
    Supports English, Japanese, Chinese
    Two options:
    Automatic layout analysis
    Manual regions
    Andreas Jakl, 2008
    14
  • 15. Tuner API (Radio)
    Access to radiotunerhardware
    Uses MMF forformatsupport, DevSoundforplaying
    Supports:
    RDS (Radio Data System)
    Playing
    Recording
    Searchingforstations
    Andreas Jakl, 2008
    15
  • 16. … let’s move to the Challenges!
    Try it for your own
    Andreas Jakl, 2008
    16