• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Tim Cooke
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Liutauras Vilda
Sheriffs:
  • Jeanne Boyarsky
  • Rob Spoor
  • Bear Bibeault
Saloon Keepers:
  • Jesse Silverman
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Piet Souris
  • Al Hobbs
  • salvin francis

Impossible to find a Player with JMF ==> NoPlayerException. Why ?

 
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello,
It is actually the first time I am using the JMF API . It seems quite cool to use, but each time I try to play a video (.mov or .avi) , I have the javax.media.NoPlayerException ... But I cannot understand why !! My code seems ok, but...

As input String I give the Absolute path to the movie I want to play, for example /Users/einbert/Desktop/SMMWriter/Transcript/010403_14_40.mov . But each time I have the following error message : javax.media.NoPlayerException: Cannot find a Player for :/Users/einbert/Desktop/SMMWriter/Transcript/010403_14_40.mov . I also tried to open a movie in the Transcript folder that does not exist, but it also throws the same exception (of course with another movie name), instead of a IOException !! Where is the problem ?
Thanks a lot.
Chris
 
Christoph Ehret
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Ok, I found the problem... I had to add file:/// to the medialocator , i.e

Chris
 
reply
    Bookmark Topic Watch Topic
  • New Topic