1 surfmedia & surfmedia core - terena · 2009-02-02 · media management and distribution...

39
Media Management and Distribution Workshop - Zurich, January 29, 2009 SURFnet, Pioneering Network for Higher Education and Research SURFmedia & SURFmedia Core Platform, Architecture and Features Frans Ward [email protected] 1 A full featured video platform for students, teachers and educational institutions to use in everyday educational environments Alexander Blanc [email protected] Friday, January 30, 2009

Upload: others

Post on 19-Apr-2020

1 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: 1 SURFmedia & SURFmedia Core - TERENA · 2009-02-02 · Media Management and Distribution Workshop - Zurich, January 29, 2009 SURFnet, Pioneering Network for Higher Education and

Media Management and Distribution Workshop - Zurich, January 29, 2009SURFnet, Pioneering Network for Higher Education and Research

SURFmedia & SURFmedia CorePlatform, Architecture and Features

Frans [email protected]

1

A full featured video platform for students, teachers and educational institutions to use in

everyday educational environments

Alexander [email protected]

Friday, January 30, 2009

Page 2: 1 SURFmedia & SURFmedia Core - TERENA · 2009-02-02 · Media Management and Distribution Workshop - Zurich, January 29, 2009 SURFnet, Pioneering Network for Higher Education and

AgendaAbout SURFnet - Organization & Services

SURFmedia- History- Architecture- Services & Features

SURFmedia Core- Introduction- Rest & Webservices- Main Features

Questions

2

Media Management and Distribution Workshop - Zurich, January 29, 2009SURFnet, Pioneering Network for Higher Education and Research

Friday, January 30, 2009

Page 3: 1 SURFmedia & SURFmedia Core - TERENA · 2009-02-02 · Media Management and Distribution Workshop - Zurich, January 29, 2009 SURFnet, Pioneering Network for Higher Education and

SURFnetDutch National Research and Educational Network

Connects over 180 educational and research institutions over IP (1 & 10 GB/s dark fiber lightpaths)

Connects internationally with Geant2, GLIF, GLORIAD

Approximately 1 million users (scientists, teachers and students)

3

Media Management and Distribution Workshop - Zurich, January 29, 2009SURFnet, Pioneering Network for Higher Education and Research

Friday, January 30, 2009

Page 4: 1 SURFmedia & SURFmedia Core - TERENA · 2009-02-02 · Media Management and Distribution Workshop - Zurich, January 29, 2009 SURFnet, Pioneering Network for Higher Education and

Services 4

Media Management and Distribution Workshop - Zurich, January 29, 2009SURFnet, Pioneering Network for Higher Education and Research

Network infrastructure

Friday, January 30, 2009

Page 5: 1 SURFmedia & SURFmedia Core - TERENA · 2009-02-02 · Media Management and Distribution Workshop - Zurich, January 29, 2009 SURFnet, Pioneering Network for Higher Education and

Services 4

Media Management and Distribution Workshop - Zurich, January 29, 2009SURFnet, Pioneering Network for Higher Education and Research

Help & Support

Network infrastructure

Authentication & Authorization

Security

Group CommunicationDocument Sharing, VideoConferencing, maillists

Multimedia DistributionOn demand & Live A/V

Friday, January 30, 2009

Page 6: 1 SURFmedia & SURFmedia Core - TERENA · 2009-02-02 · Media Management and Distribution Workshop - Zurich, January 29, 2009 SURFnet, Pioneering Network for Higher Education and

5

Media Management and Distribution Workshop - Zurich, January 29, 2009SURFnet, Pioneering Network for Higher Education and Research

1998 Audio & Video hosting service

2003 SURFnet Video Portal

SURFnet-TV Live Netcasting

2007 Start of design new generation video services Existing platform ‘end of life’ Demand for new features Integration of services

MultiMedia Distribution

Friday, January 30, 2009

Page 7: 1 SURFmedia & SURFmedia Core - TERENA · 2009-02-02 · Media Management and Distribution Workshop - Zurich, January 29, 2009 SURFnet, Pioneering Network for Higher Education and

