| Savi - ESGFramewk "DVB-H Based Electronic Service Guide" |
Savi-ESG Framework is based on the schema specified by dvbh.org, It has the two sets of components Server Side and Client side components
I. Server side components are Esg server, Esg Media Server
Esg Server: Esg Server generates and transmits Esg Files. Esg server functionalities include
-Generation of appropriate Esg Files like Service Heirarchy,Session service,Session Description,operater information files.
-Transmitting the Esg Files at a configured interval
Esg Media Server: Esg Media server is basically a media streaming server with RTSP streaming. Esg Media Server functionalities include
-Esg Media server will transmits the Media content data on a requested by the Esg Client on RTSP
II. Client side components are Esg Client(Esg Receiver, Esg Parser, Esg Ui),Media Player
Esg Client:
Esg Client includes sub components like Esg Receiver, Esg Parser, Esg Ui. Its functionalities include
- Receiving the Esg Service, session, session description files on regular intervals.
- Parsing the Esg files received based on Esg schema specified dvbh.org
- Showing the Esg information to the user to facilitate the user for program selection.
- Based on the user program selection choice session information to be given to the Media player through media player interface
- Source code of this framewk is protected, only shared on request.
Media Player:
Any media player which supports RTSP streaming can be used, for instance mplayer with live configuration. .
|
Design Specifications - Debian, Maemo
Esg Server:
- Fcast sender, esg file generator sub-components are part of Esg server
Esg Media Server:
- Esg media server uses live library to stream the mpg files
Esg Client:
- Esg Client comprises of fcast receiver, esg parser, esg ui, Mplayer configured with live
Components: fcast,live media server,osipparser,mplayer
Target Platform: Debian, Maemo(N770/N800),ubuntu(7.10) |
Installation steps Ubuntu(7.10)
Add lines in sources.list "deb http://savi-esgframewk.sourceforge.net/esgrepo/ /"
Esg Server:
- Install server by "apt-get install savi-esg-server"
- savi-esg-server is meta package to install packages for esg server
Esg Client:
- Install server by "apt-get install savi-esg-client"
- savi-esg-client is meta package to install packages for esg client
|
Installation steps - Debian
Currently this framework only supports two machine, Unicast configuration, planning to split up into multiple machines in future releases
Install the deb package in the order.
Server:
savi-esgframewk-fcast_0.1-1_i386.deb,
savi-esgframewk-live_0.1-1_i386.deb
Client:
Install Mplayer steps:
0.Create a directory $/home/xxx/local_dir
1.download live media library code to $/home/xxx/local_dir/live from the URL [http://live555.com/liveMedia/ ]
1a.complie the live as per the instructions given.
2.download mplayer source code to $/home/xxx/local_dir/mplayer from the URL [ http://www.mplayerhq.hu/design7/dload.html]
3. change directory to $/home/xxx/local_dir/Mplayer
- ./configure --enable-live --with-livelibdir=/home/xxx/local_dir/live --enable-network
- Make
- Make install
libosip2_2.2.2-1_i386.deb
savi-esgframewk-fcast_0.1-1_i386.deb
savi-esgplayer_0.1-1_i386.deb
Target Platform: Debian |
Usage steps - Debian,Ubuntu
Server Set up:
1. Place the Mpg media files in the path /usr/local/esg/media directory.
2. Change the directory /usr/local/esg,
a. Edit the esg_sim.py file for the ip address of the server
b. Run the command "python esg_sim.py" to generate the esg files.
Running the esg media server :
1. From the command line prompt $esgmediaserver.sh start
1a. From the command line prompt $esgmediaserver.sh stop
2. Change the directory to /use/local/esg, sh file_s.sh -d $destinationip
3. to update the media content copy the *.mpeg files to /usr/local/esg/media dir
& restart esg media server by "esgmediaserver.sh restart"
4. after a courousal update period(default 10 secs) same will be reflected in esg files and also in esg client ui
Client usage:
+ configuring the esg player for esg source.
From the command line $ui -> esg player will be invoked.
UI menu -> settings => launches settings dialog, enter the server ip address
Close the ui menu -> close
+ Playing the program
From the command line $ui -> esg player will be invoked.
select the program from the tree, click the play button from the toolbar
program will be played
|
| Follow this link to view the savi-esgplayer running on debian => [SCREEN SHOTS] |
Installation steps - Maemo(N800/N770)
Currently this framework only supports machine-Device, Unicast configuration, planning to split up into multiple machines in future releases
Install the deb package in the order.
Server:
savi-esgframewk-fcast_0.1-1_i386.deb,
savi-esgframewk-live_0.1-1_i386.deb
Client:
Install Mplayer steps:
Precondition: scratchbox development [ref] environment should be available
0.Create a directory $/home/xxx/local_dir
1.download live media library code to $/home/xxx/local_dir/live/ from the URL [ http://live555.com/liveMedia/ ]
1a. compile the live as per the instructions given.
2.download mplayer source code to $/home/xxx/local_dir/mplayer from the URL [ https://garage.maemo.org/scm/?group_id=54 ]
3. change the rules file $/home/xxx/local_dir/mplayer/debian/rules to configure mplayer with live rtsp streaming support
add below lined to configure options in rules file
--enable-live --with-livelibdir=/home/xxx/local_dir/live --enable-network
4.dpkg-buildpackage -rfakeroot
mplayerxxx_armel.deb will be created.
copy the mplayerxxx_armel.deb,libosip2_2.2.2-1_armel.deb,savi-esgframewk-fcast_0.1-1_armel.deb,savi-esgplayer_0.1-1_armel.deb to the MMC
Place the MMC into the device, install the packages from the Application Manager in the order.
Target Platform: Maemo |
Usage steps - Maemo(N800/N770)
Server Set up:
1. Place the Mpg media files in the path /usr/local/esg/media directory.
2. Change the directory /usr/local/esg,
a. Edit the py_sim.py file for the ip address of the server
b. Run the command "python py_sim.py" to generate the esg files.
Running the esg media server :
1. From the command line prompt $esg_media_server. -> displays the available rtsp urls on the console
2. Change the directory to /use/local/esg, edit the file_s.sh edit the value of DESTINATION to the Client machine Ipaddress
-From the command line prompt $sh file_s.sh. -> esg server starts file casts the esg files at a regular interval specified in file_s.sh
Client usage:
+ launching the application
TaskNavigator -> others menu -> Extras -> Savi-esgplayer => esgplayer will be launched
+ configuring the esg player for esg source.
UI menu -> settings => launches settings dialog, enter the server ip address
+ Playing the program
Select the program from the tree, click the play button from the toolbar
+ refresh the esg content
Select the refresh option from the toolbar refresh operation, refresh result information will be displayed
|
| Follow this link to view the savi-esgplayer running on Maemo => [SCREEN SHOTS] |
|