File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Other Open Source Projects and the fly likes JMF MediaLocator() Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Products » Other Open Source Projects
Bookmark "JMF MediaLocator()" Watch "JMF MediaLocator()" New topic
Author

JMF MediaLocator()

Gajendra Kangokar
Ranch Hand

Joined: Dec 25, 2012
Posts: 71

hi all
in the below code which should capture Image from my webCam but when i run the program i am getting this Exception..."NoDataSourceException: Cannot find a DataSource for: vfw://0
at javax.media.Manager.createDataSource(Manager.java:1037)"



i have also tried giving my webcam path in medialocator..but still it gives same exception..
whats wrong here?is there something i have missed in the code?
actually i know very less about JMF..

Thank you
surlac surlacovich
Ranch Hand

Joined: Mar 12, 2013
Posts: 296

What is JMF?
Maneesh Godbole
Saloon Keeper

Joined: Jul 26, 2007
Posts: 10167
    
    8

surlac surlacovich wrote:What is JMF?

Java Media Framework


[How to ask questions] [Donate a pint, save a life!] [Onff-turn it on!]
surlac surlacovich
Ranch Hand

Joined: Mar 12, 2013
Posts: 296

Looks like it's unable to find device, try
Gajendra Kangokar
Ranch Hand

Joined: Dec 25, 2012
Posts: 71

yes i have tried that aswell but it says no devices detected
surlac surlacovich
Ranch Hand

Joined: Mar 12, 2013
Posts: 296

It looks like the device must be listed in JMFRegistry. See [JavaRanch Thread].
Let us know if it worked.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: JMF MediaLocator()
 
Similar Threads
Java Media Framework - How to capture screen activity?
JMF application not detecting web camera
How can I run an applet for accessing the PC camera
video and audio capture issues
JMF application not detecting web camera