Skip to main content

TITLE_UNBOUND_DISC_BOUND problems

4 replies [Last post]
418 Guest 1
Offline
Joined: 2011-04-27
Points: 0

Hi,

I am trying to create a BD with 2 titles, one of them starts the BD
menu (GRIN based) and the other for progressive playlist playback.

In order to restart title 2 I use:

Service localService = siManager.getService(new
BDLocator(DISC_ID,
1, -1));
ServiceContextFactory.getInstance()

.getServiceContext(GrinXlet.xletContext).select(localService);

localService = siManager.getService(new
BDLocator(DISC_ID, 2, -1));
ServiceContextFactory.getInstance()

.getServiceContext(GrinXlet.xletContext).select(localService);

The menu xlet is in both BDJO files and as TITLE_UNBOUND_DISC_BOUND and
autostart. The playback xlet is only in the second BDJO file as
TITLE_BOUND_DISC_BOUND and autostart. Switching from 'Title 1' to
'Title 2' the first time works and the JAR file that contains the
playlist and the CLPI files are extracted and enabled without problems,
BUT, after the switch from 'Title 2' to 'Title 1' the menu xlets
restarts.

Is there a working example that uses TITLE_UNBOUND_DISC_BOUND ?

Thanks,
George.

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
418 Guest 1
Offline
Joined: 2011-04-27
Points: 0

The problem is also described here:

http://forums.java.net/node/682720

Thanks,
George.

On Wed, Apr 27, 2011 at 1:33 PM, wrote:

> Hi,
>
> I am trying to create a BD with 2 titles, one of them starts the BD
> menu (GRIN based) and the other for progressive playlist playback.
>
> In order to restart title 2 I use:
>
> Service localService = siManager.getService(new
> BDLocator(DISC_ID,
> 1, -1));
> ServiceContextFactory.getInstance()
>
> .getServiceContext(GrinXlet.xletContext).select(localService);
>
> localService = siManager.getService(new
> BDLocator(DISC_ID, 2, -1));
> ServiceContextFactory.getInstance()
>
> .getServiceContext(GrinXlet.xletContext).select(localService);
>
> The menu xlet is in both BDJO files and as TITLE_UNBOUND_DISC_BOUND and
> autostart. The playback xlet is only in the second BDJO file as
> TITLE_BOUND_DISC_BOUND and autostart. Switching from 'Title 1' to
> 'Title 2' the first time works and the JAR file that contains the
> playlist and the CLPI files are extracted and enabled without problems,
> BUT, after the switch from 'Title 2' to 'Title 1' the menu xlets
> restarts.
>
> Is there a working example that uses TITLE_UNBOUND_DISC_BOUND ?
>
> Thanks,
> George.
>

joe_rice
Offline
Joined: 2007-01-04
Points: 0

George,

If using a progressive playlist, is there a VFS update happening when starting title 2? If so, all xlets are destroyed during the VFS update, title-bound or not.

Joe

On Apr 27, 2011, at 5:31 AM, George Georgopoulos wrote:

> The problem is also described here:
>
> http://forums.java.net/node/682720
>
> Thanks,
> George.
>
> On Wed, Apr 27, 2011 at 1:33 PM, wrote:
> Hi,
>
> I am trying to create a BD with 2 titles, one of them starts the BD
> menu (GRIN based) and the other for progressive playlist playback.
>
> In order to restart title 2 I use:
>
> Service localService = siManager.getService(new
> BDLocator(DISC_ID,
> 1, -1));
> ServiceContextFactory.getInstance()
>
> .getServiceContext(GrinXlet.xletContext).select(localService);
>
> localService = siManager.getService(new
> BDLocator(DISC_ID, 2, -1));
> ServiceContextFactory.getInstance()
>
> .getServiceContext(GrinXlet.xletContext).select(localService);
>
> The menu xlet is in both BDJO files and as TITLE_UNBOUND_DISC_BOUND and
> autostart. The playback xlet is only in the second BDJO file as
> TITLE_BOUND_DISC_BOUND and autostart. Switching from 'Title 1' to
> 'Title 2' the first time works and the JAR file that contains the
> playlist and the CLPI files are extracted and enabled without problems,
> BUT, after the switch from 'Title 2' to 'Title 1' the menu xlets
> restarts.
>
> Is there a working example that uses TITLE_UNBOUND_DISC_BOUND ?
>
> Thanks,
> George.
>

418 Guest 1
Offline
Joined: 2011-04-27
Points: 0

Hi Joe,

yes there is a VFS update in the title2 playback xlet (after downloading the
JAR that contains the BD playlist and the CLPI files).

Yes I see that that is imposible from your post in:

http://forums.java.net/node/682720

That make me very happy :-)

