• 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:
  • Campbell Ritchie
  • Tim Cooke
  • Liutauras Vilda
  • Jeanne Boyarsky
  • paul wheaton
Sheriffs:
  • Ron McLeod
  • Devaka Cooray
  • Henry Wong
Saloon Keepers:
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Tim Moores
  • Mikalai Zaikin
Bartenders:
  • Frits Walraven

Deploying JMF with out installation

 
Ranch Hand
Posts: 90
Firefox Browser Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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 . . .
 
Rancher
Posts: 618
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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 . . .
 
Rancher
Posts: 1337
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
i can't play any type of media , if i deployed instead of installing jmf.
 
Bartender
Posts: 5167
11
Netbeans IDE Opera Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Sheriff
Posts: 22815
132
Eclipse IDE Spring Chrome Java Windows
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Not Swing related. Moving to Other JSE/JEE APIs.
 
He was giving me directions and I was powerless to resist. I cannot resist this tiny ad:
Gift giving made easy with the permaculture playing cards
https://coderanch.com/t/777758/Gift-giving-easy-permaculture-playing
reply
    Bookmark Topic Watch Topic
  • New Topic