5

Media Management and Distribution Workshop - Zurich, January 29, 2009SURFnet, Pioneering Network for Higher Education and Research

1998 Audio & Video hosting service

2003 SURFnet Video Portal

SURFnet-TV Live Netcasting

2007 Start of design new generation video services Existing platform ‘end of life’ Demand for new features Integration of services

MultiMedia Distribution

Friday, January 30, 2009

Page 8: 1 SURFmedia & SURFmedia Core - TERENA · 2009-02-02 · Media Management and Distribution Workshop - Zurich, January 29, 2009 SURFnet, Pioneering Network for Higher Education and

6

Media Management and Distribution Workshop - Zurich, January 29, 2009SURFnet, Pioneering Network for Higher Education and Research

SURFmedia & SURFmedia CoreGUI: end user interface

Business logic: interface offered functionality

Services: connects business logic with components

Components: implementation of the services

Data: stored data

Friday, January 30, 2009

Page 9: 1 SURFmedia & SURFmedia Core - TERENA · 2009-02-02 · Media Management and Distribution Workshop - Zurich, January 29, 2009 SURFnet, Pioneering Network for Higher Education and

6

Media Management and Distribution Workshop - Zurich, January 29, 2009SURFnet, Pioneering Network for Higher Education and Research

SURFmedia & SURFmedia CoreGUI: end user interface

Business logic: interface offered functionality

Services: connects business logic with components

Components: implementation of the services

Data: stored data

SURFmedia

SURFmediaCore

Friday, January 30, 2009

Page 10: 1 SURFmedia & SURFmedia Core - TERENA · 2009-02-02 · Media Management and Distribution Workshop - Zurich, January 29, 2009 SURFnet, Pioneering Network for Higher Education and

SURFmedia 7

Media Management and Distribution Workshop - Zurich, January 29, 2009SURFnet, Pioneering Network for Higher Education and Research

Friday, January 30, 2009

Page 11: 1 SURFmedia & SURFmedia Core - TERENA · 2009-02-02 · Media Management and Distribution Workshop - Zurich, January 29, 2009 SURFnet, Pioneering Network for Higher Education and

SURFmedia 7

Media Management and Distribution Workshop - Zurich, January 29, 2009SURFnet, Pioneering Network for Higher Education and Research

Features

Federated Authentication, SURFnet guest idp

1GB free storage

Advanced Authorization (domain and user based)

Tagging, reviewing, rating

Screenshots & preview videos

WindowsMedia, MP4 (H.264) & Flash

Streaming & download (+RSS = VodCast)

Integration on-demand & live services

Friday, January 30, 2009

Page 12: 1 SURFmedia & SURFmedia Core - TERENA · 2009-02-02 · Media Management and Distribution Workshop - Zurich, January 29, 2009 SURFnet, Pioneering Network for Higher Education and

Interface8

Media Management and Distribution Workshop - Zurich, January 29, 2009SURFnet, Pioneering Network for Higher Education and Research

Friday, January 30, 2009

Page 13: 1 SURFmedia & SURFmedia Core - TERENA · 2009-02-02 · Media Management and Distribution Workshop - Zurich, January 29, 2009 SURFnet, Pioneering Network for Higher Education and

Interface8

Media Management and Distribution Workshop - Zurich, January 29, 2009SURFnet, Pioneering Network for Higher Education and Research

Friday, January 30, 2009

Page 14: 1 SURFmedia & SURFmedia Core - TERENA · 2009-02-02 · Media Management and Distribution Workshop - Zurich, January 29, 2009 SURFnet, Pioneering Network for Higher Education and

Federated authentication

9

Media Management and Distribution Workshop - Zurich, January 29, 2009SURFnet, Pioneering Network for Higher Education and Research

Friday, January 30, 2009

Page 15: 1 SURFmedia & SURFmedia Core - TERENA · 2009-02-02 · Media Management and Distribution Workshop - Zurich, January 29, 2009 SURFnet, Pioneering Network for Higher Education and

Web 2.010

