How to play a local video (on PC's HD) through the IRT Middleware for iTV ?

I want to play a local video stored in my PC through the IRT environment. Most of the examples i found about the subject concern the play of broadcasted video through the dedicated JMF Player associated to the service (ServiceContext). I try to use the same mechanism to play my video by applying the setDataSource() method to the default Player but it doesn't work ...

If you have a sample of code it would be very nice

thanks in advance

[458 byte] By [KWIS75a] at [2007-10-3 7:18:02]
# 1

This quote from IRT manual is not exactly what you are looking for but maybe it can be useful:

To play a transport stream from a file (HDD TS Playback) you need to add your transport stream file path by

hand to the 揕ocalTransponders.cfg?or by using the navigator menu setup ?local transponders. After

adding the transport stream you need to scan it. This scan can be performed in the menu setup ?service

scan ?scan local.

MarcoFraa at 2007-7-15 2:15:08 > top of Java-index,Java Mobility Forums,Consumer and Commerce...
# 2

I'm using IRT MHP 1.0.3 reference implementation, and in this RI you need to edit 3 files to play a transport stream file in the HD.

1. Transponders.xml

please put a line:

<!--satellite frequency="1" orbposition="192" eastwest="E" polarisation="H" symbolrate="27500000" onid="1" tsid="437" nid="1"/-->

where frequency must be 1~100, and you also need a TS analyzer to find the correct onid, tsid, nid of the transport stream.

2. LocalTransponders.cfg

According to the frequency you put in Transponders.xml, add one line as follows:

(frequency) = " (absolute path of the transport stream file in your HD) "

3. navigator.prop

you can put as follows:

transponder0 = MyTransponder

transponder0id = dvb://onid.tsid

Thus you can tune to the local transport stream by selecting "MyTransponder" listed in the "Transponders" column. The RI will then parse the SI and list all services carried by the transport stream.

or you can select a service directly by putting as follows:

service0= MyService

service0id = dvb://onid.tsid.sid

Thus the service will be listed in the "Services" column.

I didn't try the scan functionality as MarcoFra describes, maybe it's a feature of later RI.

I hope this works :)

woodheada at 2007-7-15 2:15:08 > top of Java-index,Java Mobility Forums,Consumer and Commerce...