Top Banner
AS Inhoudelijke Verdieping Utrecht, 25 Oktober 2010 MediaMosa and Open Webservices / Open API ` Frans Ward Technical Product Manager SURFnet Advanced Services [email protected] Monday, October 25, 2010
36

MediaMosa and Open Webservices - Utrecht - 25 october 2010

Nov 01, 2014

Download

Technology

MediaMosa

Presentation about MediaMosa and the need for an Open API. Background: the results of the technology scouting projects 'Content in the CLoud' and 'An Open API for MediaMosa'.
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: MediaMosa and Open Webservices - Utrecht - 25 october 2010

AS Inhoudelijke VerdiepingUtrecht, 25 Oktober 2010

MediaMosa and Open Webservices / Open API

`

Frans Ward

Technical Product Manager

SURFnet Advanced [email protected]

Monday, October 25, 2010

Page 2: MediaMosa and Open Webservices - Utrecht - 25 october 2010

MEDIAMOSA AND OPEN WEBSERVICES/APIWHAT IS OPEN?

• Open Source (MediaMosa, FFmpeg)• Open Codecs (h.264, theora, VP8)• Open Media Formats (Mpeg4, ogg, WebM)• Open Standards (HTML 5)• Open Technology (Open API)• Open Content (Creative Commons)• Open Principles (Open Video Alliance)• Open License (Royalty Free vs ‘Forever Free’)

Inhoudelijke Verdieping ‘MediaMosa en Open webservices’ - Utrecht, 25 Oktober 2010SURFnet. We make innovation work

Monday, October 25, 2010

Page 3: MediaMosa and Open Webservices - Utrecht - 25 october 2010

\Inhoudelijke Verdieping ‘MediaMosa en Open webservices’ - Utrecht, 25 Oktober 2010SURFnet. We make innovation work

MEDIAMOSA AND OPEN WEBSERVICES/APIWHAT IS OPEN?

• Open Source (MediaMosa, FFmpeg)• Open Codecs (h.264, theora, VP8)• Open Media Formats (Mpeg4, ogg, WebM)• Open Standards (HTML 5)• Open Technology (Open API)• Open Content (Creative Commons)• Open Principles (Open Video Alliance)• Open License (Royalty Free vs ‘Forever Free’)

Monday, October 25, 2010

Page 4: MediaMosa and Open Webservices - Utrecht - 25 october 2010

OPEN VIDEO PRINCIPLESOPEN VIDEO ALLIANCE

Inhoudelijke Verdieping ‘MediaMosa en Open webservices’ - Utrecht, 25 Oktober 2010SURFnet. We make innovation work

1. Authorship and Viewing

2. Open Standards for Video

3. Open Distribution

4. A Rich, Participatory Culture

5. Civil Liberties and Basic Rights

Monday, October 25, 2010

Page 5: MediaMosa and Open Webservices - Utrecht - 25 october 2010

OPEN VIDEO PRINCIPLESOPEN VIDEO ALLIANCE

1. Authorship and Viewing

2. Open Standards for Video

3. Open Distribution

4. A Rich, Participatory Culture

5. Civil Liberties and Basic Rights

Het creëren, bewerken en afspelen van video zou gemakkelijken toegankelijk moeten zijn, middels gratis en open source

toepassingen.

Inhoudelijke Verdieping ‘MediaMosa en Open webservices’ - Utrecht, 25 Oktober 2010SURFnet. We make innovation work

Monday, October 25, 2010

Page 6: MediaMosa and Open Webservices - Utrecht - 25 october 2010

OPEN VIDEO PRINCIPLESOPEN VIDEO ALLIANCE

1. Authorship and Viewing

2. Open Standards for Video

3. Open Distribution

4. A Rich, Participatory Culture

5. Civil Liberties and Basic Rights

Videostandaarden zouden open, uitwisselbaar en vrij van patenten en royalties moeten zijn.

Inhoudelijke Verdieping ‘MediaMosa en Open webservices’ - Utrecht, 25 Oktober 2010SURFnet. We make innovation work