Media Management and Distribution Workshop - Zurich, January 29, 2009SURFnet, Pioneering Network for Higher Education and Research

Friday, January 30, 2009

Page 16: 1 SURFmedia & SURFmedia Core - TERENA · 2009-02-02 · Media Management and Distribution Workshop - Zurich, January 29, 2009 SURFnet, Pioneering Network for Higher Education and

Virtual Cutter11

Media Management and Distribution Workshop - Zurich, January 29, 2009SURFnet, Pioneering Network for Higher Education and Research

Friday, January 30, 2009

Page 17: 1 SURFmedia & SURFmedia Core - TERENA · 2009-02-02 · Media Management and Distribution Workshop - Zurich, January 29, 2009 SURFnet, Pioneering Network for Higher Education and

Personal environment12

Media Management and Distribution Workshop - Zurich, January 29, 2009SURFnet, Pioneering Network for Higher Education and Research

Friday, January 30, 2009

Page 18: 1 SURFmedia & SURFmedia Core - TERENA · 2009-02-02 · Media Management and Distribution Workshop - Zurich, January 29, 2009 SURFnet, Pioneering Network for Higher Education and

Facts and Figures 13

Media Management and Distribution Workshop - Zurich, January 29, 2009SURFnet, Pioneering Network for Higher Education and Research

+/- 8.000 accounts

+/- 42.000 assets

+/- 500.000 requested streams per month

Content suppliers

Friday, January 30, 2009

Page 19: 1 SURFmedia & SURFmedia Core - TERENA · 2009-02-02 · Media Management and Distribution Workshop - Zurich, January 29, 2009 SURFnet, Pioneering Network for Higher Education and

Roadmap14

Media Management and Distribution Workshop - Zurich, January 29, 2009SURFnet, Pioneering Network for Higher Education and Research

Regular release management(now working on SURFmedia 2.0)

Adding functionality

Integration Group Communication Services

Integration Rich Media functionality

Adding live streaming workflow

Friday, January 30, 2009

Page 20: 1 SURFmedia & SURFmedia Core - TERENA · 2009-02-02 · Media Management and Distribution Workshop - Zurich, January 29, 2009 SURFnet, Pioneering Network for Higher Education and

Why use SURFmedia?15

Media Management and Distribution Workshop - Zurich, January 29, 2009SURFnet, Pioneering Network for Higher Education and Research

Federation based authentication & authorization

Focus on Research and Education

Advanced search and find functionality High quality and multi format video

Combination and integration with other end-user services

Optimal ease of use

Connecting via webservices (back-end)

Friday, January 30, 2009

Page 21: 1 SURFmedia & SURFmedia Core - TERENA · 2009-02-02 · Media Management and Distribution Workshop - Zurich, January 29, 2009 SURFnet, Pioneering Network for Higher Education and

Media Management and Distribution Workshop - Zurich, January 29, 2009SURFnet, Pioneering Network for Higher Education and Research

SURFmedia CoreArchitecture and Features

16

A webservice oriented platform for third party content delivery

A.k.a VP-X and VP-Core

Friday, January 30, 2009

Page 22: 1 SURFmedia & SURFmedia Core - TERENA · 2009-02-02 · Media Management and Distribution Workshop - Zurich, January 29, 2009 SURFnet, Pioneering Network for Higher Education and

Media Management and Distribution Workshop - Zurich, January 29, 2009SURFnet, Pioneering Network for Higher Education and Research

17

SURFmedia CoreOverview

• SMC is a Middleware Media Platform which allows institutions to connect to with their own applications.

• SMC facilitates access to, and usage of (shared) storage capacity, metadata databases, transcoding- and streaming servers of SURFnet.

• SMC offers functionality for searching, playing, uploading, transcoding, as well as a fine granularity media access control system towards its users.

Friday, January 30, 2009

Page 23: 1 SURFmedia & SURFmedia Core - TERENA · 2009-02-02 · Media Management and Distribution Workshop - Zurich, January 29, 2009 SURFnet, Pioneering Network for Higher Education and

