Distributed Multi-Media DataBase/en

From Guifi.net - English Wiki

< Distributed Multi-Media DataBase
Revision as of 21:32, 18 June 2009 by Al (Talk)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Distributed Multi-Media DataBase or dmmdb is a free Content Management System for video and audio for sharing in web. In words of its developers it was born "as a real alternative to public systems like YouTube or Vimeo". It has GPL license and latest version is 2.0RC1. It s the main web service for video in GISS.tv, but it is working in others servers and can be installed in new ones.

Main developers are Lluis Gomez i Bigorda and Yves Degoyon.

Features

  • supports ogg/theora and flash formats (optionally)
  • skinable for each user
  • upload and automatic conversion of video files to Ogg/Theora and of audio files to Ogg/Vorbis (or flash respectively)
  • multi-language support
  • search engine
  • voting system (favorites)
  • annotation/subtitles facility
  • support for playlists
  • RSS support that adds distributed capability to the publishing system,

Installation

You can download source from CVS or from tar.gz packages.

CVS version

The CVS version includes the latest developments for the dmmdb :

export CVSROOT=:pserver:anonymous@giss.tv:/home/cvs
cvs login ( empty passwd )
cvs co dmmdb

From compressed packages

You can download source code in http://giss.tv/dmmdbp/

decompress the archive in a directory accesible to apache:

tar xvfz dmmdb-x.y.z-rc1.tar.gz

Dependencies

Install the following packages:

apt-get install php5
apt-get install apache2
  • mod_php for apache2
apt-get install libapache2-mod-php5
  • mod_cgi for apache2
a2enmod mod_cgi
  • mod_rewrite for apache2
a2enmod mod_rewrite
apt-get install ffmpeg
apt-get install ffmpeg2theora
apt-get install vorbis-tools
apt-get install mysql-server
  • sendmail
apt-get install sendmail

Configure your PHP installation

edit your php.ini file to set up the following parameters:

short_open_tag = On
session.cache_expire = 1000
post_max_size = 100M

(there you can customize your installation to set up the maximum size of the media you want to upload)

Configure your apache installation

You have to add the following line in your apache configuration:

AddHandler cgi-script .cgi

(this can be done in cgi.load for example)

and define the directory for cgis :

       <Directory "<yourpath>/dmmdb/cgi-bin">
               AllowOverride None
               Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
               Order allow,deny
               Allow from all
       </Directory>

this can be done in sites-enabled/[yoursite] if you use virtual hosts.

Check that the mime types on your system are correct

in your /etc/mime.types configuration file .ogg file should be decalred as application/ogg (and not like audio/ogg!)

/etc/mime.types :

application/ogg                                 ogx ogg

Edit config.php and change the parameters according to your installation

( parameters are quite explicit )

8/ create the dmmdb database in mysql : transcript :::

  1. mysql -p

Enter password: Welcome to the MySQL monitor. Commands end with ; or \g. Your MySQL connection id is 49 Server version: 5.0.51a-3ubuntu5.1 (Ubuntu)

Type 'help;' or '\h' for help. Type '\c' to clear the buffer.

mysql> create database dmmdb; Query OK, 1 row affected (0.00 sec)

mysql> connect dmmdb Connection id: 50 Current database: dmmdb

mysql> source dmmdb.sql Query OK, 0 rows affected, 1 warning (0.00 sec)

Query OK, 0 rows affected (0.06 sec)

Query OK, 0 rows affected, 1 warning (0.00 sec)

Query OK, 0 rows affected (0.01 sec)

Query OK, 0 rows affected, 1 warning (0.00 sec)

Query OK, 0 rows affected (0.00 sec)

Query OK, 0 rows affected, 1 warning (0.00 sec)

Query OK, 0 rows affected (0.01 sec)

9/ check your installation : you can go to http://<yourhost>/dmmdb/install.php to check that your installation is correct.

ok, you're set!! you can start uploading your media starting by creating a user! enjoy!


History

Version 1.0 RC1

The official release of the first dmmdb was made on the 18th of October.

Externals links

Personal tools