Skip to content
This repository has been archived by the owner on Jun 23, 2021. It is now read-only.
andrewebdev edited this page Mar 26, 2012 · 9 revisions

django-video Documentation

© Copyright 2009 Andre Engelbrecht. All Rights Reserved.

LICENSE

Please see the LICENCE file for information on the License

django-video Use Cases

Before you decide to use django-video on any commercial project, please be aware that this application only does some cms management and conversion into flv, and is perfect to personal sites, small company sites that want to incorporate video etc. Note however that if you want to build a large community driven site, of which video will be a big part, you will have to do a little more research into commercial, high volume streaming media. You may have to modify this app to hook into those solutions.

Requirements

  • The full version of FFMPEG, if you want to use python manage.py encode, to encode a video clip from avi, mov or ogv to flv. Note that, some operating systems, like Ubuntu, by default does not have the full version of FFMPEG installed, so make sure to install the full version.
  • django-oembed
  • django-tagging (optional but recommended if you want to use it’s tagging features.)

Installing

  1. Check that videostream folder is on your python path
  2. Next, add the videostream app to your django INSTALLED_APPS
    'videostream',
  3. If you want to use the default templates, you can add them to your TEMPLATE_DIRS
    'django/videostream/path/templates/'
  4. Override the default settings if you want to.
    See the settings below.
  5. Add the urls
    ( r'^videos/', include( 'videostream.urls' ) ),

Settings you may want to override.

VIDEOSTREAM_SIZE = "320x240"

VIDEOSTREAM_THUMBNAIL_SIZE = "320x240"

VIDEOSTREAM_FEED_TITLE = "Video Feeds"

VIDEOSTREAM_FEED_DESCRIPTION = "Video Feeds"

VIDEOSTREAM_FEED_LINK = ""