the meego multimedia stack - gstreamer...hot topic – video rendering xvideo interface is getting...
TRANSCRIPT
![Page 1: The MeeGo Multimedia Stack - GStreamer...Hot Topic – Video Rendering Xvideo interface is getting old Inherent memcpy Hard to integrate with alpha in Uis Classic GL is not well suited](https://reader036.vdocuments.site/reader036/viewer/2022071210/6021e98702077908ab1c8732/html5/thumbnails/1.jpg)
Dr. Stefan Kost – Nokia - The MeeGo Multimedia Stack - CELF Embedded Linux Conference Europe
The MeeGo Multimedia Stack
![Page 2: The MeeGo Multimedia Stack - GStreamer...Hot Topic – Video Rendering Xvideo interface is getting old Inherent memcpy Hard to integrate with alpha in Uis Classic GL is not well suited](https://reader036.vdocuments.site/reader036/viewer/2022071210/6021e98702077908ab1c8732/html5/thumbnails/2.jpg)
Dr. Stefan Kost – Nokia - The MeeGo Multimedia Stack - CELF Embedded Linux Conference Europe
The MeeGo Multimedia StackMeeGo Intro
Architecture
Development
GStreamer
![Page 3: The MeeGo Multimedia Stack - GStreamer...Hot Topic – Video Rendering Xvideo interface is getting old Inherent memcpy Hard to integrate with alpha in Uis Classic GL is not well suited](https://reader036.vdocuments.site/reader036/viewer/2022071210/6021e98702077908ab1c8732/html5/thumbnails/3.jpg)
Dr. Stefan Kost – Nokia - The MeeGo Multimedia Stack - CELF Embedded Linux Conference Europe
Quick MeeGo Intro● MeeGo = Moblin + Maemo● Linux distribution for CE devices
● Netbook, Phone (Handset), Connected TV, In-Vehicle● http://meego.com● Linux Foundation hosted project
![Page 4: The MeeGo Multimedia Stack - GStreamer...Hot Topic – Video Rendering Xvideo interface is getting old Inherent memcpy Hard to integrate with alpha in Uis Classic GL is not well suited](https://reader036.vdocuments.site/reader036/viewer/2022071210/6021e98702077908ab1c8732/html5/thumbnails/4.jpg)
Dr. Stefan Kost – Nokia - The MeeGo Multimedia Stack - CELF Embedded Linux Conference Europe
Architecturehttp://meego.com/developers/meego-architecture
![Page 5: The MeeGo Multimedia Stack - GStreamer...Hot Topic – Video Rendering Xvideo interface is getting old Inherent memcpy Hard to integrate with alpha in Uis Classic GL is not well suited](https://reader036.vdocuments.site/reader036/viewer/2022071210/6021e98702077908ab1c8732/html5/thumbnails/5.jpg)
Dr. Stefan Kost – Nokia - The MeeGo Multimedia Stack - CELF Embedded Linux Conference Europe
Architecture - Multimedia● Kernel
● V4l2, Alsa● Middleware
● GStreamer, Pulseaudio, GUPnP● API
● Qt, Qt Mobility Multimedia, Qt GStreamer
![Page 6: The MeeGo Multimedia Stack - GStreamer...Hot Topic – Video Rendering Xvideo interface is getting old Inherent memcpy Hard to integrate with alpha in Uis Classic GL is not well suited](https://reader036.vdocuments.site/reader036/viewer/2022071210/6021e98702077908ab1c8732/html5/thumbnails/6.jpg)
Dr. Stefan Kost – Nokia - The MeeGo Multimedia Stack - CELF Embedded Linux Conference Europe
Development● Hardware Adaptation● Core OS Platform● Applications
![Page 7: The MeeGo Multimedia Stack - GStreamer...Hot Topic – Video Rendering Xvideo interface is getting old Inherent memcpy Hard to integrate with alpha in Uis Classic GL is not well suited](https://reader036.vdocuments.site/reader036/viewer/2022071210/6021e98702077908ab1c8732/html5/thumbnails/7.jpg)
Dr. Stefan Kost – Nokia - The MeeGo Multimedia Stack - CELF Embedded Linux Conference Europe
Development – HW Adaptation● Linux Kernel
● Drivers● user space libraries (alsa, v4l2)
● Middleware plugins● GStreamer plugins (Codecs, Camera, Video)
![Page 8: The MeeGo Multimedia Stack - GStreamer...Hot Topic – Video Rendering Xvideo interface is getting old Inherent memcpy Hard to integrate with alpha in Uis Classic GL is not well suited](https://reader036.vdocuments.site/reader036/viewer/2022071210/6021e98702077908ab1c8732/html5/thumbnails/8.jpg)
Dr. Stefan Kost – Nokia - The MeeGo Multimedia Stack - CELF Embedded Linux Conference Europe
Development - Platform● libraries from the Linux eco system● GStreamer, GUPnP, PulseAudio, Xiph codecs, …
![Page 9: The MeeGo Multimedia Stack - GStreamer...Hot Topic – Video Rendering Xvideo interface is getting old Inherent memcpy Hard to integrate with alpha in Uis Classic GL is not well suited](https://reader036.vdocuments.site/reader036/viewer/2022071210/6021e98702077908ab1c8732/html5/thumbnails/9.jpg)
Dr. Stefan Kost – Nokia - The MeeGo Multimedia Stack - CELF Embedded Linux Conference Europe
Development - Applications● QT interfaces are the official one● Lower level interfaces might have less stability
guarantees
![Page 10: The MeeGo Multimedia Stack - GStreamer...Hot Topic – Video Rendering Xvideo interface is getting old Inherent memcpy Hard to integrate with alpha in Uis Classic GL is not well suited](https://reader036.vdocuments.site/reader036/viewer/2022071210/6021e98702077908ab1c8732/html5/thumbnails/10.jpg)
Dr. Stefan Kost – Nokia - The MeeGo Multimedia Stack - CELF Embedded Linux Conference Europe
GStreamer – Use Cases● Media Playback● Voice and Video Call● Camera Still and Video Capture● Video Editing● Media Transcoding● Metadata Indexing and Thumbnailing
![Page 11: The MeeGo Multimedia Stack - GStreamer...Hot Topic – Video Rendering Xvideo interface is getting old Inherent memcpy Hard to integrate with alpha in Uis Classic GL is not well suited](https://reader036.vdocuments.site/reader036/viewer/2022071210/6021e98702077908ab1c8732/html5/thumbnails/11.jpg)
Dr. Stefan Kost – Nokia - The MeeGo Multimedia Stack - CELF Embedded Linux Conference Europe
GStreamer - Framework
![Page 12: The MeeGo Multimedia Stack - GStreamer...Hot Topic – Video Rendering Xvideo interface is getting old Inherent memcpy Hard to integrate with alpha in Uis Classic GL is not well suited](https://reader036.vdocuments.site/reader036/viewer/2022071210/6021e98702077908ab1c8732/html5/thumbnails/12.jpg)
Dr. Stefan Kost – Nokia - The MeeGo Multimedia Stack - CELF Embedded Linux Conference Europe
Media Playback● MeeGo OS:
● GStreamer playbin2● GStreamer components for streaming, parsing,
demuxing and rendering● Vendor specific:
● Hw accelerated codecs
![Page 13: The MeeGo Multimedia Stack - GStreamer...Hot Topic – Video Rendering Xvideo interface is getting old Inherent memcpy Hard to integrate with alpha in Uis Classic GL is not well suited](https://reader036.vdocuments.site/reader036/viewer/2022071210/6021e98702077908ab1c8732/html5/thumbnails/13.jpg)
Dr. Stefan Kost – Nokia - The MeeGo Multimedia Stack - CELF Embedded Linux Conference Europe
VoIP / Video Call● MeeGo OS:
● Telepathy● Lots of GStreamer components
● Vendor specific:● Accelerated voice and video codecs
![Page 14: The MeeGo Multimedia Stack - GStreamer...Hot Topic – Video Rendering Xvideo interface is getting old Inherent memcpy Hard to integrate with alpha in Uis Classic GL is not well suited](https://reader036.vdocuments.site/reader036/viewer/2022071210/6021e98702077908ab1c8732/html5/thumbnails/14.jpg)
Dr. Stefan Kost – Nokia - The MeeGo Multimedia Stack - CELF Embedded Linux Conference Europe
Camera Still and Video capture● MeeGo OS:
● GStreamer camerabin● GStreamer elements for format conversion, metadata
(XMP, EXIF), muxing, data routing● Vendor specific:
● Camera source :/● Accelerated video and image encoders
![Page 15: The MeeGo Multimedia Stack - GStreamer...Hot Topic – Video Rendering Xvideo interface is getting old Inherent memcpy Hard to integrate with alpha in Uis Classic GL is not well suited](https://reader036.vdocuments.site/reader036/viewer/2022071210/6021e98702077908ab1c8732/html5/thumbnails/15.jpg)
Dr. Stefan Kost – Nokia - The MeeGo Multimedia Stack - CELF Embedded Linux Conference Europe
Video Editing● MeeGo OS:
● GStreamer gnonlin● GStreamer components for muxing, demuxing,
format conversion, …● Vendor Specific
● Accelerated codecs
![Page 16: The MeeGo Multimedia Stack - GStreamer...Hot Topic – Video Rendering Xvideo interface is getting old Inherent memcpy Hard to integrate with alpha in Uis Classic GL is not well suited](https://reader036.vdocuments.site/reader036/viewer/2022071210/6021e98702077908ab1c8732/html5/thumbnails/16.jpg)
Dr. Stefan Kost – Nokia - The MeeGo Multimedia Stack - CELF Embedded Linux Conference Europe
Metadata Indexing & Thumbnailing● MeeGo Core OS:
● Tagreadbin (experimental)● GStreamer components for parsing, demuxing
● Vendor specific:● nothing
![Page 17: The MeeGo Multimedia Stack - GStreamer...Hot Topic – Video Rendering Xvideo interface is getting old Inherent memcpy Hard to integrate with alpha in Uis Classic GL is not well suited](https://reader036.vdocuments.site/reader036/viewer/2022071210/6021e98702077908ab1c8732/html5/thumbnails/17.jpg)
Dr. Stefan Kost – Nokia - The MeeGo Multimedia Stack - CELF Embedded Linux Conference Europe
Hot Topics● s/XVideoOverlays/TextureStreaming/ ?● Bitstream passthrough● Camera APIs● Performance optimizations● Accelerated Codecs & Filters● Easy to use high level APIs
![Page 18: The MeeGo Multimedia Stack - GStreamer...Hot Topic – Video Rendering Xvideo interface is getting old Inherent memcpy Hard to integrate with alpha in Uis Classic GL is not well suited](https://reader036.vdocuments.site/reader036/viewer/2022071210/6021e98702077908ab1c8732/html5/thumbnails/18.jpg)
Dr. Stefan Kost – Nokia - The MeeGo Multimedia Stack - CELF Embedded Linux Conference Europe
Hot Topic – Video Rendering● Xvideo interface is getting old
● Inherent memcpy● Hard to integrate with alpha in Uis
● Classic GL is not well suited either● Texture upload● Texture streaming needed
![Page 19: The MeeGo Multimedia Stack - GStreamer...Hot Topic – Video Rendering Xvideo interface is getting old Inherent memcpy Hard to integrate with alpha in Uis Classic GL is not well suited](https://reader036.vdocuments.site/reader036/viewer/2022071210/6021e98702077908ab1c8732/html5/thumbnails/19.jpg)
Dr. Stefan Kost – Nokia - The MeeGo Multimedia Stack - CELF Embedded Linux Conference Europe
Hot Topic – Bitstream passthrough● GStreamer normally renders RAW A/V locally● Remote devices can also decode
● BT Headsets, HDMI TV, SPDIF → Receiver● Initial support in PulseAudio from Intel● GStreamers playbin2 needs work
![Page 20: The MeeGo Multimedia Stack - GStreamer...Hot Topic – Video Rendering Xvideo interface is getting old Inherent memcpy Hard to integrate with alpha in Uis Classic GL is not well suited](https://reader036.vdocuments.site/reader036/viewer/2022071210/6021e98702077908ab1c8732/html5/thumbnails/20.jpg)
Dr. Stefan Kost – Nokia - The MeeGo Multimedia Stack - CELF Embedded Linux Conference Europe
Hot Topic – Camera APIs● Phone cameras != USB webcams● V4l2 needs to abstract features better● Lots of work on GStreamers camerabin(2)
![Page 21: The MeeGo Multimedia Stack - GStreamer...Hot Topic – Video Rendering Xvideo interface is getting old Inherent memcpy Hard to integrate with alpha in Uis Classic GL is not well suited](https://reader036.vdocuments.site/reader036/viewer/2022071210/6021e98702077908ab1c8732/html5/thumbnails/21.jpg)
Dr. Stefan Kost – Nokia - The MeeGo Multimedia Stack - CELF Embedded Linux Conference Europe
Hot Topic - Performance● better performance = longer use time
● camera recording, music/video playback, call● locking is slow on ARM
● overhead for audio part in calls● low memory footprint = more stuff cached
![Page 22: The MeeGo Multimedia Stack - GStreamer...Hot Topic – Video Rendering Xvideo interface is getting old Inherent memcpy Hard to integrate with alpha in Uis Classic GL is not well suited](https://reader036.vdocuments.site/reader036/viewer/2022071210/6021e98702077908ab1c8732/html5/thumbnails/22.jpg)
Dr. Stefan Kost – Nokia - The MeeGo Multimedia Stack - CELF Embedded Linux Conference Europe
Hot Topic – Accelerated Plugins● Software Codecs and Filters● GStreamer uses ORC to enable CPU SIMD use● OpenCL would be interesting for GPU use
![Page 23: The MeeGo Multimedia Stack - GStreamer...Hot Topic – Video Rendering Xvideo interface is getting old Inherent memcpy Hard to integrate with alpha in Uis Classic GL is not well suited](https://reader036.vdocuments.site/reader036/viewer/2022071210/6021e98702077908ab1c8732/html5/thumbnails/23.jpg)
Dr. Stefan Kost – Nokia - The MeeGo Multimedia Stack - CELF Embedded Linux Conference Europe
Hot Topic – Hight Level API● Qt Mobility Multimedia
● Mediaplayer API● Audiocapture API● Camera API
● More feedback needed
http://doc.qt.nokia.com/qtmobility-1.0/multimedia.html
![Page 24: The MeeGo Multimedia Stack - GStreamer...Hot Topic – Video Rendering Xvideo interface is getting old Inherent memcpy Hard to integrate with alpha in Uis Classic GL is not well suited](https://reader036.vdocuments.site/reader036/viewer/2022071210/6021e98702077908ab1c8732/html5/thumbnails/24.jpg)
Dr. Stefan Kost – Nokia - The MeeGo Multimedia Stack - CELF Embedded Linux Conference Europe
Thanks !
Any Questions ?