LiViD   Oms How To UserPreferences
 
Help Search Diffs Info Edit Print View
 MoinMoin Wiki   LividWiki   RecentChanges   TitleIndex   WordIndex   Help 

[WWW]http://www.linuxvideo.org/docs/

  1. Binaries
    1. Debian
    2. RPM
    3. tarball
  2. Source
    1. Obtaining From CVS
    2. Obtaining Source Tarballs
    3. Building/Compiling
  3. Configuration
    1. ~/.oms/config
    2. /dev/dvd
  4. Problems
  5. Other Tips
    1. User Defined Install Directory

Binaries

  1. Install your prefered binaries (described below).
  2. Run oms_shell or omi_gtk.

Debian

These packages probably have dependencies to Debian unstable packages.

Ad d the following to /etc/apt/sources.list :

deb http://linuxvideo.org/oms/data/debian/ ./

Use dselect/apt-get/console-apt/etc to install oms and oms-omi . Dependencies should be automagically calculated.

Note that as of 01/13/2001, /usr/doc/oms/README.Debian says that the oms package is unusable !! ("to get familiar with Debian packaging...")

Yeah, ignore that. It's only maybe 70% true now.

RPM

Please see OMS RPM Page [WWW]http://www.linuxvideo.org/oms/rpm/

tarball

Binary tarballs are not yet available. Would you like to volunteer to maintain these?

Source

Obtaining From CVS

# export CVSROOT=:pserver:anonymous@cvs.linuxvideo.org:/cvs/livid 
# cvs login (Just press Return when prompted for a password) 
# cvs -z3 co module_name 

Get modules libcss, oms, omi.

Obtaining Source Tarballs

Building/Compiling

  1. Install packages required to do the build. (see OpenMediaInterface)
  2. Get the source for libcss, oms, and omi. (see subsections)
  3. Unpack the source source if needed.
  4. Make sure your library paths are setup to where you intend to install the libraries. (see description of this in OmsProblems)
  5. Build libcss:
    1. $ cd libcss
    2. $ ./bootstrap
    3. $ ./configure
    4. $ make
    5. $ make install
  6. Build OMS:
    1. $ cd oms
    2. $ ./bootstrap
    3. $ ./configure
    4. $ make
    5. $ make install
  7. Build OMI
    1. $ cd omi
    2. $ ./bootstrap
    3. $ ./configure
    4. $ make
    5. $ make install
  8. Run oms_shell or omi_gtk.

oms_shell is broken at the moment... sorry. use omi_gtk.

Configuration

~/.oms/config

OpenMediaSystem uses a configuration file located at ~/.oms/config.

The format as of 20010324 is key=value one per line.

The file get's automatically overwritten if you use the GUI configuration.

Example:

ypos=538 
xpos=959 
devices=dvd:/dev/dvd 
output_video_device= 
output_video_plugin=sdl 
output_audio_device=/dev/dsp 
output_audio_plugin=sys  
skin=some 

field description examples
ypos vertical position of GUI 538
xpos horizontal position of GUI 959
devices sources of media dvd:/dev/dvd, (files?)
output_video_plugin plugin to use for video output x11, sdl, etc
output_video_device device to use for video output plugin specific or empty
output_audio_plugin plugin to use for video output sys, esd, etc
output_audio_device device to use for audio output plugin specific or empty, /dev/dsp for sys plugin

/dev/dvd

You can set the devices= line in the config file to any device you want. Many people like to have a /dev/dvd but this is not strictly needed.

If you want to create a /dev/dvd JeremyErwin suggests:

You need to symbolicly link the appropriate IDE or SCSI device to /dev/dvd.

If you're using IDE, the following values are standard

If you're using SCSI, the devices are labeled /dev/scdn, where n is the id of your DVD drive.

So, if your DVD drive is the primary ide slave, the correct command would be:

ln -s /dev/hdb /dev/dvd 

Problems

For problems with configuring or running OpenMediaSystem, look at the OmsProblems page or the GeneralProblems page.

Other Tips

User Defined Install Directory

You can install in your own directory by using the --prefix= option to configure.

If you have oms and omi in a dir called ~/livid and want to install in ~/livid/inst do something like this:

$ cd ~/livid 
 
$ cd oms 
$ ./bootstrap 
$ ./configure --prefix=`pwd`/../inst 
$ make install 
 
$ cd ../omi 
$ ./bootstrap 
$ ./configure --prefix=`pwd`/../inst --with-oms-prefix=`pwd`/../inst 
$ make install 
 
$ cd ../inst/bin 
$ ./omi_gtk 
 


PythonPowered EditText of this page (last modified 2001-06-05 01:10:11)
FindPage by browsing, searching, or an index
Or try one of these actions: LikePages, SpellCheck

MoinMoin 1.108, Copyright © 2000-2001 by Jürgen Hermann

config = 0.000
total = 0.280
imports = 0.110
send_page = 0.160