Hi guys im having a big problem with JMF and i would appreciate your help...
i saw a lot of source codes with these two lines
unfortunatly this doesnt work for me:
(Vecor is empty)
[PHP]Exception in thread "main" java.util.NoSuc hElementExcepti on
at java.util.Vecto r.firstElement( Vector.java:442 )
at Main.main(Main. java:58)[/PHP]
JMStudio works properely with no problems
any idea how can i repair it?
(im using windows Vista , HP laptop, built in webcam)
thank you
Jan Jarczyk
i saw a lot of source codes with these two lines
unfortunatly this doesnt work for me:
Code:
Vector deviceList = CaptureDeviceManager.getDeviceList(new VideoFormat(VideoFormat.YUV));
di = (CaptureDeviceInfo)deviceList.firstElement();
[PHP]Exception in thread "main" java.util.NoSuc hElementExcepti on
at java.util.Vecto r.firstElement( Vector.java:442 )
at Main.main(Main. java:58)[/PHP]
JMStudio works properely with no problems
any idea how can i repair it?
(im using windows Vista , HP laptop, built in webcam)
thank you
Jan Jarczyk
Comment