0
Multimedia
with Plone
 PyConBrasil 2007
   Joinville, Brazil

   Nate Aune
 www.jazkarta.com
What is podcasting?
• Simplified distribution
  • audio/video files as enclosures in an RSS/
    Atom feed

  • Subscribe on...
What is Plone’s answer?
               • Plone out-of-the-box
                 • File content type (no metadata, no play)
...
What is Plone4Artists?
• Grassroots project to build an out-of-the-box
  portal solution for artist communities

• Built o...
Features
• Drag-n-drop addition of content (WebDAV)
• Extraction of audio/video metadata (ID3)
• Playback of audio and vid...
Plone4Artists
   Core Components

• Plone4ArtistsSite
  • Plone4ArtistsAudio (upload mp3 or ogg)
  • Plone4ArtistsVideo (u...
Plone4Artists
Additional components
• Plone4ArtistsNewsletter (by Malthe Borch)
• PloneFlashUpload (bulk uploads in browse...
A natural evolution

               • CMFAudio (CMF-based)
                     • ATAudio (Archetypes-based)
             ...
Why Zope 3?
               • Usability - user uploads File and system
                     figures out how to handle it. Ea...
No more new content types
                Old approach                      New approach


                • ATAudio
     ...
No more new content types
                Old approach                      New approach


                • ATAudio
     ...
No more new content types
                Old approach                      New approach

                                ...
Pure Zope 3
components
    with
   Plone
 wrappers
Success stories

• talk.bmc.com - blogs and podcasts
• engagemedia.org - social justice videos
• thedailyreel.com - online...
talk.bmc.com
engagemedia.org
TheDailyReel.com
bilive.it
ID3 Metadata in iTunes




Multimedia and Podcasting with Plone (10/27/06)   www.jazkarta.com 866.864.4918
               ...
Multimedia and Podcasting with Plone (10/27/06)   www.jazkarta.com 866.864.4918
                                          ...
Add a normal File




Multimedia and Podcasting with Plone (10/27/06)   www.jazkarta.com 866.864.4918
                    ...
Add new file form




Multimedia and Podcasting with Plone (10/27/06)   www.jazkarta.com 866.864.4918
                     ...
Audio view page




Multimedia and Podcasting with Plone (10/27/06)   www.jazkarta.com 866.864.4918
                      ...
Demo tool icons




Multimedia and Podcasting with Plone (10/27/06)   www.jazkarta.com 866.864.4918
                      ...
Edit audio
               • ID3 metadata is auto-
                     extracted

               • Modified metadata is
   ...
Add blob file




Multimedia and Podcasting with Plone (10/27/06)     www.jazkarta.com 866.864.4918
                       ...
Normal file listing




Multimedia and Podcasting with Plone (10/27/06)   www.jazkarta.com 866.864.4918
                   ...
Activate audio container




Multimedia and Podcasting with Plone (10/27/06)   www.jazkarta.com 866.864.4918
             ...
View is now track listing




Multimedia and Podcasting with Plone (10/27/06)   www.jazkarta.com 866.864.4918
            ...
Add via WebDAV




Multimedia and Podcasting with Plone (10/27/06)   www.jazkarta.com 866.864.4918
                       ...
Connect to server




Multimedia and Podcasting with Plone (10/27/06)   www.jazkarta.com 866.864.4918
                    ...
Mounted Plone folder




Multimedia and Podcasting with Plone (10/27/06)   www.jazkarta.com 866.864.4918
                 ...
Drag-n-drop copy to Plone




Multimedia and Podcasting with Plone (10/27/06)   www.jazkarta.com 866.864.4918
            ...
Track listing after upload




Multimedia and Podcasting with Plone (10/27/06)   www.jazkarta.com 866.864.4918
           ...
Uploading video
Embedding video

   1.                  2.


                  3.
Podcasting



Multimedia and Podcasting with Plone (10/27/06)        www.jazkarta.com 866.864.4918
                       ...
Podcast feed




Multimedia and Podcasting with Plone (10/27/06)      www.jazkarta.com 866.864.4918
                      ...
Multimedia and Podcasting with Plone (10/27/06)   www.jazkarta.com 866.864.4918
                                          ...
Subscribe to podcast




Multimedia and Podcasting with Plone (10/27/06)   www.jazkarta.com 866.864.4918
                 ...
Smart Folders




Multimedia and Podcasting with Plone (10/27/06)    www.jazkarta.com 866.864.4918
                       ...
Activate media container




Multimedia and Podcasting with Plone (10/27/06)   www.jazkarta.com 866.864.4918
             ...
Smart Folder as podcast




Multimedia and Podcasting with Plone (10/27/06)   www.jazkarta.com 866.864.4918
              ...
RSS 2.0 Syndication
               • Using basesyndication (Zope 3 adaptors)
                 • also used to provide RSS f...
Challenges of large files
                                            Uploading and Storing




Multimedia and Podcasting w...
Pain points

               • Uploading large files is tedious
               • ZODB is currently not designed to store
   ...
Making upload less tedious

               • WebDAV/FTP
                 • gives you progress bar but it can be buggy
    ...
PloneJUpload
Preferred upload
          solutions
• ZipFileTransport
  • upload a Zip file and it’s extracted on the
    server

• Plone...
PloneFlashUpload
Easy install
• Automated install using buildout:
  • Downloads and installs:
   • Zope, Plone, PIL, add-on products
  • Cr...
Buildout makes it easy
Check out the buildout, bootstrap and run buildout
  $ svn co http://plone4artists.org/svn/projects...
Community feedback
               • Commenting
                 • easycommenting, zc.comment
               • Ratings
    ...
Demo
plone.tv
What’s next
              plone4artists.org/products/plone4artistssite/roadmap




Multimedia and Podcasting with Plone (1...
More info
• Product pages:
  • plone4artists.org/products
• SVN repository:
  • plone4artists.org/svn/projects
• Mailing l...
Plone4Artists /
     multimedia sprint
• when:
  • October 13-15, 2007
• where:
  • Naples, Italy
• what:
 •   http://open...
Idea: Plone4ArtistsLink
         • Existing new content types
           • ATGoogleVideo
           • ATOdeoAudio
        ...
Why store media on FS?

               • Avoid ZODB bloat
               • Expose to 3rd party streaming software
        ...
Alternative storage layers
            • FileField(‘mediafile’, storage=...)
              • ExternalStorage
              ...
Alternative file field
               • BlobFile
                 • dependent on blob
               • ATTramline
          ...
Preferred solutions
• ZODB with blob support
  • Now working on Zope 2.9 / 2.10 / 2.11
  • Use with ATBlobField from Enfol...
PyConBrasil presentation: Multimedia and Podcasting with Plone
Upcoming SlideShare
Loading in...5
×

PyConBrasil presentation: Multimedia and Podcasting with Plone

1,992

Published on

A presentation by Nate Aune at the PyConBrasil 2007. With the rise of podcasting and sharing multimedia content online, there is a growing need for tools that help content producers publish multimedia to their website. We will discuss Plone, a popular open source CMS, and the Plone4Artists suite of products which streamlines the process of publishing of videos and podcasts.

Published in: Technology
0 Comments
1 Like
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total Views
1,992
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
23
Comments
0
Likes
1
Embeds 0
No embeds

No notes for slide

Transcript of "PyConBrasil presentation: Multimedia and Podcasting with Plone"

  1. 1. Multimedia with Plone PyConBrasil 2007 Joinville, Brazil Nate Aune www.jazkarta.com
  2. 2. What is podcasting? • Simplified distribution • audio/video files as enclosures in an RSS/ Atom feed • Subscribe once and forget about it • On-demand • Users can listen/watch your multimedia content on their device of choice • Don’t need to visit your website
  3. 3. What is Plone’s answer? • Plone out-of-the-box • File content type (no metadata, no play) • Syndication is only RSS 1.0 (need RSS 2.0) • PloneMultimedia suite of add-on products • ATAudio, ATVideo, ATPhoto • qRSS2Syndication for podcasting Multimedia and Podcasting with Plone (10/27/06) www.jazkarta.com 866.864.4918 12
  4. 4. What is Plone4Artists? • Grassroots project to build an out-of-the-box portal solution for artist communities • Built on top of the core Plone product • Leverages Zope 3 component architecture • Doesn’t introduce new content types • Easy to extend to support new media types • Easy to install and pre-configured
  5. 5. Features • Drag-n-drop addition of content (WebDAV) • Extraction of audio/video metadata (ID3) • Playback of audio and video in browser (Flash player) • Podcasting and vodcasting (RSS 2.0) • Calendaring (import/export of iCal) • Assigning Creative Commons licenses • Improved uploading using Flash, Java applet, Tramline • Community features: tagging, rating, commenting
  6. 6. Plone4Artists Core Components • Plone4ArtistsSite • Plone4ArtistsAudio (upload mp3 or ogg) • Plone4ArtistsVideo (upload video or embed) • Plone4ArtistsCalendar (month & listing view) SVN at http://plone4artists.org/svn/projects
  7. 7. Plone4Artists Additional components • Plone4ArtistsNewsletter (by Malthe Borch) • PloneFlashUpload (bulk uploads in browser) • ContentLicensing (assign licenses to content) Not released • ContentRating (rate any piece of content) • ContentTagging (tag any piece of content) • Plone4ArtistsPodcast (embed audio in blog) • Plone4ArtistsRevverVideo (by Alec Mitchell) • Plone4ArtistsSubtyper (subtype any content)
  8. 8. A natural evolution • CMFAudio (CMF-based) • ATAudio (Archetypes-based) • Plone4ArtistsAudio (Zope 3) Multimedia and Podcasting with Plone (10/27/06) www.jazkarta.com 866.864.4918 19
  9. 9. Why Zope 3? • Usability - user uploads File and system figures out how to handle it. Easier with Z3 • Pluggability - easily extend to support other formats besides MP3 and Ogg • Reusability - abstracting the code into Zope 3 components means it is easier to reuse Multimedia and Podcasting with Plone (10/27/06) www.jazkarta.com 866.864.4918 20
  10. 10. No more new content types Old approach New approach • ATAudio • ATVideo • ATPhoto Multimedia and Podcasting with Plone (10/27/06) www.jazkarta.com 866.864.4918 54
  11. 11. No more new content types Old approach New approach • ATAudio • ATVideo • ATPhoto Multimedia and Podcasting with Plone (10/27/06) www.jazkarta.com 866.864.4918 54
  12. 12. No more new content types Old approach New approach • ATFile • ATAudio • Plone4ArtistsAudio • ATVideo • Plone4ArtistsVideo • ATPhoto • ATImage • Plone4ArtistsImage • ATLink Multimedia and Podcasting with Plone (10/27/06) • Plone4ArtistsLink www.jazkarta.com 866.864.4918 54
  13. 13. Pure Zope 3 components with Plone wrappers
  14. 14. Success stories • talk.bmc.com - blogs and podcasts • engagemedia.org - social justice videos • thedailyreel.com - online guide to videos • bilive.it - online community for musicians
  15. 15. talk.bmc.com
  16. 16. engagemedia.org
  17. 17. TheDailyReel.com
  18. 18. bilive.it
  19. 19. ID3 Metadata in iTunes Multimedia and Podcasting with Plone (10/27/06) www.jazkarta.com 866.864.4918 21
  20. 20. Multimedia and Podcasting with Plone (10/27/06) www.jazkarta.com 866.864.4918 22
  21. 21. Add a normal File Multimedia and Podcasting with Plone (10/27/06) www.jazkarta.com 866.864.4918 23
  22. 22. Add new file form Multimedia and Podcasting with Plone (10/27/06) www.jazkarta.com 866.864.4918 24
  23. 23. Audio view page Multimedia and Podcasting with Plone (10/27/06) www.jazkarta.com 866.864.4918 25
  24. 24. Demo tool icons Multimedia and Podcasting with Plone (10/27/06) www.jazkarta.com 866.864.4918 26
  25. 25. Edit audio • ID3 metadata is auto- extracted • Modified metadata is written back to the file • Cover art image field • Genre vocabulary • Comment field Multimedia and Podcasting with Plone (10/27/06) www.jazkarta.com 866.864.4918 27
  26. 26. Add blob file Multimedia and Podcasting with Plone (10/27/06) www.jazkarta.com 866.864.4918 28
  27. 27. Normal file listing Multimedia and Podcasting with Plone (10/27/06) www.jazkarta.com 866.864.4918 29
  28. 28. Activate audio container Multimedia and Podcasting with Plone (10/27/06) www.jazkarta.com 866.864.4918 30
  29. 29. View is now track listing Multimedia and Podcasting with Plone (10/27/06) www.jazkarta.com 866.864.4918 31
  30. 30. Add via WebDAV Multimedia and Podcasting with Plone (10/27/06) www.jazkarta.com 866.864.4918 32
  31. 31. Connect to server Multimedia and Podcasting with Plone (10/27/06) www.jazkarta.com 866.864.4918 33
  32. 32. Mounted Plone folder Multimedia and Podcasting with Plone (10/27/06) www.jazkarta.com 866.864.4918 34
  33. 33. Drag-n-drop copy to Plone Multimedia and Podcasting with Plone (10/27/06) www.jazkarta.com 866.864.4918 35
  34. 34. Track listing after upload Multimedia and Podcasting with Plone (10/27/06) www.jazkarta.com 866.864.4918 36
  35. 35. Uploading video
  36. 36. Embedding video 1. 2. 3.
  37. 37. Podcasting Multimedia and Podcasting with Plone (10/27/06) www.jazkarta.com 866.864.4918 37
  38. 38. Podcast feed Multimedia and Podcasting with Plone (10/27/06) www.jazkarta.com 866.864.4918 38
  39. 39. Multimedia and Podcasting with Plone (10/27/06) www.jazkarta.com 866.864.4918 39
  40. 40. Subscribe to podcast Multimedia and Podcasting with Plone (10/27/06) www.jazkarta.com 866.864.4918 40
  41. 41. Smart Folders Multimedia and Podcasting with Plone (10/27/06) www.jazkarta.com 866.864.4918 41
  42. 42. Activate media container Multimedia and Podcasting with Plone (10/27/06) www.jazkarta.com 866.864.4918 42
  43. 43. Smart Folder as podcast Multimedia and Podcasting with Plone (10/27/06) www.jazkarta.com 866.864.4918 43
  44. 44. RSS 2.0 Syndication • Using basesyndication (Zope 3 adaptors) • also used to provide RSS feeds for Quills • Support iTunes metadata • targeted for Plone4ArtistsAudio 1.0 final • Syndication of other media files • Vodcasting (videos), Photocasting (photos) Multimedia and Podcasting with Plone (10/27/06) www.jazkarta.com 866.864.4918 44
  45. 45. Challenges of large files Uploading and Storing Multimedia and Podcasting with Plone (10/27/06) www.jazkarta.com 866.864.4918 45
  46. 46. Pain points • Uploading large files is tedious • ZODB is currently not designed to store large files Multimedia and Podcasting with Plone (10/27/06) www.jazkarta.com 866.864.4918 46
  47. 47. Making upload less tedious • WebDAV/FTP • gives you progress bar but it can be buggy • PloneJUpload - java applet • not all browsers have Java support Multimedia and Podcasting with Plone (10/27/06) www.jazkarta.com 866.864.4918 47
  48. 48. PloneJUpload
  49. 49. Preferred upload solutions • ZipFileTransport • upload a Zip file and it’s extracted on the server • PloneFlashUpload • upload multiple files using Flash widget in browser • Tramline • bypass Zope and use Apache
  50. 50. PloneFlashUpload
  51. 51. Easy install • Automated install using buildout: • Downloads and installs: • Zope, Plone, PIL, add-on products • Creates Plone instance • Quickinstalls Plone4Artists products • Applies GenericSetup profile (TODO) • Imports sample content using gsxml (TODO)
  52. 52. Buildout makes it easy Check out the buildout, bootstrap and run buildout $ svn co http://plone4artists.org/svn/projects/ p4a.buildout $ cd p4a.buildout $ python bootstrap.py $ bin/buildout -v (go get a coffee) Start the instance $ bin/instance fg
  53. 53. Community feedback • Commenting • easycommenting, zc.comment • Ratings • lovely.rating, contentratings, RatingsEngine • Tagging • lovely.tag, tagger, topicwidget Multimedia and Podcasting with Plone (10/27/06) www.jazkarta.com 866.864.4918 57
  54. 54. Demo plone.tv
  55. 55. What’s next plone4artists.org/products/plone4artistssite/roadmap Multimedia and Podcasting with Plone (10/27/06) www.jazkarta.com 866.864.4918 53
  56. 56. More info • Product pages: • plone4artists.org/products • SVN repository: • plone4artists.org/svn/projects • Mailing list: • groups.google.com/group/p4a-user • IRC: • #plone4artists on irc.freenode.net
  57. 57. Plone4Artists / multimedia sprint • when: • October 13-15, 2007 • where: • Naples, Italy • what: • http://openplans.org/projects/plone4artists-sprint
  58. 58. Idea: Plone4ArtistsLink • Existing new content types • ATGoogleVideo • ATOdeoAudio • ATYouTubeVideo? • Activate remote media on an ATLink • Identifies remote service (Google, Odeo,YouTube) • Applies an appropriate view (Flash player) Multimedia and Podcasting with Plone (10/27/06) www.jazkarta.com 866.864.4918 55
  59. 59. Why store media on FS? • Avoid ZODB bloat • Expose to 3rd party streaming software • Easier to backup or move to another system • Transcode video files Multimedia and Podcasting with Plone (10/27/06) www.jazkarta.com 866.864.4918 50
  60. 60. Alternative storage layers • FileField(‘mediafile’, storage=...) • ExternalStorage • used on plone.org’s PloneSoftwareCenter • FileSystemStorage • used by Andreas Jung for large media project Multimedia and Podcasting with Plone (10/27/06) www.jazkarta.com 866.864.4918 51
  61. 61. Alternative file field • BlobFile • dependent on blob • ATTramline • dependent on Tramline • AttachmentField • new version has FlexStorage • PLIP #154 - Large File Handling • http://plone.org/products/plone/roadmap/154 Multimedia and Podcasting with Plone (10/27/06) www.jazkarta.com 866.864.4918 52
  62. 62. Preferred solutions • ZODB with blob support • Now working on Zope 2.9 / 2.10 / 2.11 • Use with ATBlobField from Enfold Systems • Amazon S3 • scalable storage solution • pay for what you use
  1. A particular slide catching your eye?

    Clipping is a handy way to collect important slides you want to go back to later.

×