By the way I managed to do progressive playlists without restart by reusing
the same CLPI file for all M2TS files which are ~30sec each. The trick is to
make all the M2TS files as identical as possible. With this trck live
streaming from a camera could be possible. There is only a small freeze
(~1sec) every 30sec in playback. I still try to understand the structure of
the CLPI files.

Thanks,
George.

On Wed, Apr 27, 2011 at 8:22 PM, Joe Rice wrote:

> George,
>
> If using a progressive playlist, is there a VFS update happening when
> starting title 2? If so, all xlets are destroyed during the VFS update,
> title-bound or not.
>
> Joe
>
> On Apr 27, 2011, at 5:31 AM, George Georgopoulos wrote:
>
> The problem is also described here:
>
> http://forums.java.net/node/682720
>
> Thanks,
> George.
>
> On Wed, Apr 27, 2011 at 1:33 PM, wrote:
>
>> Hi,
>>
>> I am trying to create a BD with 2 titles, one of them starts the BD
>> menu (GRIN based) and the other for progressive playlist playback.
>>
>> In order to restart title 2 I use:
>>
>> Service localService = siManager.getService(new
>> BDLocator(DISC_ID,
>> 1, -1));
>> ServiceContextFactory.getInstance()
>>
>> .getServiceContext(GrinXlet.xletContext).select(localService);
>>
>> localService = siManager.getService(new
>> BDLocator(DISC_ID, 2, -1));
>> ServiceContextFactory.getInstance()
>>
>> .getServiceContext(GrinXlet.xletContext).select(localService);
>>
>> The menu xlet is in both BDJO files and as TITLE_UNBOUND_DISC_BOUND and
>> autostart. The playback xlet is only in the second BDJO file as
>> TITLE_BOUND_DISC_BOUND and autostart. Switching from 'Title 1' to
>> 'Title 2' the first time works and the JAR file that contains the
>> playlist and the CLPI files are extracted and enabled without problems,
>> BUT, after the switch from 'Title 2' to 'Title 1' the menu xlets
>> restarts.
>>
>> Is there a working example that uses TITLE_UNBOUND_DISC_BOUND ?
>>
>> Thanks,
>> George.
>>
>
>
>

joe_rice
Offline
Joined: 2007-01-04
Points: 0

Hi George,

Glad to hear it's working as expected (at least given the spec constraints). Clever trick with the CLPI files!

Joe

On Apr 27, 2011, at 11:25 AM, George Georgopoulos wrote:

> Hi Joe,
>
> yes there is a VFS update in the title2 playback xlet (after downloading the JAR that contains the BD playlist and the CLPI files).
>
> Yes I see that that is imposible from your post in:
>
> http://forums.java.net/node/682720
>
> That make me very happy :-)
>
> By the way I managed to do progressive playlists without restart by reusing the same CLPI file for all M2TS files which are ~30sec each. The trick is to make all the M2TS files as identical as possible. With this trck live streaming from a camera could be possible. There is only a small freeze (~1sec) every 30sec in playback. I still try to understand the structure of the CLPI files.
>
> Thanks,
> George.
>
> On Wed, Apr 27, 2011 at 8:22 PM, Joe Rice wrote:
> George,
>
> If using a progressive playlist, is there a VFS update happening when starting title 2? If so, all xlets are destroyed during the VFS update, title-bound or not.
>
> Joe
>
> On Apr 27, 2011, at 5:31 AM, George Georgopoulos wrote:
>
>> The problem is also described here:
>>
>> http://forums.java.net/node/682720
>>
>> Thanks,
>> George.
>>
>> On Wed, Apr 27, 2011 at 1:33 PM, wrote:
>> Hi,
>>
>> I am trying to create a BD with 2 titles, one of them starts the BD
>> menu (GRIN based) and the other for progressive playlist playback.
>>
>> In order to restart title 2 I use:
>>
>> Service localService = siManager.getService(new
>> BDLocator(DISC_ID,
>> 1, -1));
>> ServiceContextFactory.getInstance()
>>
>> .getServiceContext(GrinXlet.xletContext).select(localService);
>>
>> localService = siManager.getService(new
>> BDLocator(DISC_ID, 2, -1));
>> ServiceContextFactory.getInstance()
>>
>> .getServiceContext(GrinXlet.xletContext).select(localService);
>>
>> The menu xlet is in both BDJO files and as TITLE_UNBOUND_DISC_BOUND and
>> autostart. The playback xlet is only in the second BDJO file as
>> TITLE_BOUND_DISC_BOUND and autostart. Switching from 'Title 1' to
>> 'Title 2' the first time works and the JAR file that contains the
>> playlist and the CLPI files are extracted and enabled without problems,
>> BUT, after the switch from 'Title 2' to 'Title 1' the menu xlets
>> restarts.
>>
>> Is there a working example that uses TITLE_UNBOUND_DISC_BOUND ?
>>
>> Thanks,
>> George.
>>
>
>