• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JMF MediaLocator()

 
Gajendra Kangokar
Ranch Hand
Posts: 94
1
Eclipse IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 296
Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What is JMF?
 
Maneesh Godbole
Saloon Keeper
Posts: 11196
15
Android Eclipse IDE Google Web Toolkit Java Mac Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
surlac surlacovich wrote:What is JMF?

Java Media Framework
 
surlac surlacovich
Ranch Hand
Posts: 296
Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Looks like it's unable to find device, try
 
Gajendra Kangokar
Ranch Hand
Posts: 94
1
Eclipse IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
yes i have tried that aswell but it says no devices detected
 
surlac surlacovich
Ranch Hand
Posts: 296
Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It looks like the device must be listed in JMFRegistry. See [JavaRanch Thread].
Let us know if it worked.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic