|Version 1 (modified by grant, 4 years ago) (diff)|
Installing and using the Burnstation prototype on a Plumi/Plone? Site
This is a prototype of the Burnstation module for Plumi and Plone sites. This module will allow a Plumi (or Plone) system to burn DVDs of videos from its collection. The intention is to facilitate distribution of video content to areas where Internet connections may not support streaming video online, or provide additional distribution options.
The Burnstation prototype is able to run on Plone 3 and Plone 4 based sites.
These instructions assume you have a working Plumi site (version 3.1 or higher), which uses transcode.star as the transcoding system ( http://pypi.python.org/pypi/collective.transcode.star).
To install burnstation, edit the buildout.cfg of your Plumi site to include the following:
- In the [eggs] section, add: collective.transcode.burnstation
- In the [sources] section, add: collective.transcode.burnstation = svn https://svn.plone.org/svn/collective/collective.transcode.burnstation/trunk
Then you have to install the python-feedparser and tovid packages onto your system. You can do this on Ubuntu with the following command:
apt-get install python-feedparser tovid
Now go to the "Add Ons" page in your Plumi site's "Site Setup" section. Install "Transcode Burnstation 0.1" then go to "Transcode settings" and add the profile mpeg2 on "transcode profiles"
Once this has been done, every time a new video is added it gets transcoded according to the mpeg2 profile. Also, an "Add to burn queue" link will be added in the Site actions area when each video is displayed (next to the "add to Favorites" icon).
If an existing videos does not show the "Add to burn queue" link, manually re-start the transcoding process for that video. Once it has completed, an mpeg2 version of the file will have been created using the new profile and the "Add to burn queue" link will be displayed.
How to use
While logged in as user, visit the video you want to be added on the queue and click on "add to burn queue". A portlet appears on the right column of your site, on the bottom, containing the video(s) in the queue, and two self explaining options: Clear queue and Burn queue "Clear queue" will clear the queue and you're free to start adding videos. Only published videos that are transcoded with the mpeg2 profile are allowed to be added on the queue. If a video hasn't been transcoded with the mpeg2 profile, it will not show the "add to burn queue" option. You have to press re-transcode the video in order to make it addable. Once you have your list done, choose "Burn queue". A dvd iso is being prepared for you, and according to the number and different sizes of videos it will take from a couple of minutes to 20-30 minutes. Refresh the page and the message on the "Burn queue" portlet should be "queue is being processed, it will be available in a few minutes". Come back after a few minutes, refresh the page and once the iso is done, the message should say "iso ready: get it! ". Download the link and you're ready to burn the iso on a dvd: it has the videos with generated animated images there for you! How to install on a Plone site (without Plumi) Burnstation can be installed on any Plone 3.x or 4.x site, without Plumi. On the eggs,
should be there, plus the following sources section
[sources] collective.transcode.star = svn https://svn.plone.org/svn/collective/collective.transcode.star/trunk collective.transcode.daemon = svn https://svn.plone.org/svn/collective/collective.transcode.daemon/trunk collective.transcode.recipe = svn https://svn.plone.org/svn/collective/collective.transcode.recipe/trunk collective.transcode.burnstation = svn https://svn.plone.org/svn/collective/collective.transcode.burnstation/trunk and also the [transcodedaemon] section, and default_supported_mimetypes and profiles lists, as they are on the burnstation buildout.cfg
From your Plone site, install transcode.star and transcode.burnstation, go to "Transcode settings" and add profil mpeg2 on "transcode profiles". Again you need to install python-feedparser and tovid system-wide, plus the transcode.star dependencies (see http://pypi.python.org/pypi/collective.transcode.star/) As in the Plumi section, once a video is added, an mpeg2 profile is created and an 'Add to burn queue' option is available for the video
Future work The complete system will perform tests for the final iso size and alert users if they have to exclude some videos. Ajax will immediately inform users regarding the queue and iso status, once they have changed.