Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Deploying JMF with out installation  RSS feed

 
Sanjeev Charla
Ranch Hand
Posts: 90
Firefox Browser Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i am trying to do this from last 6 months, but not succeeded, so that's why i am here now. i have developed a swing based media player using the JMF. But when i am trying to deploy this application at another system, it doesn't work even though i have included the jmf.jar and other related stuff. it works fine if i install the jmf setup. but it is not good to the user to install jmf and then run my player . so many times i have searched in google and other java related forums but no use. Please explain to me how to deploy JMF with out need to install it on other system.

Thank you . . .
 
Tom Reilly
Rancher
Posts: 618
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What does "it doesn't work" mean?
 
Sanjeev Charla
Ranch Hand
Posts: 90
Firefox Browser Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This type of exceptions are coming :

Unable to handle format: mpeglayer3, 22050.0 Hz, 16-bit, Mono, LittleEndian, Signed, 4000.0 frame rate, FrameSize=16384 bits

Failed to realize: com.sun.media.PlaybackEngine@1b493c6

Error: Unable to realize com.sun.media.PlaybackEngine@1b493c6

javax.media.CannotRealizeException
 
Sanjeev Charla
Ranch Hand
Posts: 90
Firefox Browser Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
and it doesn't always means that the format is not supporting . . .

if i install the JMF in the same system the same media will be palyed . . .
 
Lester Burnham
Rancher
Posts: 1337
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Are you able to play *any* media? In other words, is the problem with all media formats, or just with this particular one?
 
Sanjeev Charla
Ranch Hand
Posts: 90
Firefox Browser Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i can't play any type of media , if i deployed instead of installing jmf.
 
Darryl Burke
Bartender
Posts: 5167
11
Java Netbeans IDE Opera
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
sanjeev charla wrote:i have included the jmf.jar and other related stuff.

Define "other related stuff"
sanjeev charla wrote:Unable to handle format: mpeglayer3

See http://en.wikipedia.org/wiki/Java_Media_Framework
Many JMF developers have complained that the JMF implementation supplied in up-to-date JRE's supports relatively few up-to-date codecs and formats. Its all-Java version, for example, cannot play MPEG-2, MPEG-4, Windows Media, RealMedia, most QuickTime movies, Flash content newer than Flash 2, and needs a plug-in to play the ubiquitous MP3 format.

sanjeev charla wrote:if i install the JMF in the same system the same media will be palyed . . .

Define "install"
 
Sanjeev Charla
Ranch Hand
Posts: 90
Firefox Browser Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"installing" in this sense means, i am installing jmf setup (of corresponding OS) instead of packaging the jmf.jar and other related jar files in my application.
 
Rob Spoor
Sheriff
Posts: 21087
85
Chrome Eclipse IDE Java Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Not Swing related. Moving to Other JSE/JEE APIs.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!