This a Linux YimaPE Version 1.1
===============================
  Feb-10-2010

Overview
--------
YimaPE_1.1 provides single node streaming media server.

Installation
------------
1. Unzip the tar files.
2. Go to the Server subdirectory.
3. Install the qpthread1.3.1 library in its directory. Follow the
   instructions in the README and INSTALL files.
4. Type "make" in the Server directory.
5. Go to the Splitter subdirectory.
6. Type "make" in the Splitter directory.


Configuration
-------------
1.  Go to the Server subdirectory.
2.  Modify the configuration file "config"
2.1 Change the media file directory after key word "Disk"
2.2 Add an new media file entry as in the config_Sample 
2.3 Sample config:
---------------------------------------
Disk
/home/user_account/YimaPE_v1.1/Streams/
Movie
testsound.wav 1073739776 1536
Movie
<mediaFileName> <mediaFileSize_in_bytes> <mediaFileLen_in_seconds>
---------------------------------------


Preparing a New Media File
--------------------------
1. Go to the Splitter subdirectory.
2. Execute the following command in a temporary directory
   $./yimasplit vts_1.mov 1300
   The parameter of splitter are as follows:
   (1) the media file name ("vts_1.mov" in the example),
   (2) the media length in seconds ("1300" in the example)
   A subdirectory BLOCKS with many files will be created; these files are media
   blocks. Also, a config file is created that contains information about the
   media file for the server. 
3. Copy all the files in the BLOCKS directory into the media file directory
   where you configured in the "config" for the YimaPE server.
4. Add a new media file entry for this media file in the "config" file as 
   described in the previous section.


Starting the YimaPE Server
--------------------------
1. Go to the Server subdirectory
2. Run "./yimaserver"
NOTE: <1>. you need to use the superuser account in order to run the server
      <2>. you need to make sure the Qpthread shared library directory 
           is appropriately included in the environment variable
           "LD_LIBRARY_PATH".


Supported Platforms
-------------------
Tested on RedHat 7.2/Intel    gcc version 2.96 


Patches, Bug Reports, Suggestions
---------------------------------
Please send bug descriptions, patches, suggestions or success stories to:
rzimmerm@imsc.usc.edu
