Java + Jmf(Webcam) + Ubuntu HELP
hello ..
i have a problem.. i already search on forum a lot..but i couldnt find the solution or something exactly like that..so..i'd like to ask some help over here..
i already installed jdk..jmf.. jmfregistry detects my webcam without problems.. i can use jmstudio to record some video and at kopete i could use my webcam..
the great problem is... i have a JAVA program that needs to connect to my webcam and take a picture.. but everytime i run my application i never can detect any device..
i tryed the device path like.. v4l://0... v4l2://0.. and a lot of others..
if someone is not familiar with code..
thats it:
this.mediaLocator = new MediaLocator("v4l://0");
somebody can help me?
Re: Java + Jmf(Webcam) + Ubuntu HELP
Quote:
Originally Posted by
fcsa
hello ..
i have a problem.. i already search on forum a lot..but i couldnt find the solution or something exactly like that..so..i'd like to ask some help over here..
i already installed jdk..jmf.. jmfregistry detects my webcam without problems.. i can use jmstudio to record some video and at kopete i could use my webcam..
the great problem is... i have a JAVA program that needs to connect to my webcam and take a picture.. but everytime i run my application i never can detect any device..
i tryed the device path like.. v4l://0... v4l2://0.. and a lot of others..
if someone is not familiar with code..
thats it:
this.mediaLocator = new MediaLocator("v4l://0");
somebody can help me?
Hello,
Have you done the tutorials and sample applications at the Sun site? It sounds like you are not really sure about how the JMF works.
Also, how are you writing the code? I see that there is a JMF plugin template for NetBeans. It's for a movie player, but it may provide you with the code pattern you need to see how to modify it for your own purposes.
Thanks.
mp