Skip to main content

testing bdj applications with bd player

12 replies [Last post]
francisa
Offline
Joined: 2009-09-30
Points: 0

Hi,
I am a new to this group and to bdj development. I have a bluray player with me. Is it possible for me to copy the jar files in to USB and test the same?

I have tried copying the files in an avchd dir format [BDMV]\[JAR].but it is not launching the menu in the player. I even tried burning the avchd folder on to a dvd with udf 2.5. That also didn't work out.

can someone guide me in doing this?

Thanks and Regards,
Francis

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
yogesh123
Offline
Joined: 2010-07-23
Points: 0

Hi,

Could you please let me know which IDE you are using for your BD-J 3D application development.

thanks
Yogesh

vinaykagarwal
Offline
Joined: 2006-01-14
Points: 0

Francis,

The method that does work with all players is VFS update of the jar file from the network. But it does need a blu ray disc of your application. You can use ProgressivePlaylist or Bridgehead samples for guidance (I prefer the former). If you do that, you would simply have a jar file as an asset (you won't need mpls/clpi/m2ts as assets or progressive assets). Good luck.

Vinay

billf
Offline
Joined: 2004-02-13
Points: 0

There's also the disc image that was used for the last JavaOne. It's a pre-built image that you can burn to a BD-R or a BD-RE, and it includes a pre-configured version of the bridgehead xlet. One of the options is to download a disc image from a PC on your LAN.

The only tricks here are that you need to find someone to burn you that first BD-R disc, if you don't have a burner yourself, and you need to be careful that you sign the download image with the same certificate that was used on the original disc.

This is documented in the JavaOne disc image. It's available at the hdcookbook project page, under "Documents & files" (on the right of the screen), or directly at https://hdcookbook.dev.java.net/servlets/ProjectDocumentList

francisa
Offline
Joined: 2009-09-30
Points: 0

Thanks Bill & Vinay for the answers..

But I have one more question regarding this. Is it possible for me to write the BDMV image (including the JAR & BDJO files) in memory stick or DVD disc and play it in a BD player ?

When I convert the same image to AVCHD format and launch from PC based application, the menu and application are launched. But the same is not coming up in the LG BD player I have.

The screen is going black with 0:00:00 displayed and no menu is coming up.

Thanks and Regards,
Francis

Message was edited by: francisa

billf
Offline
Joined: 2004-02-13
Points: 0

Hi Francis,

I don't know. I've never tried, but it might work. The answer might vary by player; I don't think there are any requirements around playing a recordable DVD with a BD image on it, and playing from a memory stick certainly isn't required.

Cheers,

Bill

francisa
Offline
Joined: 2009-09-30
Points: 0

Thanks Bill for the comments.

I was trying to run the BD-j content on DVD/USB as I don't have a BD burner .
I have the BDMV & CERTIFICATE folders in the root of the disk.
I tested the folder structure on Total Media Theater which is working fine. I am able to see the menu and Java content.
But when I burn the same folders on DVD, it is not working.

Will BD-J content run from DVD or USB disk on BD players ?

Thanks and Regards,

Francis

Joe Rice

You might get lucky on some players if you burn your DVD using a UDF 2.5 filesystem.

Joe

----- Original Message -----
From: bd-j-dev@mobileandembedded.org
To: bd-j-dev@hdcookbook.dev.java.net
Sent: Sunday, October 4, 2009 9:32:03 AM GMT -08:00 US/Canada Pacific
Subject: [BD-J-DEV] Re: testing bdj applications with bd player

Thanks Bill for the comments.

I was trying to run the BD-j content on DVD/USB as I don't have a BD burner .
I have the BDMV & CERTIFICATE folders in the root of the disk.
I tested the folder structure on Total Media Theater which is working fine. I am able to see the menu and Java content.
But when I burn the same folders on DVD, it is not working.

Will BD-J content run from DVD or USB disk on BD players ?

Thanks and Regards,

Francis
[Message sent by forum member 'francisa' (francisa@gmail.com)]

http://forums.java.net/jive/thread.jspa?messageID=366729

---------------------------------------------------------------------
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

---------------------------------------------------------------------
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

Endre Stølsvik

If anyone do get lucky with this, please report!
Thanks,
Endre!

On Sun, Oct 4, 2009 at 20:46, Joe Rice wrote:

> You might get lucky on some players if you burn your DVD using a UDF 2.5
> filesystem.
>
> Joe
>
> ----- Original Message -----
> From: bd-j-dev@mobileandembedded.org
> To: bd-j-dev@hdcookbook.dev.java.net
> Sent: Sunday, October 4, 2009 9:32:03 AM GMT -08:00 US/Canada Pacific
> Subject: [BD-J-DEV] Re: testing bdj applications with bd player
>
> Thanks Bill for the comments.
>
> I was trying to run the BD-j content on DVD/USB as I don't have a BD burner
> .
> I have the BDMV & CERTIFICATE folders in the root of the disk.
> I tested the folder structure on Total Media Theater which is working fine.
> I am able to see the menu and Java content.
> But when I burn the same folders on DVD, it is not working.
>
> Will BD-J content run from DVD or USB disk on BD players ?
>
> Thanks and Regards,
>
> Francis
> [Message sent by forum member 'francisa' (francisa@gmail.com)]
>
> http://forums.java.net/jive/thread.jspa?messageID=366729
>
> ---------------------------------------------------------------------
> 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
>
>
> ---------------------------------------------------------------------
> 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
>
>
[att1.html]

freewheelin
Offline
Joined: 2010-09-29
Points: 0

> If anyone do get lucky with this, please report!

The JavaOne image runs off of USB on my Sony BDP-370 if patched using [url=http://multiavchd.deanbg.com/goBD.exe]goBD.exe[/url] from [url=http://multiavchd.deanbg.com/]multiavchd[/url]. Turtles, weather, and twitter work, but VFS functions all throw 'Player doesn't support VFS' error. I'm a total newb as far as bdj goes, so maybe the experts can opine as to possible workarounds.

goBd.exe requires [url=http://multiavchd.deanbg.com/calclib.dll]calclib.dll[/url]. None of the options ('NTSC/PAL', 'set INDX0100') seem to make any difference, all that's required is to press 'Add ID-EX' (which, as one would expect, extends index.bdmv), and then place the BDMV and CERTIFICATE folders in the root of the usb drive. Interestingly, loading the same file structure from a UDF 2.5 dvdr hangs my player.

Message was edited by: freewheelin

freewheelin
Offline
Joined: 2010-09-29
Points: 0

On further investigation extending index.bdmv using hdcookbook's indexconverter (from DiscCreationTools/experimental/AVCHDConverter) also does the job, so forget goBD. I had earlier tried generating a full avchd file structure, which wouldn't play, but it turns out that an index-converted bluray structure is all that's required, at least as far as the Sony BDP-S370 goes anyway. Hindsight is 20/20, as always :-)

But as mentioned above, VFS isn't working, apparently because '[i]bluray.localstorage.level=0[/i]'. Is this tied to the fact it's running from usb instead of blu ray disc? It's hard to believe the player itself provides no storage.

Joe Rice

Many players provide no built-in storage, and level 0 indicates that no storage is available. When running from USB it may be that the player can't then use the USB device for the BUDA.

Joe

On Sep 30, 2010, at 9:13 AM, bd-j-dev@mobileandembedded.org wrote:

> On further investigation extending index.bdmv using hdcookbook's indexconverter (from DiscCreationTools/experimental/AVCHDConverter) also does the job, so forget goBD. I had earlier tried generating a full avchd file structure, which wouldn't play, but it turns out that an index-converted bluray structure is all that's required, at least as far as the Sony BDP-S370 goes anyway. Hindsight is 20/20, as always :-)
>
> But as mentioned above, VFS isn't working, apparently because '[i]bluray.localstorage.level=0[/i]'. Is this tied to the fact it's running from usb instead of blu ray disc? It's hard to believe the player itself provides no storage.
> [Message sent by forum member 'freewheelin']
>
> http://forums.java.net/jive/thread.jspa?messageID=484045
>
> ---------------------------------------------------------------------
> 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
>

---------------------------------------------------------------------
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

freewheelin
Offline
Joined: 2010-09-29
Points: 0

Thanks for the response, Joe, it put me on the right track!

Having read somewhere that a BD-Live Player is required to provide 1gb of local storage I had naturally assumed it ought to be present. After digging through the player's manual it turns out that I have to provide local storage via a usb drive on the rear port. Of course I'd been using the more convenient front port until then. So the javaOne VFS functions are now all working as advertised.

Which brings me to the next problem, downloaded binary images run on usb:

--- JavaOne: only as bluray structure with extended index.
--- 2008_03_hdcookbook_disc_image_no_jar_bdjo: only as AVCHD structure.

but compiled examples (e.g. HelloWorldXlet) appear as data discs and won't play, either as bluray-extended or AVCHD structures. My setup is linux with JavaDocStubs, ant builds are all successful. I switched to windows and set up a build environment just to see if it made any difference but the results are the same. I've gone through and checked orgids for consistency (not that there would be any reason to). I've also tried compiling against other BDJ.jars found on the web. No difference.

The only thing that occurs to me is that maybe there's some intrinsic difference between the hdcookbook binaries and my builds due to changes over time in svn, but I lack the expertise to resolve this. I'd appreciate any guidance you may have.