Media Management and Distribution Workshop - Zurich, January 29, 2009SURFnet, Pioneering Network for Higher Education and Research

17

SURFmedia CoreOverview

• SMC is a Middleware Media Platform which allows institutions to connect to with their own applications.

• SMC facilitates access to, and usage of (shared) storage capacity, metadata databases, transcoding- and streaming servers of SURFnet.

• SMC offers functionality for searching, playing, uploading, transcoding, as well as a fine granularity media access control system towards its users.

Friday, January 30, 2009

Page 24: 1 SURFmedia & SURFmedia Core - TERENA · 2009-02-02 · Media Management and Distribution Workshop - Zurich, January 29, 2009 SURFnet, Pioneering Network for Higher Education and

Media Management and Distribution Workshop - Zurich, January 29, 2009SURFnet, Pioneering Network for Higher Education and Research

18

SURFmedia Core

• Asset Metadata Scheme is expandable and customizable. Included is DC, QDC, LOM & CZP

• Automated Transcoding services using Open Source FFmpeg: for common formats(Flash / WMV / H.264)

• Index publishing / harvesting with OAI/PMH

• Search services: from simple text search to complex search queries using CQL level 2

• Automated Stills generation

• Open Source Licensing Using Open Source Toolset

Highlights

Friday, January 30, 2009

Page 25: 1 SURFmedia & SURFmedia Core - TERENA · 2009-02-02 · Media Management and Distribution Workshop - Zurich, January 29, 2009 SURFnet, Pioneering Network for Higher Education and

Media Management and Distribution Workshop - Zurich, January 29, 2009SURFnet, Pioneering Network for Higher Education and Research

19

SURFmedia CoreStatus

Today: Release 1.4

Current developments• Preparing for Open Source

(Real Soon Now™). http://www.vpcore.nl/

• Pilot with SURFnet customers

Future developments: • Integration of Live Streaming• Support for multiple storage

solutions• Rich Media support

Friday, January 30, 2009

Page 26: 1 SURFmedia & SURFmedia Core - TERENA · 2009-02-02 · Media Management and Distribution Workshop - Zurich, January 29, 2009 SURFnet, Pioneering Network for Higher Education and

Media Management and Distribution Workshop - Zurich, January 29, 2009SURFnet, Pioneering Network for Higher Education and Research

19

SURFmedia CoreStatus

Today: Release 1.4

Current developments• Preparing for Open Source

(Real Soon Now™). http://www.vpcore.nl/

• Pilot with SURFnet customers

Future developments: • Integration of Live Streaming• Support for multiple storage

solutions• Rich Media support

But still work in Progress!

Friday, January 30, 2009

Page 27: 1 SURFmedia & SURFmedia Core - TERENA · 2009-02-02 · Media Management and Distribution Workshop - Zurich, January 29, 2009 SURFnet, Pioneering Network for Higher Education and

Media Management and Distribution Workshop - Zurich, January 29, 2009SURFnet, Pioneering Network for Higher Education and Research

20

Architecture

• Service Oriented Architecture (SOA)

• REST on the outside, REST on the inside

• Scalability, Redundancy, High Availability

• Drupal based SMC Management Applications:✓ SMC Administration Tool✓ Provider Application✓ White Label EGA

Friday, January 30, 2009

Page 28: 1 SURFmedia & SURFmedia Core - TERENA · 2009-02-02 · Media Management and Distribution Workshop - Zurich, January 29, 2009 SURFnet, Pioneering Network for Higher Education and

RESTRepresentational State Transfer

• All interactions (messages) with the SURFmedia Core platform are done with REST-calls.

• REST strictly refers to a collection of network architecture principles which outline how resources are defined and addressed.

• REST is a Client-server, Stateless, Cacheable and Layered protocol.

• Reduction of complexity, improvement of performance and scalability.

Media Management and Distribution Workshop - Zurich, January 29, 2009SURFnet, Pioneering Network for Higher Education and Research

21

SOAP was yesterday. Today is REST

Friday, January 30, 2009