Monday, October 25, 2010

Page 7: MediaMosa and Open Webservices - Utrecht - 25 october 2010

OPEN VIDEO PRINCIPLESOPEN VIDEO ALLIANCE

1. Authorship and Viewing

2. Open Standards for Video

3. Open Distribution

4. A Rich, Participatory Culture

5. Civil Liberties and Basic Rights

Videoplatformen zouden neutraal moeten opereren en open standaarden en licenties moeten ondersteunen.

Inhoudelijke Verdieping ‘MediaMosa en Open webservices’ - Utrecht, 25 Oktober 2010SURFnet. We make innovation work

Monday, October 25, 2010

Page 8: MediaMosa and Open Webservices - Utrecht - 25 october 2010

OPEN VIDEO PRINCIPLESOPEN VIDEO ALLIANCE

1. Authorship and Viewing

2. Open Standards for Video

3. Open Distribution

4. A Rich, Participatory Culture

5. Civil Liberties and Basic Rights

Wetgeving mag participatiecultuur niet ontmoedigen. Videomateriaal zou beschikbaar en toegankelijk moeten zijn zonder

technologische restricties of andere beperkingen.

Inhoudelijke Verdieping ‘MediaMosa en Open webservices’ - Utrecht, 25 Oktober 2010SURFnet. We make innovation work

Monday, October 25, 2010

Page 9: MediaMosa and Open Webservices - Utrecht - 25 october 2010

OPEN VIDEO PRINCIPLESOPEN VIDEO ALLIANCE

1. Authorship and Viewing

2. Open Standards for Video

3. Open Distribution

4. A Rich, Participatory Culture

5. Civil Liberties and Basic Rights

Mensen hebben het recht op deelname in een democratie, privacy, vrijheid van meningsuiting en distributie van eigen creaties vrij van censuur of beperkende gebruiksvoorwaarden.

Inhoudelijke Verdieping ‘MediaMosa en Open webservices’ - Utrecht, 25 Oktober 2010SURFnet. We make innovation work

Monday, October 25, 2010

Page 10: MediaMosa and Open Webservices - Utrecht - 25 october 2010

OPEN VIDEO CONTENTCREATIVE COMMONS

The user / owner / uploader needs to determine if and which type of CC-license

Inhoudelijke Verdieping ‘MediaMosa en Open webservices’ - Utrecht, 25 Oktober 2010SURFnet. We make innovation work

Monday, October 25, 2010

Page 11: MediaMosa and Open Webservices - Utrecht - 25 october 2010

MEDIAMOSA AND OPEN WEBSERVICESOPEN API

Inhoudelijke Verdieping ‘MediaMosa en Open webservices’ - Utrecht, 25 Oktober 2010SURFnet. We make innovation work

A new API for MediaMosa

MediaMosa Technology Scouts

Monday, October 25, 2010

Page 12: MediaMosa and Open Webservices - Utrecht - 25 october 2010

MEDIAMOSA AND OPEN WEBSERVICESOPEN API

Inhoudelijke Verdieping ‘MediaMosa en Open webservices’ - Utrecht, 25 Oktober 2010SURFnet. We make innovation work

MediaMosa Architecture

Monday, October 25, 2010

Page 13: MediaMosa and Open Webservices - Utrecht - 25 october 2010

MEDIAMOSA AND OPEN WEBSERVICESOPEN API

Inhoudelijke Verdieping ‘MediaMosa en Open webservices’ - Utrecht, 25 Oktober 2010SURFnet. We make innovation work

Why build new webservices?We already have them!

Monday, October 25, 2010

Page 14: MediaMosa and Open Webservices - Utrecht - 25 october 2010

MEDIAMOSA AND OPEN WEBSERVICESOPEN API

Inhoudelijke Verdieping ‘MediaMosa en Open webservices’ - Utrecht, 25 Oktober 2010SURFnet. We make innovation work

Indeed, we need to build additional functionalities!

Monday, October 25, 2010

Page 15: MediaMosa and Open Webservices - Utrecht - 25 october 2010

