With JMF I Can't Switch To Composite1 port.

The main problem is:

PortControler is not implemented!

Look here:

http://java.sun.com/products/java-media/jmf/2.1.1/issues.html

So If I do:

Vector deviceList = CaptureDeviceManager.getDeviceList(new RGBFormat());

if ( deviceList ==null || deviceList.size() == 0){

out("no capture device available");

return;

}

CaptureDeviceInfo cdi = (CaptureDeviceInfo)deviceList.firstElement();

DataSource ds = Manager.createDataSource(cdi.getLocator());

out("ds.getcontrols:"+Arrays.asList(ds.getControls()));

PortControl pc = (PortControl) ds.getControl("javax.media.control.PortControl");

//pc.setPorts(PortControl.COMPOSITE_VIDEO);

out(pc ==null ?"<null>" : pc.toString());

I will always get <null>!

How to implement PortControl?

I need this, because in JMStudio the window is black.

in xawtv or camstream I can see sth. from my camera: I just put video source to 'composite1'.

I want use java, not c++ or even c!!!

Thank you, Peter.

BTW: Is JMF still under development?

BTW2: camera: ccd sanyo, os: suse linux 10.0, java: jdk1.6

[1528 byte] By [peterkaricha] at [2007-11-27 3:44:06]
# 1
Have you tried posting your question on the JMF forum? http://forum.java.sun.com/forum.jspa?forumID=28
gymma at 2007-7-12 8:47:44 > top of Java-index,Security,Cryptography...
# 2
I though THIS here is the "Java Media Framework forum"The path is:Developers Home > Developer Forums > Desktop > Multimedia and Imaging APIs > Java Media Framework >Right?
peathala at 2007-7-12 8:47:45 > top of Java-index,Security,Cryptography...