Skip to main content

BD-J works only on TMT

7 replies [Last post]
megaflopp
Offline
Joined: 2010-06-24

Hi all,

Several months I read this forum and found some really helpful things in here. So this is my first post, please let me shortly intodruce me. My name is Holger, I'm from Germany (thats why my english is not sooo perfect) and I study applied computer science.

For my degree, I startet to create a set of BD-J-Applikations and build up andevelopment enviroment with Java ME 3.0 SDK and TMT. Everything works fine, dealing with some problems.

Using an authoring-software I put videos and xlets together on one disk and now the trouble begins. TMT plays everything as expected. But no other player does. Tried PowerDVD, WinDVD, PS3, Panasonic DMP BD T300.

What I've done until this post:

- Build two Xlets which want to access files on the disc (RGB-Images PNG)
- Use BDCertgenerator to build root- and app-Certificate
- Import keystore to Java Me SDK
- Sign .jar using BDSigner
- put everything together in the authoring-software
- checked, if orgID is everywhere the same (7fff1234)
- checked, if appID is everywhere the same (00004001)

PRF is automatically generated and looks like this:

<?xml version="1.0" encoding="UTF-8"?>

When I start the disc in PowerDVD the movies are played normally, trying to start the xlets returns only a black screen with no operation on the disc-drive.

Thank you for reading my post until the end!

Is there anybody who can help with my Problem?

Cheers,
Holger

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
Thiago Galbiatti Vespa

I have this same issue and the workaround was put "0x" as Chihiro said.

On Mon, Aug 30, 2010 at 3:14 PM, wrote:

> Hi Holger,
>
> Try putting "0x" in front of both orgID and appID of the perm file, such
> as:
>
> > appid="0x00004001">
>
> I vaguely recall having a discussion about this issue on this forum, and
> how to work around it for the JavaME SDK 3.0; I think there was a way to
> tweak the perm file generation...
>
> Chihiro
> [Message sent by forum member 'chihiro_saito']
>
> http://forums.java.net/jive/thread.jspa?messageID=481288
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: bd-j-dev-unsubscribe@hdcookbook.dev.java.net
> For additional commands, e-mail: bd-j-dev-help@hdcookbook.dev.java.net
>
>

--
Thiago Galbiatti Vespa
MSc Computer Science (USP) - BSc Computer Science (UNESP)
Oracle Certifications: SCJA, SCJP, SCSNI, SCDJWS, SCEA-I
@thiagovespa - http://thiagovespa.com.br
[att1.html]

megaflopp
Offline
Joined: 2010-06-24

Hi there!

You are great, my problem is solved!

There have been three errors according to PRF and IDs.

- 0x in front of OrgID and AppID is important
- the '\' in the filename of the PRF ws wrong
- having two different AppIDs (00004001 and 4001) is not a good idea.

I think the creation of PRF in Java ME 3.0 SDK is a little bit buggy, the first two errors were generated there. The third... well...however... ;-)

The main thing is: It works. Until now on the other software-players, today I will test it on the Panasonic thing.

Thanks for your help!
Holger

agentike
Offline
Joined: 2009-11-08

Hi Holger,
since I've also been a german student working with BD-J there might be a chance that I can help you. I didn't deal with this topic for a while but I guess I still know about most of the difficulties I had, etc. If you have any questions feel free to contact me: agent.ike (at) googlemail.com

Best Regards, Christian

chihiro_saito
Offline
Joined: 2006-11-08

Hi Holger,

Try putting "0x" in front of both orgID and appID of the perm file, such as:

I vaguely recall having a discussion about this issue on this forum, and how to work around it for the JavaME SDK 3.0; I think there was a way to tweak the perm file generation...

Chihiro

megaflopp
Offline
Joined: 2010-06-24

Hi Chihiro!

Thanks for your answer, but it don't works for me.

But by the way, as I tried to make your suggested changes, I've had a problem with the filename. In the JAR, the PRF is named "\bluray.xletname.perm" and I am not able to save a file with an "\" in its name. May this be the problem? If I open the JAR in WinRAR, I can see the file, opened in 7ZIP the file is hidden.

I will try tomorrow morning and let you know!

Holger

chihiro_saito
Offline
Joined: 2006-11-08

Hi Holger,

Here's that old thread regarding this topic:

http://forums.java.net/jive/message.jspa?messageID=324651

Indeed, having a perm file with "\" prepended to the name doesn't sound correct, for sure...

Chihiro

chihiro_saito
Offline
Joined: 2006-11-08

.. and this thread talks about how to use your custom perm file instead of letting SDK generate one.

http://forums.java.net/jive/thread.jspa?messageID=351969&#351969