Top Banner
MediaMosa: Open source video backend Peter Forgacs MediaMosa developer Madcap
40

Mediamosa Open source video backend

Nov 21, 2014

Download

Education

Frans Ward

Presentation about MediaMosa at FOSDEM 2011, Brussels.
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
  • 1. MediaMosa: Open source video backend Peter Forgacs MediaMosa developer Madcap

2. MediaMosa What you can do with MediaMosa: 3. MediaMosa 4. MediaMosa http://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 ) 5. MediaMosa Open 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 6. MediaMosa Open source video backend - Video backend User MediaMosa Video frontend REST calls: POST, GET XML 7. 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. 8. 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 9. Introduction: MediaMosa Asset is a container. Asset 10. Introduction: MediaMosa Asset may have title, description etc. Asset Title Description DC, QDC fields 11. Introduction: MediaMosa Asset may have mediafiles. Asset Title Description Mediafile 12. Introduction: MediaMosa A mediafile may have a video. Asset Title Description Mediafile: Video (codec, filesize) 13. Introduction: MediaMosa We can transcode a mediafile to an other format. Asset Title Description Mediafile: Video (Original) Mediafile: Video (Transcoded) 14. Introduction: MediaMosa We can create an another mediafile (with video). Asset Title Description Mediafile: Video (Original) Mediafile: Video (Transcoded) Mediafile: Video (Original) 15. Introduction: MediaMosa Every mediafile may have still images. Asset Title Description Mediafile: Video (Original) Mediafile: Video (Transcoded) Mediafile: Video (Original) 16. Introduction: MediaMosa The asset has a default still (if there is any). Asset Title Description Mediafile: Video (Original) Mediafile: Video (Transcoded) Mediafile: Video (Original) 17. Introduction: MediaMosa A video site has assets with default stills. AssetTitle Desc. AssetTitle Desc. AssetTitle Desc. AssetTitle Desc. 18. Introduction: MediaMosa A video page has an asset with video(s) and still(s). Asset Title Description 19. Videos site 20. Video page 21. Installing MediaMosa Download: http://mediamosa.org You need: LAMP, FFMpeg, Lua (LPEG) Recommended: Lav2yuv (MJPEG Tools) ... Installation: Drupal / MediaMosa install profile 22. Make it easy - VM Image on mediamosa.org - Demo site on mediamosa.org 23. 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) 24. 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 25. MediaMosa.org API page REST call: Parameters, Response fields, Examples http://mediamosa.org/api 26. MediaMosa.org API page REST call: Parameters, Response fields, Examples http://mediamosa.org/api 27. REST calls as a MediaMosa communication interface Example: /mediafile/$mediafile_id [GET] 67787AkD14admin .... 28. REST call on WLE 29. How you can upload? Your client application: - Create asset /asset/create [POST] Response: $asset_id - Create mediafile /mediafile/create [POST] POST parameter: $asset_id Response: $mediafile_id - Create upload ticket /mediafile/$mediafile_id/uploadticket/create [POST] Response: Action URL, Upload progress URL (for upload progress bar) 30. Applications in action 31. Future / present developments - Solr - Atom, JSON, RSS feed - Watermarking still images - OpenAPI, oAuth, oEmbed 32. MediaMosa Status page 33. MediaMosa Browse and Statistics pages 34. MediaMosa Configuration pages 35. MediaMosa Configuration pages 36. MediaMosa Configuration pages 37. MediaMosa Configuration pages 38. MediaMosa Configuration pages 39. MediaMosa Configuration pages 40. Thank you for you attention! Questions? MediaMosa http://mediamosa.org Peter Forgacs forgacs at madcap.nl http://xweb.hu