Building an open source community for video: Paving the way for MediaMosa
Mediamosa Open source video backend
-
Upload
frans-ward -
Category
Education
-
view
937 -
download
0
description
Transcript of Mediamosa Open source video backend
![Page 1: Mediamosa Open source video backend](https://reader033.fdocuments.in/reader033/viewer/2022061204/546f04e2af7959bf0e8b4a27/html5/thumbnails/1.jpg)
MediaMosa:Open source video backend
Peter ForgacsMediaMosa developerMadcap
![Page 2: Mediamosa Open source video backend](https://reader033.fdocuments.in/reader033/viewer/2022061204/546f04e2af7959bf0e8b4a27/html5/thumbnails/2.jpg)
MediaMosa
What you can do with MediaMosa:
![Page 3: Mediamosa Open source video backend](https://reader033.fdocuments.in/reader033/viewer/2022061204/546f04e2af7959bf0e8b4a27/html5/thumbnails/3.jpg)
MediaMosa
![Page 4: Mediamosa Open source video backend](https://reader033.fdocuments.in/reader033/viewer/2022061204/546f04e2af7959bf0e8b4a27/html5/thumbnails/4.jpg)
MediaMosahttp://mediamosa.org
“MediaMosa is a robust, flexible and highly scalable media management platform. It is already helping deliver rich content (video, audio etc.) to educational organizations across the Netherlands.” (http://mediamosa.org)
![Page 5: Mediamosa Open source video backend](https://reader033.fdocuments.in/reader033/viewer/2022061204/546f04e2af7959bf0e8b4a27/html5/thumbnails/5.jpg)
MediaMosaOpen source video backend
What does it mean?
- Open source
License: Open Source under GPLv2 license (GNU General Public License version 2)
Framework: Drupal 6 / 7
![Page 6: Mediamosa Open source video backend](https://reader033.fdocuments.in/reader033/viewer/2022061204/546f04e2af7959bf0e8b4a27/html5/thumbnails/6.jpg)
MediaMosaOpen source video backend
- Video backend
User
MediaMosaVideo frontend
REST calls:POST, GET
XML
![Page 7: Mediamosa Open source video backend](https://reader033.fdocuments.in/reader033/viewer/2022061204/546f04e2af7959bf0e8b4a27/html5/thumbnails/7.jpg)
MediaMosa is a backend application.
Advantages of this separation:One backend can support multiple client sites.Easy integration for existing websites.
What about the frontend?
- There are different demo frontend applications. You may start with them: WLE, MediaMosa CK.
- You may create one. Your application should communicate with MediaMosa through REST calls.
![Page 8: Mediamosa Open source video backend](https://reader033.fdocuments.in/reader033/viewer/2022061204/546f04e2af7959bf0e8b4a27/html5/thumbnails/8.jpg)
With MediaMosa you can
- Upload videos and store them
- Transcode videos (eg. h.264)
- Generate video object, download link etc.
- Create still images
- Create metadata (title, description, DC, QDC)
- Create collections
- Stream your video's
- Create authorizations
![Page 9: Mediamosa Open source video backend](https://reader033.fdocuments.in/reader033/viewer/2022061204/546f04e2af7959bf0e8b4a27/html5/thumbnails/9.jpg)
Introduction: MediaMosa
Asset is a container.
Asset
![Page 10: Mediamosa Open source video backend](https://reader033.fdocuments.in/reader033/viewer/2022061204/546f04e2af7959bf0e8b4a27/html5/thumbnails/10.jpg)
Introduction: MediaMosa
Asset may have title, description etc.
Asset
TitleDescriptionDC, QDC fields
![Page 11: Mediamosa Open source video backend](https://reader033.fdocuments.in/reader033/viewer/2022061204/546f04e2af7959bf0e8b4a27/html5/thumbnails/11.jpg)
Introduction: MediaMosa
Asset may have mediafiles.
Asset
TitleDescription
Mediafile
![Page 12: Mediamosa Open source video backend](https://reader033.fdocuments.in/reader033/viewer/2022061204/546f04e2af7959bf0e8b4a27/html5/thumbnails/12.jpg)
Introduction: MediaMosa
A mediafile may have a video.
Asset
TitleDescription
Mediafile: Video (codec,filesize)
![Page 13: Mediamosa Open source video backend](https://reader033.fdocuments.in/reader033/viewer/2022061204/546f04e2af7959bf0e8b4a27/html5/thumbnails/13.jpg)
Introduction: MediaMosa
We can transcode a mediafile to an other format.
Asset
TitleDescription
Mediafile: Video(Original)
Mediafile: Video(Transcoded)
![Page 14: Mediamosa Open source video backend](https://reader033.fdocuments.in/reader033/viewer/2022061204/546f04e2af7959bf0e8b4a27/html5/thumbnails/14.jpg)
Introduction: MediaMosa
We can create an another mediafile (with video).
Asset
TitleDescription
Mediafile: Video(Original)
Mediafile: Video(Transcoded)
Mediafile: Video(Original)
![Page 15: Mediamosa Open source video backend](https://reader033.fdocuments.in/reader033/viewer/2022061204/546f04e2af7959bf0e8b4a27/html5/thumbnails/15.jpg)
Introduction: MediaMosa
Every mediafile may have still images.
Asset
TitleDescription
Mediafile: Video(Original)
Mediafile: Video(Transcoded)
Mediafile: Video(Original)
![Page 16: Mediamosa Open source video backend](https://reader033.fdocuments.in/reader033/viewer/2022061204/546f04e2af7959bf0e8b4a27/html5/thumbnails/16.jpg)
Introduction: MediaMosa
The asset has a default still (if there is any).
Asset
TitleDescription
Mediafile: Video(Original)
Mediafile: Video(Transcoded)
Mediafile: Video(Original)
![Page 17: Mediamosa Open source video backend](https://reader033.fdocuments.in/reader033/viewer/2022061204/546f04e2af7959bf0e8b4a27/html5/thumbnails/17.jpg)
Introduction: MediaMosa
A video site has assets with default stills.
Asset Title
Desc.
Asset Title
Desc.
Asset Title
Desc.
Asset Title
Desc.
![Page 18: Mediamosa Open source video backend](https://reader033.fdocuments.in/reader033/viewer/2022061204/546f04e2af7959bf0e8b4a27/html5/thumbnails/18.jpg)
Introduction: MediaMosa
A video page has an asset with video(s) and still(s).
Asset
Title Description
![Page 19: Mediamosa Open source video backend](https://reader033.fdocuments.in/reader033/viewer/2022061204/546f04e2af7959bf0e8b4a27/html5/thumbnails/19.jpg)
Videos site
![Page 20: Mediamosa Open source video backend](https://reader033.fdocuments.in/reader033/viewer/2022061204/546f04e2af7959bf0e8b4a27/html5/thumbnails/20.jpg)
Video page
![Page 21: Mediamosa Open source video backend](https://reader033.fdocuments.in/reader033/viewer/2022061204/546f04e2af7959bf0e8b4a27/html5/thumbnails/21.jpg)
Installing MediaMosa
Download: http://mediamosa.org
You need: LAMP, FFMpeg, Lua (LPEG)Recommended: Lav2yuv (MJPEG Tools) ...
Installation: Drupal / MediaMosa install profile
![Page 22: Mediamosa Open source video backend](https://reader033.fdocuments.in/reader033/viewer/2022061204/546f04e2af7959bf0e8b4a27/html5/thumbnails/22.jpg)
Make it easy
- VM Image on mediamosa.org
- Demo site on mediamosa.org
![Page 23: Mediamosa Open source video backend](https://reader033.fdocuments.in/reader033/viewer/2022061204/546f04e2af7959bf0e8b4a27/html5/thumbnails/23.jpg)
Performance improvements
If you need more power, you can separate your installation for:
- Admin interface
- Application interface(s) for REST calls
- Upload interface
- Download interface
- Job interface(s) eg. transcoding video files
Common DB server(s) and storage (SAN/NAS)
![Page 24: Mediamosa Open source video backend](https://reader033.fdocuments.in/reader033/viewer/2022061204/546f04e2af7959bf0e8b4a27/html5/thumbnails/24.jpg)
REST calls as a MediaMosa communication interface
- REST = Representational State Transfer
- GET calls for getting data
- POST calls for changing or creating data
- Output is XML
- Documentation of REST calls: http://mediamosa.org/api
![Page 25: Mediamosa Open source video backend](https://reader033.fdocuments.in/reader033/viewer/2022061204/546f04e2af7959bf0e8b4a27/html5/thumbnails/25.jpg)
MediaMosa.org API page
REST call: Parameters, Response fields, Exampleshttp://mediamosa.org/api
![Page 26: Mediamosa Open source video backend](https://reader033.fdocuments.in/reader033/viewer/2022061204/546f04e2af7959bf0e8b4a27/html5/thumbnails/26.jpg)
MediaMosa.org API page
REST call: Parameters, Response fields, Exampleshttp://mediamosa.org/api
![Page 27: Mediamosa Open source video backend](https://reader033.fdocuments.in/reader033/viewer/2022061204/546f04e2af7959bf0e8b4a27/html5/thumbnails/27.jpg)
REST calls as a MediaMosa communication interface
Example: /mediafile/$mediafile_id [GET]
<items> <item id="1"> <mediafile_id>6778</mediafile_id> <asset_id>7AkD</asset_id> <app_id>14</app_id> <owner_id>admin</owner_id> <group_id></group_id> .... </item></items>
![Page 28: Mediamosa Open source video backend](https://reader033.fdocuments.in/reader033/viewer/2022061204/546f04e2af7959bf0e8b4a27/html5/thumbnails/28.jpg)
REST call on WLE
![Page 29: Mediamosa Open source video backend](https://reader033.fdocuments.in/reader033/viewer/2022061204/546f04e2af7959bf0e8b4a27/html5/thumbnails/29.jpg)
How you can upload?
Your client application:- Create asset/asset/create [POST]Response: $asset_id
- Create mediafile/mediafile/create [POST]POST parameter: $asset_idResponse: $mediafile_id
- Create upload ticket/mediafile/$mediafile_id/uploadticket/create [POST]Response: Action URL, Upload progress URL (for upload progress bar)
![Page 30: Mediamosa Open source video backend](https://reader033.fdocuments.in/reader033/viewer/2022061204/546f04e2af7959bf0e8b4a27/html5/thumbnails/30.jpg)
Applications in action
![Page 31: Mediamosa Open source video backend](https://reader033.fdocuments.in/reader033/viewer/2022061204/546f04e2af7959bf0e8b4a27/html5/thumbnails/31.jpg)
Future / present developments
- Solr
- Atom, JSON, RSS feed
- Watermarking still images
- OpenAPI, oAuth, oEmbed
![Page 32: Mediamosa Open source video backend](https://reader033.fdocuments.in/reader033/viewer/2022061204/546f04e2af7959bf0e8b4a27/html5/thumbnails/32.jpg)
MediaMosa
Status page
![Page 33: Mediamosa Open source video backend](https://reader033.fdocuments.in/reader033/viewer/2022061204/546f04e2af7959bf0e8b4a27/html5/thumbnails/33.jpg)
MediaMosa
Browse and Statistics pages
![Page 34: Mediamosa Open source video backend](https://reader033.fdocuments.in/reader033/viewer/2022061204/546f04e2af7959bf0e8b4a27/html5/thumbnails/34.jpg)
MediaMosa
Configuration pages
![Page 35: Mediamosa Open source video backend](https://reader033.fdocuments.in/reader033/viewer/2022061204/546f04e2af7959bf0e8b4a27/html5/thumbnails/35.jpg)
MediaMosa
Configuration pages
![Page 36: Mediamosa Open source video backend](https://reader033.fdocuments.in/reader033/viewer/2022061204/546f04e2af7959bf0e8b4a27/html5/thumbnails/36.jpg)
MediaMosa
Configuration pages
![Page 37: Mediamosa Open source video backend](https://reader033.fdocuments.in/reader033/viewer/2022061204/546f04e2af7959bf0e8b4a27/html5/thumbnails/37.jpg)
MediaMosa
Configuration pages
![Page 38: Mediamosa Open source video backend](https://reader033.fdocuments.in/reader033/viewer/2022061204/546f04e2af7959bf0e8b4a27/html5/thumbnails/38.jpg)
MediaMosa
Configuration pages
![Page 39: Mediamosa Open source video backend](https://reader033.fdocuments.in/reader033/viewer/2022061204/546f04e2af7959bf0e8b4a27/html5/thumbnails/39.jpg)
MediaMosa
Configuration pages
![Page 40: Mediamosa Open source video backend](https://reader033.fdocuments.in/reader033/viewer/2022061204/546f04e2af7959bf0e8b4a27/html5/thumbnails/40.jpg)
Thank you for you attention!
Questions?
MediaMosahttp://mediamosa.org
Peter Forgacsforgacs at madcap.nlhttp://xweb.hu