Mediamosa Open source video backend

881 views
809 views

Published on

Presentation about MediaMosa at FOSDEM 2011, Brussels.

Published in: Education, Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
881
On SlideShare
0
From Embeds
0
Number of Embeds
1
Actions
Shares
0
Downloads
8
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide
  • 09/06/10
  • 09/06/10
  • 09/06/10
  • 09/06/10
  • 09/06/10
  • 09/06/10
  • 09/06/10
  • 09/06/10
  • 09/06/10
  • 09/06/10
  • 09/06/10
  • 09/06/10
  • 09/06/10
  • 09/06/10
  • 09/06/10
  • 09/06/10
  • 09/06/10
  • 09/06/10
  • 09/06/10
  • 09/06/10
  • 09/06/10
  • 09/06/10
  • 09/06/10
  • 09/06/10
  • 09/06/10
  • 09/06/10
  • 09/06/10
  • 09/06/10
  • 09/06/10
  • 09/06/10
  • 09/06/10
  • 09/06/10
  • 09/06/10
  • 09/06/10
  • 09/06/10
  • 09/06/10
  • 09/06/10
  • 09/06/10
  • 09/06/10
  • 09/06/10
  • Mediamosa Open source video backend

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

    ×