JDVB


Navigation

  1. About
  2. Installation
  3. Changes
  4. Usage
  5. Screenshots
  6. Sources
  7. Todo
  8. Developers

Installation

Get the latest file from the jdvb pakage. Extract it and enter the the jdvb-X.X/JDVBDist folder.

Server and Client Configuration

To startup, edit tvb.conf. The format of the config file is such:
variable=<value>
# and comments start with "#"
For both the client and server, these two variables need to be set (a):
server=<your.own.server>
port=<greater than 1024>
In addition to the above (a), the server needs these two variables:
tzap=<location of tzap>
dvbstream=<location of dvbstream>
In addition to (a), the client needs this one variable:
dvbplayer=<choice of player that reads rtp streams>
It is OK to share the tvb.conf file, as having extra variables does not hurt any of the applications.

A note on piping stdout⁄stderr for the player

If you are piping anything for the dvbplayer, it will not work, i.e: if you are using:
dvbplayer=dumprtp | mplayer -
It will not work, as Java's method of executing system specific calls actually grabs the output of the first command into a buffer and hence (in the example above) it does not "pipe" to mplayer. The work around this is to have a simple script that executes the above command: Lets call this file startplayer.sh:
#!/bin/bash
dumprtp | mplayer -
And set the dvbplayer variable to:
dvbplayer=<location of startplayer.sh>
Don't forget to chmod +x the startplayer.sh file! This (solution) will actually cause the Java execution call system to treat it as one command, and hence the "pipe-ing" will work.

The Server as a Daemon

The server application at the moment does not have a daemon interface and hence can not run as a "service" at the moment. You can install it manually, but would require simple startup scripts. The quickest solution is to put in the command described in usage section under /etc/rc.d/rc.local or wherever your boot up script is located. This will be fixed in future releases and the server will run as a non-privelaged user.

The usage section has instuctions on how to run the server and client applications.
You can get more information from the SourceForge JDVB Project page.
SourceForge.net Logo Valid XHTML 1.0!