Page 29: 1 SURFmedia & SURFmedia Core - TERENA · 2009-02-02 · Media Management and Distribution Workshop - Zurich, January 29, 2009 SURFnet, Pioneering Network for Higher Education and

RESTRepresentational State Transfer

• All interactions (messages) with the SURFmedia Core platform are done with REST-calls.

• REST strictly refers to a collection of network architecture principles which outline how resources are defined and addressed.

• REST is a Client-server, Stateless, Cacheable and Layered protocol.

• Reduction of complexity, improvement of performance and scalability.

Media Management and Distribution Workshop - Zurich, January 29, 2009SURFnet, Pioneering Network for Higher Education and Research

21

SOAP was yesterday. Today is REST

[GET] .../asset?limit=10<response> <header> <item_count>10</item_count> <item_count_total>31930</item_count_total> <item_offset/> <request_process_time>1.6566</request_process_time> <request_query_count>15</request_query_count> <request_result>success</request_result> <request_result_description></request_result_description> <request_result_id>601</request_result_id> <request_uri>[GET] /asset?limit=10</request_uri> <vpx_version>1.0.1-6</vpx_version> </header> <items> <item id="1"> <asset_id>1</asset_id> <app_id>1</app_id> <provider_id></provider_id> <owner_id>av-user-zfontys</owner_id> <group_id>fontys</group_id> <videotimestamp>2004-09-10 19:59:26</videotimestamp> .........

Friday, January 30, 2009

Page 30: 1 SURFmedia & SURFmedia Core - TERENA · 2009-02-02 · Media Management and Distribution Workshop - Zurich, January 29, 2009 SURFnet, Pioneering Network for Higher Education and

Media Management and Distribution Workshop - Zurich, January 29, 2009SURFnet, Pioneering Network for Higher Education and Research

22

WebservicesWebservices, over 100, divided in services for:

• Play Video (PlayProxy HTML wrapper)

• Authentication (DBUS for EUA)

• Authorization (Domain, REALM, Group or

mixed)

• Upload (PUT, POST, FTP)

• Transcoding

• Media Management

• Search: Contextual Query Language (CQL)

Level 2

• OAI/PMH: DC, QDC, LOM, CZP

• Logging and Statistics

Friday, January 30, 2009

Page 31: 1 SURFmedia & SURFmedia Core - TERENA · 2009-02-02 · Media Management and Distribution Workshop - Zurich, January 29, 2009 SURFnet, Pioneering Network for Higher Education and

SURFmedia CoreFeatures

Media Management and Distribution Workshop - Zurich, January 29, 2009SURFnet, Pioneering Network for Higher Education and Research

23

• Flexible Metadata Element Sets

• Search Services

• Access Management• Streaming, Transcoding & Stills

• Upload Services

Friday, January 30, 2009

Page 32: 1 SURFmedia & SURFmedia Core - TERENA · 2009-02-02 · Media Management and Distribution Workshop - Zurich, January 29, 2009 SURFnet, Pioneering Network for Higher Education and

Flexible Metadata Element Sets

Media Management and Distribution Workshop - Zurich, January 29, 2009SURFnet, Pioneering Network for Higher Education and Research

24

CRUD REST-calls on all objects possible. i.e.:• POST /asset/create?user=John• GET /asset/id • POST /asset/id/update?title=”New Title”• POST /collection/delete?user=Asset

Metadata Element Sets Provided:• Standard Dublin Core (DC)• Qualified Dublin Core (QDC)• Learning Object Metadata (LOM) • ‘Content Zoek Profiel’ (CZP)

Plus support for own (custom) Metadata Element Sets

Friday, January 30, 2009

Page 33: 1 SURFmedia & SURFmedia Core - TERENA · 2009-02-02 · Media Management and Distribution Workshop - Zurich, January 29, 2009 SURFnet, Pioneering Network for Higher Education and

Search Services

Media Management and Distribution Workshop - Zurich, January 29, 2009SURFnet, Pioneering Network for Higher Education and Research

25

Simple Search: • GET /asset?owner=John• GET /asset?collection=7

