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
Nov 01, 2014
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
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
\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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
THE TECHNOLOGY SCOUTING PROJECT
!
Inhoudelijke Verdieping ‘MediaMosa en Open webservices’ - Utrecht, 25 Oktober 2010SURFnet. We make innovation work
Monday, October 25, 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
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