Media Processing Project

Post on 28-May-2015

300 views 0 download

description

King Chung Huang Information Technologies University of CalgaryPresented at the Cybera/CANARIE National Summit 2009, as part of the session "From iPods to Data Centres: How the Cloud Impacts You." This session showcased a selection of Cybera pilot projects that leverage and demonstrate cloud computing concepts.

Transcript of Media Processing Project

Media Processing Project

King Chung HuangInformation TechnologiesUniversity of Calgary

Crop

Scale

Encode

Trim

AdjustTitle

Append

Flip

Filter

Extract

Crop Scale Encode

Trim

Adjust

Title

Append

Flip

Filter

Extract

REST over HTTP with JSON API• Workflows, actions, and jobs are all resources

• Use HTTP GET, PUT, POST, DELETE to manipulate the resources

• All content is JSON serialized

• Easily programmable directly from a browser environment! Build client-side web applications

REST over HTTP with JSON APIRetrieve an action

GET http://mpp.local/actions/ca.ucalgary.mpp.crop

{

“id”: “ca.ucalgary.mpp.crop”,

“title”: “Crop”,

“inputs”: […],

“outputs”: […],

}

REST over HTTP with JSON APIList all workflows

GET http://mpp.local/workflows/

{

“ids”: [

“ca.ucalgary.mpp.crop-for-ipod”,

“ca.ucalgary.mpp.encode-and-upload”,

“ca.ucalgary.mpp.make-cappuccino”

]

}

REST over HTTP with JSON APISubmit a job

POST http://mpp.local/jobs/96752C86

{

“id”: “96752C86”,

“workflow”: “ca.ucalgary.make-cappuccino”,

“inputs”: […]

}

Crop Scale Encode

Trim

Adjust

Title

Append

Flip

Filter

Extract

Crop

Scale

Encode

Title

Crop

Scale

Encode

Title

Crop

Scale

Encode

Title

More Information

King Chung Huangkchuang@ucalgary.ca

Jim Tubmanjim.tubman@cybera.ca

Trevor Doerksentrevord@mobovivo.com