Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.
Symbian OS<br />Multimedia Framework<br />v2.0a – 29 April 2008<br />1<br />Andreas Jakl, 2008<br />
Disclaimer<br />These slides are provided free of charge at http://www.symbianresources.com and are used during Symbian OS...
Contents<br />Multimedia (mainlybased on S60)<br />Audio, Video<br />Camera<br />… veryshortoverview.<br />Andreas Jakl, 2...
Multimedia<br />Grafik, Sound and Video<br />Andreas Jakl, 2008<br />4<br />
MultiMedia-Framework<br />Plug-ins for audio and video<br />Integrated support for codecs and formats<br />Possibilities:<...
MMF Client API<br />MMF – Structure<br />Andreas Jakl, 2008<br />6<br />Audio Interface<br />Audio Streaming Interface<br ...
MMF<br />Application communicates with Client-APIs<br />Client-APIs use Controller Framework<br />Controller Framework = C...
Image Converter Library (ICL)<br />Asynchronous conversion of image formats between CFbsBitmap and files / descriptors<br ...
ICL – Structure<br />Andreas Jakl, 2008<br />9<br />Image encoding<br />Image decoding<br />File / Descriptor<br />ICL<br ...
ICL – Formats<br />Andreas Jakl, 2008<br />10<br />
Vector Graphics<br />Scalable UI since S60 2nd Ed., FP3<br />Support for SVG-T (Scalable Vector Graphics – Tiny)<br />Comb...
Camera (in S60)<br />Differences depending on Symbian OS SDK (http://www3.symbian.com/faq.nsf/0/AADD2D771E93636A8025723300...
Camera (in S60)<br />Camera Capturing (nearlyeverythingisasynchronous!):<br />CreateCCamera-Object(no Capabilitydefined: K...
OCR<br />Introduced in S60 3rd Ed., FP1 – engine not yet available in devices<br />Supports English, Japanese, Chinese<br ...
Tuner API (Radio)<br />Access to radiotunerhardware<br />Uses MMF forformatsupport, DevSoundforplaying<br />Supports:<br /...
… let’s move to the Challenges!<br />Try it for your own<br />Andreas Jakl, 2008<br />16<br />
Upcoming SlideShare
Loading in …5
×

Symbian OS - Multimedia Framework

2,665 views

Published on

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

  • Be the first to comment

  • Be the first to like this

Symbian OS - Multimedia Framework

  1. 1. Symbian OS<br />Multimedia Framework<br />v2.0a – 29 April 2008<br />1<br />Andreas Jakl, 2008<br />
  2. 2. Disclaimer<br />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/ )<br />Respecting the copyright laws, you are allowed to use them:<br />for your own, personal, non-commercial use<br />in the academic environment<br />In all other cases (e.g. for commercial training), please contact andreas.jakl@fh-hagenberg.at<br />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.<br />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. <br />Andreas Jakl, 2008<br />2<br />
  3. 3. Contents<br />Multimedia (mainlybased on S60)<br />Audio, Video<br />Camera<br />… veryshortoverview.<br />Andreas Jakl, 2008<br />3<br />
  4. 4. Multimedia<br />Grafik, Sound and Video<br />Andreas Jakl, 2008<br />4<br />
  5. 5. MultiMedia-Framework<br />Plug-ins for audio and video<br />Integrated support for codecs and formats<br />Possibilities:<br />Audio: play, record and convert<br />Video: play and record<br />Tones: play (sine waves, DTMF (Dual Tone Multi-Frequency))<br />Streaming Audio: play and record (e.g. web streams)<br />Andreas Jakl, 2008<br />5<br />
  6. 6. MMF Client API<br />MMF – Structure<br />Andreas Jakl, 2008<br />6<br />Audio Interface<br />Audio Streaming Interface<br />Tone Player Interface<br />Video Interface<br />record, play & convert<br />record & play <br />streaming audio in & out<br />tones & DTMF<br />MMF Controller Framework<br />DevSound<br />Audio controller plugin<br />Video controller plugin<br />Codec plugins<br />Codec plugins<br />Codec plugins<br />
  7. 7. MMF<br />Application communicates with Client-APIs<br />Client-APIs use Controller Framework<br />Controller Framework = Client/Server interface, provides functionality through plug-in resolver<br />Controller Plug-ins provide specific multimedia functionality to the MMF<br />Andreas Jakl, 2008<br />7<br />Controller Plugin<br />Data format conversion<br />Source(eg. file, microphone, camera)<br />Sink(eg. file, speaker, screen)<br />
  8. 8. Image Converter Library (ICL)<br />Asynchronous conversion of image formats between CFbsBitmap and files / descriptors<br />Supports formats through plugins<br />Client-App communicates with generic class:<br />CImageDecoder (file/descriptor  CFbsBitmap)<br />CBufferedImageDecoder (multiple files)<br />CImageEncoder (CFbsBitmap file/descriptor)<br />File type through file header or specified as parameter<br />Andreas Jakl, 2008<br />8<br />
  9. 9. ICL – Structure<br />Andreas Jakl, 2008<br />9<br />Image encoding<br />Image decoding<br />File / Descriptor<br />ICL<br />Pluginresolver<br />Picture: Nokia N73<br />Plugin<br />ECom<br />CFbsBitmap<br />CFbsBitmap<br />ICL<br />Plugin<br />ICL Component<br />File / Descriptor<br />External to ICL<br />
  10. 10. ICL – Formats<br />Andreas Jakl, 2008<br />10<br />
  11. 11. Vector Graphics<br />Scalable UI since S60 2nd Ed., FP3<br />Support for SVG-T (Scalable Vector Graphics – Tiny)<br />Combination of multiple SVG files in a single .MIF-file (Multi-Image Files)<br />similar to .MBM = Multi-Bitmap Files<br />Loading and drawing:<br />Create icon: AknIconUtils::CreateIconL(…)<br />Set size: AknIconUtils::SetSize(…)<br />Show: gc.BitBltMasked(…)<br />Andreas Jakl, 2008<br />11<br />S60 menu: vectorgraphics!<br />
  12. 12. Camera (in S60)<br />Differences depending on Symbian OS SDK (http://www3.symbian.com/faq.nsf/0/AADD2D771E93636A80257233005922B3)<br />Requires UserEnvironment-Capability (User-Grantable)<br />Interaction through CCamera-Object, Callbacks to object derived from MCameraObserver<br />Allows setting parameters (flash, exposure, contrast, zoom, …)<br />No camera support in the emulator<br />Andreas Jakl, 2008<br />12<br />
  13. 13. Camera (in S60)<br />Camera Capturing (nearlyeverythingisasynchronous!):<br />CreateCCamera-Object(no Capabilitydefined: KErrPermissionDenied)<br />Reservecamera (CCamera::Reserve())<br />Activatecamera (CCamera::PowerOn())<br />Settings:format, size, frame rate<br />Capturing– Options:<br />Single image(s)<br />Video<br />Viewfinder (Send images to specifiedmemoryregion)<br />Andreas Jakl, 2008<br />13<br />
  14. 14. OCR<br />Introduced in S60 3rd Ed., FP1 – engine not yet available in devices<br />Supports English, Japanese, Chinese<br />Two options:<br />Automatic layout analysis<br />Manual regions<br />Andreas Jakl, 2008<br />14<br />
  15. 15. Tuner API (Radio)<br />Access to radiotunerhardware<br />Uses MMF forformatsupport, DevSoundforplaying<br />Supports:<br />RDS (Radio Data System)<br />Playing<br />Recording<br />Searchingforstations<br />Andreas Jakl, 2008<br />15<br />
  16. 16. … let’s move to the Challenges!<br />Try it for your own<br />Andreas Jakl, 2008<br />16<br />

×