• Post Reply Bookmark Topic Watch Topic
  • New Topic

Unable to play files in JMStudio.  RSS feed

 
Sachin H. Gupta
Greenhorn
Posts: 17
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I installed JMF a few days back on my system, JMStudio was able to play few files at that time. I was using framework for creating a media player. I tried to add plugins for supporting more file formats but things did not worked correctly, so I uninstallled everything realated to JMF. I installed it again and now JMStudio is not playing any file and reports the following error.The PlayerApplet given in jmf-guide gives error "Unable to handle format : <details>" for every file.

Does anyone know what is the problem and how to fix it .
Untitled.jpg
[Thumbnail for Untitled.jpg]
The path to the file ends in the second line "NetBeansProjects\Sample\abc.wav" . The text that follows are files that I played earlier.
 
Rameshwar Soni
Ranch Hand
Posts: 247
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
JMF is quite old and therefore it doesn't support all file formats and even if it supports a particular file format then too there are other problems like say sound codec compatibility problem etc...

For example I tried playing 3 to 4 .mp3 files through JMStudio and only 1 was getting played even though all had the same file formats.

Or best go for some other library similar to JMF. I don't know which one you should go for since in my case I had the restriction that I have to use only JMF.
 
Sachin H. Gupta
Greenhorn
Posts: 17
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am having problems playing the wav files also. It was working earlier but its not working now.
 
Rameshwar Soni
Ranch Hand
Posts: 247
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sachin TrojanGupta wrote:I am having problems playing the wav files also. It was working earlier but its not working now.


Do you mean to say that a file which was playing earlier that same file is not playing now ? I am not sure about such case. Trying de-allocating and closing the player in your code

 
Sachin H. Gupta
Greenhorn
Posts: 17
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes, it is "THE PROBLEM" and I am sure about it. And the problem is with JMStudio, I am not using my code right now.
 
Rameshwar Soni
Ranch Hand
Posts: 247
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sorry Sachin I haven't faced any such problems with JMStudio wherein a file which was getting played previously is not getting played after some time. All I can say is try re-installing JMF or WHY NOT start writing code for the file which was getting played previously ?
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!