Advanced Search using CQL level 2 :• “(dc.title = foo OR qdc.title_alternative = bar)” • “NOT (dc.title = foo AND dc.title = bar)” • “^cat ^dog tree^”

http://www.loc.gov/standards/sru/specs/cql.html

Friday, January 30, 2009

Page 34: 1 SURFmedia & SURFmedia Core - TERENA · 2009-02-02 · Media Management and Distribution Workshop - Zurich, January 29, 2009 SURFnet, Pioneering Network for Higher Education and

Access Management

Media Management and Distribution Workshop - Zurich, January 29, 2009SURFnet, Pioneering Network for Higher Education and Research

26

Default: Mediafile is accessible for everyone. Option to set access restrictions for playing media on the following properties:

• Domain, i.e only accessible from surfnet.nl • Domain Groups, i.e.: Academia group (all universities)

• Realm, i.e. Federated Authentication using SURFfederation

infrastructure. • Realm Groups, i.e.: '@teleblik' realm

• User: only give rights to user=john • User Groups, i.e.: only give rights to users of group

"class-24".

Combinations of the above are possible! De end-user portal designer decides how and what to use.

Friday, January 30, 2009

Page 35: 1 SURFmedia & SURFmedia Core - TERENA · 2009-02-02 · Media Management and Distribution Workshop - Zurich, January 29, 2009 SURFnet, Pioneering Network for Higher Education and

Streaming, Transcoding & Stills

Media Management and Distribution Workshop - Zurich, January 29, 2009SURFnet, Pioneering Network for Higher Education and Research

27

• Streaming servers: Flash, MPEG4 (H.264), WMV

• All transcoding handled by FFmpeg, expanded with VC-1 toolset (WMV-9)

• Transcoding settings stored in Profiles

• Auto Hinting for MPEG4

• Automatic Stills Extraction

Friday, January 30, 2009

Page 36: 1 SURFmedia & SURFmedia Core - TERENA · 2009-02-02 · Media Management and Distribution Workshop - Zurich, January 29, 2009 SURFnet, Pioneering Network for Higher Education and

Streaming, Transcoding & Stills

Media Management and Distribution Workshop - Zurich, January 29, 2009SURFnet, Pioneering Network for Higher Education and Research

27

• Streaming servers: Flash, MPEG4 (H.264), WMV

• All transcoding handled by FFmpeg, expanded with VC-1 toolset (WMV-9)

• Transcoding settings stored in Profiles

• Auto Hinting for MPEG4

• Automatic Stills Extraction

Friday, January 30, 2009

Page 37: 1 SURFmedia & SURFmedia Core - TERENA · 2009-02-02 · Media Management and Distribution Workshop - Zurich, January 29, 2009 SURFnet, Pioneering Network for Higher Education and

Upload Services

Media Management and Distribution Workshop - Zurich, January 29, 2009SURFnet, Pioneering Network for Higher Education and Research

28

• POST upload using End User Application (limited to 2 GB)

• POST upload directly to SURFmedia Core

Platform using ticket system (limited to 2 GB)

• HTTP PUT upload using End User Application (i.e. Java Upload Applet)

• FTP batch upload (“no” limits) including

metadata in XML file • Quota per End User Application

• Support for Master / Slave content sharing(Provider Application)

Friday, January 30, 2009

Page 38: 1 SURFmedia & SURFmedia Core - TERENA · 2009-02-02 · Media Management and Distribution Workshop - Zurich, January 29, 2009 SURFnet, Pioneering Network for Higher Education and

Questions?29

Media Management and Distribution Workshop - Zurich, January 29, 2009SURFnet, Pioneering Network for Higher Education and Research

Friday, January 30, 2009

Page 39: 1 SURFmedia & SURFmedia Core - TERENA · 2009-02-02 · Media Management and Distribution Workshop - Zurich, January 29, 2009 SURFnet, Pioneering Network for Higher Education and

Questions?29

Media Management and Distribution Workshop - Zurich, January 29, 2009SURFnet, Pioneering Network for Higher Education and Research

Friday, January 30, 2009