Skip to main content

DirectDraw and JMF issue

7 replies [Last post]
terymas
Offline
Joined: 2007-09-03

I all,

I have create a little app who draw a animation loop (24fps) using DirectDraw and a thread.sleep(timemillis).

When I test that without my jmf player I don't have any issues , it's wonderfull !
But when I start my jmf, I have some flash...

Someone has a idea ?

Thx,
Terry

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
Bill Foote

bd-j-dev@mobileandembedded.org wrote:
> I all,
>
> I have create a little app who draw a animation loop (24fps) using DirectDraw and a thread.sleep(timemillis).
>
> When I test that without my jmf player I don't have any issues , it's wonderfull !
> But when I start my jmf, I have some flash...
>
> Someone has a idea ?
>
> Thx,
> Terry

What player are you using? Is it something like xletview?

Playing a playlist should have no effect on Java-generated animation
in a BD player; it goes to a different video plane in hardware.

Bill

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

terymas
Offline
Joined: 2007-09-03

Hi Bill, how are you ?

this issue appear only on PowerDVD. And when I set my 'thread.sleep();'' with a time.millis = 5 fps, it's ok !

Terry

terymas
Offline
Joined: 2007-09-03

fixed !

dbreitenfeld
Offline
Joined: 2007-03-18

Hi Terry,

GREAT! What was your solution?

Cheers,

Denny B.
-------------------------------------------------------------------------------------------------------------
[i]NetBlender DoStudio Blu-ray Team - DSA - http://dostudio.netblender.com [/i]

terymas
Offline
Joined: 2007-09-03

Hi Denny...

Infact, you can draw every frame just on PS3, BD player accept the code but draw when it can and PC player can't too and you have artefact.

My java app test the player for know if that a PS3, BD player or PC and set my refresh speed.

And Denny, I signed up on your site for the BD Touch and after what' s happen, can you sent me a email with a direct contact form netblender ?

King regards,
Terry

gent2k7
Offline
Joined: 2007-06-25

Hi Terry,
Can you tell me how you determine if yor player is BD player, PS3 or PC ? I guess one can use System.getProperty with something like os.name java.home or user.dir etc.
What was your choice ?

dbreitenfeld
Offline
Joined: 2007-03-18

Hi Terry,

We have had a tremendous amount of interest in BD Touch from tens of thousands of people in more then 100 countries. Unfortunately this is not good news for you as you've been waiting to obtain the SDK for several weeks now. I do have some GREAT news for you, we've streamlined our BD Touch Connect SDK process and are able to send out the SDK to everyone on the waiting list by the end of next week. Some other good news is the SDK has evolved and now will work with any portable device with a WI-FI connection and running either Windows CE or a Java Micro VM. Over the next several weeks the SDK will be updated to include samples for various mobile devices. It also allows for a PC and Mac to connect to the BD Live player. All these new devices use the Gambit Handshaking technology that allows them to automatically find the BD Live player without entering an IP address so for a more traditional mobile phone this is ideal!

Terry you can always contact me directly via email using the following: my screen name @netblender.com. If you do not receive the SDK by the end of next week please don't hesitate to contact me.

Cheers,

Denny B.
-------------------------------------------------------------------------------------------------------------
[i]NetBlender DoStudio Blu-ray Team - DSA - http://dostudio.netblender.com [/i]