MEDIAMOSA AND OPEN WEBSERVICESOPEN API

Inhoudelijke Verdieping ‘MediaMosa en Open webservices’ - Utrecht, 25 Oktober 2010SURFnet. We make innovation work

•Compare Architectures •Build on layer 4

because there the Web Apps and Mashups connect to...

New functionalities, because...?

Monday, October 25, 2010

Page 16: MediaMosa and Open Webservices - Utrecht - 25 october 2010

MEDIAMOSA AND OPEN WEBSERVICESOPEN API

Inhoudelijke Verdieping ‘MediaMosa en Open webservices’ - Utrecht, 25 Oktober 2010SURFnet. We make innovation work

It’s all about functionalities....

Compare this with an End User Application with some special characteristics: • this EUA only has an API interface• this EGA can access all data (like the admin interface),

but is open• In combination with oAuth also for not open data

Monday, October 25, 2010

Page 17: MediaMosa and Open Webservices - Utrecht - 25 october 2010

MEDIAMOSA AND OPEN WEBSERVICESOPEN API

Inhoudelijke Verdieping ‘MediaMosa en Open webservices’ - Utrecht, 25 Oktober 2010SURFnet. We make innovation work

!"#$"%&'("$)

*+,-+."./".)

01/1) 01/1)

2"0'12+$1)

34.(5+.16'/"'/".)

-%"$"./15")789)

:11;)<)

:11;)=)

:11;)>)

:11;)?)

:11;)@)

MediaMosa now

Monday, October 25, 2010

Page 18: MediaMosa and Open Webservices - Utrecht - 25 october 2010

MEDIAMOSA AND OPEN WEBSERVICESOPEN API

!"#$"%&'("$)

*+,-+."./".)

01/1) 01/1)

2"0'12+$1)

34.(5+.16'/"'/".)

-%"$"./15")

789)

:11;)<)

:11;)=)

:11;)>)

:11;)?)

:11;)@)

A-".)9-')

Inhoudelijke Verdieping ‘MediaMosa en Open webservices’ - Utrecht, 25 Oktober 2010SURFnet. We make innovation work

MediaMosa in the future

Monday, October 25, 2010

Page 19: MediaMosa and Open Webservices - Utrecht - 25 october 2010

MEDIAMOSA AND OPEN WEBSERVICESOPEN API

!"#$"%&'("$)

*+,-+."./".)

01/1) 01/1)

2"0'12+$1)

34.(5+.16'/"'/".)

-%"$"./15")

789)

:11;)<)

:11;)=)

:11;)>)

:11;)?)

:11;)@)

A-".)9-')

Inhoudelijke Verdieping ‘MediaMosa en Open webservices’ - Utrecht, 25 Oktober 2010SURFnet. We make innovation work

MediaMosa in the futureThe MediaMosa Open API can be compared to an end user application (EUA) with some specific features:

• The Open API will give you easy access to data stored in MediaMosa.

• The Open API has a webinterface only and no user interface.

• The Open API delivers results in a generic format (ATOM / Json) to make it easy to use in an learning environment or mashup platform.

Monday, October 25, 2010

Page 20: MediaMosa and Open Webservices - Utrecht - 25 october 2010

MEDIAMOSA AND OPEN WEBSERVICESOPEN API

Inhoudelijke Verdieping ‘MediaMosa en Open webservices’ - Utrecht, 25 Oktober 2010SURFnet. We make innovation work

Which API (TS: OW1)?

• Making content available‣ Search API‣ Feed API

• Generic presentation‣ Atom

Atom Format: http://www.rfc-editor.org/rfc/rfc4287.txtPublishing protocol: http://www.rfc-editor.org/rfc/rfc5023.txt

‣ Json

• ExamplesGoogle data API: http://code.google.com/intl/nl/apis/gdata/Twitter : http://apiwiki.twitter.com/Twitter-API-Documentation

Monday, October 25, 2010

Page 21: MediaMosa and Open Webservices - Utrecht - 25 october 2010

MEDIAMOSA AND OPEN WEBSERVICESOPEN API

