Playing mp3 Files

...How to? (More specifically)

  • (2 Pages)
  • +
  • 1
  • 2

25 Replies - 6331 Views - Last Post: 10 October 2008 - 03:00 PM Rate Topic: -----

#16 1lacca  Icon User is offline

  • code.rascal
  • member icon

Reputation: 44
  • View blog
  • Posts: 3,822
  • Joined: 11-August 05

Re: Playing mp3 Files

Posted 10 October 2008 - 02:30 AM

Be careful with JMF, because it has a native and a pure java implementation, bundling the former needs some attention.
Was This Post Helpful? 0
  • +
  • -

#17 abgorn  Icon User is offline

  • sudo apt-get install brain
  • member icon

Reputation: 30
  • View blog
  • Posts: 1,410
  • Joined: 05-June 08

Re: Playing mp3 Files

Posted 10 October 2008 - 03:59 AM

View PostLocke37, on 9 Oct, 2008 - 05:36 PM, said:

View Postabgorn, on 9 Oct, 2008 - 03:27 PM, said:



...Didn't come across that one. :unsure:

lol, if you just look it up on Google you'll find a crap-load of answers.
Was This Post Helpful? 0
  • +
  • -

#18 lordms12  Icon User is offline

  • D.I.C Regular
  • member icon

Reputation: 30
  • View blog
  • Posts: 339
  • Joined: 16-February 08

Re: Playing mp3 Files

Posted 10 October 2008 - 07:10 AM

Just a note JMF do support mp3 files but only for windows not for any other system.
To get jmf windows jars you could install jmf installer for windows and then take lib folder and work with (i mean you do not actually need to install JMF on other PCs if you moved your program just take jars).
Was This Post Helpful? 0
  • +
  • -

#19 lordms12  Icon User is offline

  • D.I.C Regular
  • member icon

Reputation: 30
  • View blog
  • Posts: 339
  • Joined: 16-February 08

Re: Playing mp3 Files

Posted 10 October 2008 - 07:24 AM

I forgot to send:
jffmpeg, I did not try it before.
JMF sample code and apps
Was This Post Helpful? 0
  • +
  • -

#20 Locke  Icon User is offline

  • Sarcasm Extraordinaire!
  • member icon

Reputation: 521
  • View blog
  • Posts: 5,596
  • Joined: 20-March 08

Re: Playing mp3 Files

Posted 10 October 2008 - 08:16 AM

So if I use pbl's method of packaging all of the files in the jmf jar into my project's jar...will it work on another operating system?
Was This Post Helpful? 0
  • +
  • -

#21 lordms12  Icon User is offline

  • D.I.C Regular
  • member icon

Reputation: 30
  • View blog
  • Posts: 339
  • Joined: 16-February 08

Re: Playing mp3 Files

Posted 10 October 2008 - 09:55 AM

View PostLocke37, on 10 Oct, 2008 - 07:16 PM, said:

So if I use pbl's method of packaging all of the files in the jmf jar into my project's jar...will it work on another operating system?

I am not sure that I got pbl's way correctly but in common there is two ways to use other JARs:
- copy contains of other jars in your main jar
- leave them any where and point to them in the manifest
both should give you same result on any system I guess (but mp3 still will not work else on windows)
Was This Post Helpful? 0
  • +
  • -

#22 Locke  Icon User is offline

  • Sarcasm Extraordinaire!
  • member icon

Reputation: 521
  • View blog
  • Posts: 5,596
  • Joined: 20-March 08

Re: Playing mp3 Files

Posted 10 October 2008 - 01:09 PM

View Postlordms12, on 10 Oct, 2008 - 09:55 AM, said:

View PostLocke37, on 10 Oct, 2008 - 07:16 PM, said:

So if I use pbl's method of packaging all of the files in the jmf jar into my project's jar...will it work on another operating system?

I am not sure that I got pbl's way correctly but in common there is two ways to use other JARs:
- copy contains of other jars in your main jar
- leave them any where and point to them in the manifest
both should give you same result on any system I guess (but mp3 still will not work else on windows)


Welp, then this thread is useless...virtually.

I would still like to know how to play them...but that's a project for another day. -_-
Was This Post Helpful? 0
  • +
  • -

#23 lordms12  Icon User is offline

  • D.I.C Regular
  • member icon

Reputation: 30
  • View blog
  • Posts: 339
  • Joined: 16-February 08

Re: Playing mp3 Files

Posted 10 October 2008 - 01:47 PM

View PostLocke37, on 11 Oct, 2008 - 12:09 AM, said:

Welp, then this thread is useless...virtually.

I would still like to know how to play them...but that's a project for another day. -_-

Well I just remembered JLayer it is old some how but it should work fine I also found an article on JavaWorld Add MP3 capabilities to Java Sound with SPI (it is using JLayer)

Hope that's help.
Was This Post Helpful? 0
  • +
  • -

#24 cyberlord  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 3
  • Joined: 07-July 08

Re: Playing mp3 Files

Posted 10 October 2008 - 02:57 PM

View Postabgorn, on 9 Oct, 2008 - 03:27 PM, said:


plz when u finish researching plz post
Was This Post Helpful? 0
  • +
  • -

#25 abgorn  Icon User is offline

  • sudo apt-get install brain
  • member icon

Reputation: 30
  • View blog
  • Posts: 1,410
  • Joined: 05-June 08

Re: Playing mp3 Files

Posted 10 October 2008 - 02:58 PM

View Postcyberlord, on 10 Oct, 2008 - 02:57 PM, said:

View Postabgorn, on 9 Oct, 2008 - 03:27 PM, said:


plz when u finish researching plz post

What?
Was This Post Helpful? 0
  • +
  • -

#26 pbl  Icon User is offline

  • There is nothing you can't do with a JTable
  • member icon

Reputation: 8332
  • View blog
  • Posts: 31,857
  • Joined: 06-March 08

Re: Playing mp3 Files

Posted 10 October 2008 - 03:00 PM

View Post1lacca, on 10 Oct, 2008 - 02:30 AM, said:

Be careful with JMF, because it has a native and a pure java implementation, bundling the former needs some attention.

Oups Lacca breaking my fun
Doesn't the .jar contains also the native code ? I really don't know about it.
Was This Post Helpful? 0
  • +
  • -

  • (2 Pages)
  • +
  • 1
  • 2