Documentation no question is a stupid question

Abstract

What is the Videomanager?

Its a framework, for the very basic functionality like User registration, Video Upload and Video Playback.

Requirements

Please make sure your server fits following requirements:

  • PHP 5.4
  • Apache + mod_rewrite
  • MySQL or Postgresql
  • FFMPEG
  • MPLAYER

Download

At moment there is no stable version, but you can download the developer snapshot here:

svn co svn://moving-bytes.at/videostream

Configuration

After unpacking the files, you need to adjust the configuration files.

A typical configuration file will look like this:

db_host = 'localhost'
db_user = 'user'
db_pass = 'password'
db_name = 'databasename'

basedir = /var/www/video

template = 'default'

memcached_port = 11211
memcached_server = localhost

address = http://myvideosite.lan

The default configuration file can be found here: app/config/*.cfg

Database sheme can be found here: sql/current_db.sql

If you like to use the videomanager inside a subfolder, don`t forgett to change the RewriteBase / part

RewriteEngine on
RewriteBase /

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php?modul=$1 [QSA,L]

The background Task

We have to execute following command on the server:

screen -d -m php job.php

This will start the job scheduler in background, this process is nesseary, because it maintains which rendering job will be executed next.

System information

Since 0.2.1 we have a system informatin script

For checking your installation simply visit http://myvideosite.lan/system/information

FAQ

I get a page not found on every request?

Make sure mod_rewrite is active

Why ffmpeg and mplayer is required?

It turns out, that mplayer is much faster in generating thumbnails of Videos than ffmpeg

I found a Bug, what should i do?

You can eigther contact us vie email or use our Bugtracker

More Question?

No question is a stupid question, please contact us.