grilo: integration of multimedia contents in applications made easy (fosdem 2011)

21
static void _f_do_barnacle_install_properties(GObjectClass *gobject_class) { GParamSpec *pspec; /* Party code attribute */ pspec = g_param_spec_uint64 (F_DO_BARNACLE_CODE, "Barnacle code.", "Barnacle code", 0, G_MAXUINT64, G_MAXUINT64 /* default value */, G_PARAM_READABLE | G_PARAM_WRITABLE | G_PARAM_PRIVATE); g_object_class_install_property (gobject_class, F_DO_BARNACLE_PROP_CODE, Joaquim Rocha [email protected] Grilo: Integration of Multimedia Contents in Applications Made Easy FOSDEM 2011

Upload: igalia

Post on 04-Dec-2014

185 views

Category:

Technology


0 download

DESCRIPTION

By Joaquim Rocha. YouTube, Shoutcast, Last.fm or Jamendo are just some examples of the number of existing services offering media content nowadays. Users are now getting used to having these services available also from their usual applications. Unfortunately, to integrating these services in an application developers need to learn new technologies, with different APIs and protocols which means they end up writing specific solutions and replicating a lot of work. Grilo was created to solve this problem by providing a framework that abstracts the way to access media services and hides their specifications from developers. This minimizes the effort to integrate such services in applications letting the developers focus on their applications rather than in the services. In this talk, I will introduce Grilo, the problem it solves, the services it integrates so far, and give an overview of how to use Grilo in applications. If time allows, I will also show how a Grilo plugin looks like.

TRANSCRIPT

static void_f_do_barnacle_install_properties(GObjectClass

*gobject_class){

GParamSpec *pspec;

/* Party code attribute */ pspec = g_param_spec_uint64

(F_DO_BARNACLE_CODE, "Barnacle code.", "Barnacle code",

0, G_MAXUINT64,

G_MAXUINT64 /* default value */,

G_PARAM_READABLE | G_PARAM_WRITABLE |

G_PARAM_PRIVATE);

g_object_class_install_property (gobject_class,

F_DO_BARNACLE_PROP_CODE,

Joaquim [email protected]

Grilo:Integration of Multimedia Contents in ApplicationsMade Easy

FOSDEM 2011

Joaquim Rocha (Igalia) · OCRFeeder · FOSDEM 2010

Nowadays there is amultimedia avalanche...

Joaquim Rocha (Igalia) · OCRFeeder · FOSDEM 2010

Joaquim Rocha (Igalia) · OCRFeeder · FOSDEM 2010

Joaquim Rocha (Igalia) · OCRFeeder · FOSDEM 2010

Challenges inMedia Integration:

* Homogeneous, integrated UX* Easy to use

* Service scalability* Decrease development and

maintenance effort

Joaquim Rocha (Igalia) · OCRFeeder · FOSDEM 2010

Creative Commons photo by hafizismail.comhttp://www.flickr.com/photos/freakdiver/1726189846

It should be a piece of cake...

Joaquim Rocha (Igalia) · OCRFeeder · FOSDEM 2010

Problems: Lots of...* heterogeneous services

* APIs and protocols* technologies

Joaquim Rocha (Igalia) · OCRFeeder · FOSDEM 2010

leading to:* Individual efforts

* In-house/ad-hoc solutions* Slow development

* Not scalable* Expensive maintenance

Joaquim Rocha (Igalia) · OCRFeeder · FOSDEM 2010

You need something more effective...

Creative Commons photo by inezzyhttp://www.flickr.com/photos/definite_yes/4854174192/

Joaquim Rocha (Igalia) · OCRFeeder · FOSDEM 2010

Our proposal:* Platform level solution for accessing media contents

*Stop reinventing the wheel, start reusing code

* Stop splitting efforts, collaborate!

Joaquim Rocha (Igalia) · OCRFeeder · FOSDEM 2010

The benefits:* Reduce and share maintenance

effort* Faster development

* Scalability* Seamless support for more

services

Joaquim Rocha (Igalia) · OCRFeeder · FOSDEM 2010

Creative Commons photo by Danforth1http://www.flickr.com/photos/reneenmagda/1424990010

Meet Grilo!

Joaquim Rocha (Igalia) · OCRFeeder · FOSDEM 2010

Overview:* Framework to access easily to multimedia content

* Provides a single API to access media content* Hides differences in media services (APIs,

protocols, technologies, limitations, ...)* Developers write their solution once and it works

with all services supported by Grilo

Joaquim Rocha (Igalia) · OCRFeeder · FOSDEM 2010

Creative Commons photo by Eric J. Lubbershttp://www.flickr.com/photos/ericjlubbers/3408982736

Grilo is NOT a media player!

Joaquim Rocha (Igalia) · OCRFeeder · FOSDEM 2010

Joaquim Rocha (Igalia) · OCRFeeder · FOSDEM 2010

Demo

Joaquim Rocha (Igalia) · OCRFeeder · FOSDEM 2010

Grilo for app developers

Joaquim Rocha (Igalia) · OCRFeeder · FOSDEM 2010

Grilo plugins development

Joaquim Rocha (Igalia) · OCRFeeder · FOSDEM 2010

Resources:Wiki:

http://live.gnome.org/GriloGit:

git://git.gnome.org/grilogit://git.gnome.org/grilo-plugins

IRC:#grilo @ GIMPNet

Mailing list:http://mail.gnome.org/mailman/listinfo/grilo-list

Bugzilla:http://bugzilla.gnome.org (Category: Other, Product: Grilo)

Joaquim Rocha (Igalia) · OCRFeeder · FOSDEM 2010

Webpage:http://live.gnome.org/OCRFeeder

git:http://git.gnome.org/ocrfeeder

Bugzilla:coming soon...

Joaquim Rocha (Igalia) · OCRFeeder · FOSDEM 2010

Thank you!