Skip to main content

NEW Displaying Video in LG3D

2 replies [Last post]
mwd
Offline
Joined: 2006-12-09

With regard to my last post. I've been doing a bit of playing around and it appears that as soon as you are in the LG3D environment you get the error
Unable to handle format: H261/RTP, 352x288
Looking at the same program running in normal JAVA the other messages re
com.sun.media.content.unknown.Handler@11799e7
Still show but JAVA somehow continues and can display the h261 format with no problem.
I've noticed in the lglog a message
WARNING: Executing java app in the same JVM:
I'm wondering if this is the problem.
I should have also said that I'm running this under XP.
All ideas greatfully received.
Mike

Reply viewing options

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

> I've noticed in the lglog a message
> WARNING: Executing java app in the same JVM:
> I'm wondering if this is the problem.

This is completely normal for LG3D.

Could it be a classpath problem? Maybe some flag is getting sent to
the VM when you run outside of LG3D that's not getting sent to the
LG3D VM instance?

William

---------------------------------------------------------------------
To unsubscribe, e-mail: interest-unsubscribe@lg3d.dev.java.net
For additional commands, e-mail: interest-help@lg3d.dev.java.net

mwd
Offline
Joined: 2006-12-09

Hi william
The main program sets up the RTP video capture and then displays in a JPanel placed in LG3D using a SwingNode. It looks as if separate threads are fired and the looking glass tries to display before the system has time to realize the stream.
I've sort of proved this by including a Thread sleep which does not appear to have any effect on the code.
Does this make any sense?
Mike