This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Other JSE/JEE APIs and the fly likes Impossible to find a Player with JMF ==> NoPlayerException. Why ? 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 » Java » Other JSE/JEE APIs
Bookmark "Impossible to find a Player with JMF ==> NoPlayerException. Why ?" Watch "Impossible to find a Player with JMF ==> NoPlayerException. Why ?" New topic
Author

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

Christoph Ehret
Greenhorn

Joined: Dec 30, 2002
Posts: 12
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

Joined: Dec 30, 2002
Posts: 12
Ok, I found the problem... I had to add file:/// to the medialocator , i.e

Chris
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Impossible to find a Player with JMF ==> NoPlayerException. Why ?
 
Similar Threads
Playing RTSP stream gives error
Why I get java.lang.NullPointerException for grabing image.
View 2 movies on the same applet
Urgent: JMF Player for real time voice input
Compilation error or Runtime exception?