Inhoudelijke Verdieping ‘MediaMosa en Open webservices’ - Utrecht, 25 Oktober 2010SURFnet. We make innovation work

Mashup Platform (TS: OW2)?• Additional data to enrich video

‣ Wikipedia‣ Twitter‣ Flickr ‣ …

• Mashup ExamplesMashup platforms: http://blogs.zdnet.com/

Hinchcliffe/?p=111 Dapper: http://www.dapper.net/dapperDemo/

• Build your own web apps or widgets

‣ needs further investigation....

Monday, October 25, 2010

Page 22: MediaMosa and Open Webservices - Utrecht - 25 october 2010

MEDIAMOSA AND OPEN WEBSERVICESOPEN API

Inhoudelijke Verdieping ‘MediaMosa en Open webservices’ - Utrecht, 25 Oktober 2010SURFnet. We make innovation work

Communicatie via Atom API (option 1)

EGA

Let the Atom API’s communicate with each other.

Monday, October 25, 2010

Page 23: MediaMosa and Open Webservices - Utrecht - 25 october 2010

MEDIAMOSA AND OPEN WEBSERVICESOPEN API

Inhoudelijke Verdieping ‘MediaMosa en Open webservices’ - Utrecht, 25 Oktober 2010SURFnet. We make innovation work

Communicatie via Mashup (option 2)

EGA

or use a mashup site to combine (MediaMosa) data

Monday, October 25, 2010

Page 24: MediaMosa and Open Webservices - Utrecht - 25 october 2010

Inhoudelijke Verdieping ‘MediaMosa en Open webservices’ - Utrecht, 25 Oktober 2010SURFnet. We make innovation work

MEDIAMOSA AND OPEN WEBSERVICES

TS ‘Content in the Cloud’

Goal: 1. to provide an open

interface for sharing data stored in an MediaMosa environment or MediaMosa Cloud

2. to consume data from other open platforms and to integrate this in MediaMosa

Monday, October 25, 2010

Page 25: MediaMosa and Open Webservices - Utrecht - 25 october 2010

Inhoudelijke Verdieping ‘MediaMosa en Open webservices’ - Utrecht, 25 Oktober 2010SURFnet. We make innovation work

MEDIAMOSA AND OPEN WEBSERVICES

A Mashup cluster that utilizes the Open API’s of a MediaMosa cloud.

Need to have knowledge about other MediaMosa instances!

Monday, October 25, 2010

Page 26: MediaMosa and Open Webservices - Utrecht - 25 october 2010

Inhoudelijke Verdieping ‘MediaMosa en Open webservices’ - Utrecht, 25 Oktober 2010SURFnet. We make innovation work

MEDIAMOSA AND OPEN WEBSERVICESAn Open API cluster where a central

MediaMosa repository knows what other MediaMosa instances are around.

Monday, October 25, 2010

Page 27: MediaMosa and Open Webservices - Utrecht - 25 october 2010

MEDIAMOSA AND OPEN WEBSERVICES

!"#$%!&'%()%*%(+,%(-(

)%*%(+,%(.(

+,%(-(

/01(

/2"3(041(

'2"5$%6"(5&66"57"(

Open Content per EUAOpen API comparable with OAI

No need for access rules

Inhoudelijke Verdieping ‘MediaMosa en Open webservices’ - Utrecht, 25 Oktober 2010SURFnet. We make innovation work

Monday, October 25, 2010

Page 28: MediaMosa and Open Webservices - Utrecht - 25 october 2010

MEDIAMOSA AND OPEN WEBSERVICES

!"#$%!&'%()%*%(+,%(-(

)%*%(+,%(.(

+,%(-(

/01(

/2"3(041(

'2"5$%6"(5&66"57"(

Special Content Collections (Academia)

Need access rules

Inhoudelijke Verdieping ‘MediaMosa en Open webservices’ - Utrecht, 25 Oktober 2010SURFnet. We make innovation work

Monday, October 25, 2010

Page 29: MediaMosa and Open Webservices - Utrecht - 25 october 2010

MEDIAMOSA AND OPEN WEBSERVICES

!"#$%!&'%()%*%(+,%(-(

)%*%(+,%(.(

+,%(-(

/01(

/2"3(041(

'2"5$%6"(5&66"57"(

Open API for all open content

Needs to know which data is open

Inhoudelijke Verdieping ‘MediaMosa en Open webservices’ - Utrecht, 25 Oktober 2010SURFnet. We make innovation work

Monday, October 25, 2010

Page 30: MediaMosa and Open Webservices - Utrecht - 25 october 2010

MEDIAMOSA AND OPEN WEBSERVICESOPEN CONTENT VS ENDUSER-APPLICATION CONTENT

MediaMosa content can always be presented using the enduser application

➡ Additional using an Open API

➡ Open content: most likely content which is freely available (not protected)

➡ If protected: use oAuth to supply content using the Open API

Inhoudelijke Verdieping ‘MediaMosa en Open webservices’ - Utrecht, 25 Oktober 2010SURFnet. We make innovation work

Monday, October 25, 2010

Page 31: MediaMosa and Open Webservices - Utrecht - 25 october 2010

MEDIAMOSA AND OPEN WEBSERVICESOAUTH

• OAuth is an open authorization standard for APIs that does away with

logins and passwords to grant authorization to a third-party.

OAuth is an open protocol to allow secure API authorization in a simple and standard method from desktop and web

applications.

http://oauth.net/

OAuth uses three parties: client uses web service at server on behalf of userclient = mashup, server = MediaMosa open API, user = owner of video

...and a forth party: SURFfederation (authentication infrastructure)

Inhoudelijke Verdieping ‘MediaMosa en Open webservices’ - Utrecht, 25 Oktober 2010SURFnet. We make innovation work

Monday, October 25, 2010

Page 32: MediaMosa and Open Webservices - Utrecht - 25 october 2010

MEDIAMOSA AND OPEN WEBSERVICESOPEN API

API (REST) -> video/save -> video/list -> video/x/update -> video/x/delete

=> Which specs to use here? CMIS... very heavy for video only?=> There is no open standard for handling video this way.Compare the OpenSocial specs. which is a common standard.

= > CAN WE USE THE OPENSOCIAL SPECS FOR VIDEO?

Inhoudelijke Verdieping ‘MediaMosa en Open webservices’ - Utrecht, 25 Oktober 2010SURFnet. We make innovation work

Protocol = HTTP(when not only open content then use oAuth for screened/protected content in addition.)

Data format = AtomPub=> <XML> <Title>....</> ... ... <extention> .. </extention> </XML>

Monday, October 25, 2010

Page 33: MediaMosa and Open Webservices - Utrecht - 25 october 2010

THE OPEN API IN RELATION WITH TS MEDIAMOSA-MATTERHORN

Inhoudelijke Verdieping ‘MediaMosa en Open webservices’ - Utrecht, 25 Oktober 2010SURFnet. We make innovation work

Monday, October 25, 2010

Page 34: MediaMosa and Open Webservices - Utrecht - 25 october 2010

THE TECHNOLOGY SCOUTING PROJECT

!

Inhoudelijke Verdieping ‘MediaMosa en Open webservices’ - Utrecht, 25 Oktober 2010SURFnet. We make innovation work

Monday, October 25, 2010

Page 35: MediaMosa and Open Webservices - Utrecht - 25 october 2010

THE TECHNOLOGY SCOUTING PROJECT

!

WORK IN PROGRESS

Inhoudelijke Verdieping ‘MediaMosa en Open webservices’ - Utrecht, 25 Oktober 2010SURFnet. We make innovation work

Monday, October 25, 2010

Page 36: MediaMosa and Open Webservices - Utrecht - 25 october 2010

MEDIAMOSA AND OPEN WEBSERVICESPROOF OF CONCEPTS

DEMO:http://api.mediamosa.surfnet.nl/

Inhoudelijke Verdieping ‘MediaMosa en Open webservices’ - Utrecht, 25 Oktober 2010SURFnet. We make innovation work

Monday, October 25, 2010