Java Solaris Communities Sun Store Join SDN My Profile Why Join?
 
Bug Database
Bug Detail
Quick Lists
Top 25 Bugs
Top 25 RFE's
Recently Closed Bugs
Printable Page Printable Page


Bug Database
Bug ID: 4479349
Votes 381
Synopsis RFE: Add MP3 support to Java Sound
Category java:classes_sound
Reported Against 1.2 , tiger , 1.0alpha
Release Fixed 1.5(tiger-rc)
State 11-Closed, Verified, request for enhancement
Priority: 4-Low
Related Bugs 4203935 , 4217535 , 4643016 , 4671067
Submit Date 12-JUL-2001
Description
RFE: Add MP3 support to Java SoundJava Sound does not provide MPEG I layer 3 (mp3) decoding for playback. mp3 is gaining more and more importance, especially for streaming media over the Internet and pay-per-listen systems. The JDK and JRE should provide mp3 decoding support so that customers will choose Java as platform for these applications.
Work Around
Use of the mixed LGPL/GPL java-only decoder released by tritonus. 
Problem with that: 
1. GPL restrictions
2. performance
Evaluation
 xxxxx@xxxxx  2001-07-13
	This is the most requested new feature for Java Sound.
	There will be legal issues to resolve in addition to
	the engineering work, but well worth doing.
	Commit to fix/add for next major release of J2SE after 1.4
	(1.4 feature set is frozen so it has to be for a later release).

 xxxxx@xxxxx  2002-05-30
	As of today, this bug has JDC 206 votes and is top 14 of all RFE's.


 xxxxx@xxxxx  2002-10-02
	OGG/Vorbis should be given high priority, too. It is requested under bug number 4671067.


 xxxxx@xxxxx  2003-09-22
	Probable solution is to make a standalone-plugin available.

 xxxxx@xxxxx  2004-11-15
	MP3 support is now available at:
          http://java.sun.com/products/java-media/jmf/mp3/download.html

 xxxxx@xxxxx  2004-11-15 18:41:58 GMT
Comments
  
  Include a link with my name & email   

Submitted On 16-JUL-2001
kenwarner
Tell all your friends to vote!

A post of a notice about this RFE should be posted on
the other public forums.  Like comp.lang.java.programmer etc.

This is such an obvious enhancement that I simply can't
understand why it was passed over. 

Were ties involved somehow :-)

BTW: tritonious uses JavaLayers which is suffering from
a bug that makes it fail on some mp3 files.  


Submitted On 16-JUL-2001
eed
Mp3 IS the standard in todays music industry on the net. Why 
this hasn't been implemented a long time ago at the java 
sound level, is beyond me. While the JMF is nice, it's basic 
purpose is way to broad, and not geared to the specific 
needs of streaming media programing.

I agree that MP3's decoding should be included in java 
sound, Florian is absolutely correct in this issue. However
if there should be another implementation other then 
tritonus available, or some way that Sun can develop their 
own implementation, then that should be looked into.  

Forcing the issue of making private code public has negative 
aspects, not mentioned by Florian, which will make other 
companies/developers go elsewhere. If a company/developer 
can't sell their product then it "WILL" detract them from 
using Java Sound as well as the Java platform.

On the other hand if Sun will not create it's own 
implementation, then please do consider tritonus. Something 
is better then the nothing that we've so far recieved. And 
Sun's JDK is lagging way far in the back because of it.

Ed Drahos

eed@lasercom.net
eed1st@netscape.com


Submitted On 17-JUL-2001
giuann@pantalia.it
I agree too that MP3's decoding/encoding should be included 
in java sound package. There's another point of view: 
tactically Micro$oft wannot supports MP3 (i.e. don't 
suppled) in its WinXP.
Then if Sun includes MP3's decoder then will be a OPTIMAL 
marketing strategy.


Submitted On 17-JUL-2001
volga
Really indispensable for audio streaming. In the past, we 
had to write our own GSM decoder because we coudnt wait for 
it. We won't do the same with MP3. If it don't come 
standard, wil be forced to switch to another client 
technology.


Submitted On 17-JUL-2001
Aschaefer
not only mp3-Decoding but also mp3-Encoding would be great.


Submitted On 19-JUL-2001
emazoyer
MP3 is a very good format to include sound into a program; 
cd-rom, internet, and so long.
MP3 decoding/encoding should be included in java sound 
package.


Submitted On 25-JUL-2001
andyhedges
The is of course the JMF which does support MP3!


Submitted On 07-AUG-2001
ikol
Of cource you should support Mp3.


Submitted On 17-AUG-2001
coredog
Color me practical, but doesn't Fraunhofer charge something
like $3.75 per license for an MP3 codec?

So how would Sun, a company with finite financial 
resources, give away JREs and JDKs while paying Fraunhofer 
their proverbial pound of flesh?


Submitted On 02-SEP-2001
WesleyF
If you want MP3, use JMF. It seems counterproductive to duplicate JMF functionality in JavaSound.


Submitted On 05-SEP-2001
walpj
In response to andyhedges and WesleyF, just as J2SE 1.4 
includes an extension package with GIF codecs that will be 
used by subsequent versions of JAI [1], a future version of 
J2SE could include MP3 codecs that would be used by a 
future version of JMF.

[1]
See the last two paragraphs.
http://java.sun.com/products/java-media/jai/iio.html


Submitted On 24-OCT-2001
dyemane
MP3 support seems fundamental to JMF. How can we 
develope "robust" media apps for the market. I'm just 
curious as to what the legal ramifications are.


Submitted On 29-OCT-2001
rockhopper
MP3 is really a dreadful technology. But it is unavoidable 
since it is so widespread. So pay the ridiculous licensing 
fees and make us all happy.


Submitted On 25-NOV-2001
dizzzz__nl
As far as I know both Quicktime 4 and 5 provide classes / 
interfaces for media playback, mp3 should be in it.......


Submitted On 01-JAN-2002
abamfici
MP3 encoding costs money, MP3 decoding is free.  If you don't want to be a thief, you should look into the Ogg 
Vorbis project.


Submitted On 11-JAN-2002
TSDTSD
I agree.
It's a MUST to have it. MP3 is now THE standard for sound. 
It's like not supporting GIF format!


Submitted On 20-FEB-2002
eed
Booster vote, this is very much needed. My arguements above still
stand. This is about Sun's abilities, and in particular Java Sounds abilities.
Not some other product or other companies products. If you want java
sound to succeed as it's own package, then it must include MP3 decoding.

Ed Drahos
eed@lasercom.net
eed1st@netscape.com


Submitted On 20-FEB-2002
bhamail
While adding mp3, please consider adding support for Ogg Vorbis. It too would benefit from native support and also avoids messy legalisms.


Submitted On 26-FEB-2002
sgregory
Please use Ogg Vorbis instead - 
http://www.xiph.org/ogg/vorbis/


Submitted On 18-MAR-2002
Spaceman40
Workaround:

Use the Java Media Framework (JMF)


Submitted On 02-APR-2002
roggeboy
Use the JMF to play mp3 files!


Submitted On 12-APR-2002
invalidname
MP3 is already supported by JMF.

I'd like to see people apply their bug votes to functionality that's truly absent (like JMF's inability to play real-world video formats, or the non-support of external MIDI devices [bug 4356787]), instead of this.  The functionality is there; it just happens to live in a different, admittedly non-core, API.

FWIW, as MP3 is part of MPEG, it kind of makes sense for it to live in JMF instead of Java Sound.


Submitted On 16-APR-2002
PfistererM
How about ogg/vorbis support? It delivers the same quality
as mp3 while beeing free of nasty patent and licensing issues.
(See http://www.xiph.org/ogg/vorbis/)


Submitted On 16-APR-2002
invalidname
A similar RFE, but far more deserving of votes than this one, is 
4246778 ("No platform-independent way to play audio CDs").

Apologies for the painfully-wide comment above -- guess my browser 
(OmniWeb) and the JDC bug reporter servlet aren't pals.


Submitted On 24-APR-2002
krateo
I would like to see Ogg Vorbis support rather than mp3 as 
we use Ogg for all our sound encoding (legal issues).


Submitted On 07-AUG-2002
gizmoeti
OGG is more performant, is free and will be more important
than MP3.
It's the same problem that PNG vs GIF, JPG, or Flash vs SVG.
Java must not use too proprietary standards.


Submitted On 31-AUG-2002
kolpakov
mp3 sucks for sure. It's not free and it's loosing it's
populatiry slowly in a favor of Vorbis. As Vorbis is free,
Java should support vorbis, not mp3. I hate all the portable
hardware music player manufactures making mp3, not ogg
players. Personally I don't need mp3. In fact, noone really
needs it, as there is Vorbis.


Submitted On 04-SEP-2002
cdbennett
It's interesting to see that the game Unreal Tournament 2003 
is <a 
href="http://cleaned.beyondunreal.com/UT2FAQ/UT2FAQ.htm#
_Toc6765479">using Ogg Vorbis</a> for its music!
http://cleaned.beyondunreal.com/UT2FAQ/UT2FAQ.htm#_Toc
6765479



Submitted On 21-SEP-2002
goofrider
Definitely go for Ogg. It rocks.


Submitted On 01-OCT-2002
Steixeira
I took my votes out of here, and put them in RFE
4499904, for Ogg.  Now that Mp3 is charging, you
might as well go towards proven open 
source standards.


Submitted On 02-OCT-2002
boemers
Note that ogg/vorbis for Java Sound is RFE number 4671067.


Submitted On 07-OCT-2002
invalidname
Now that JMF has removed MP3 support (as of August 2002,
version 2.1.1b), I retract my comment of 4/12/02 that this
RFE is unneccessary.

We ought to have MP3 support somewhere in Java, and
JavaSound is preferable, since it's core (though the
JavaSound API is far less pleasant to work with than JMF).

For now, workarounds are QuickTime for Java
(http://developer.apple.com/quicktime/qtjava/index.html )
and the JavaZoom MP3 libraries (http://www.javazoom.net/ )


Submitted On 25-DEC-2002
aungzeya
How to write a Java  applet to support MP3 ?


Submitted On 08-FEB-2003
burtonator
I agree.  OGG/Vorbis first then maybe MP3.  MP3 is patented
and SUN would have to license this.  Also OGG is open and
superior to MP3.  Long live OGG


Submitted On 16-FEB-2003
xlinx
do it


Submitted On 21-MAR-2003
antoinelucas
Why not Ogg Vorbis, It's free and There are no restrictions
on it !
How can I help you to add the OggVorbis in the JMF ?


Submitted On 16-MAY-2003
hbragib
MP3 support is one thing that java needs .. so that it can be 
one fully rounded development when considering multimedia 
software development..

cheers,


Submitted On 16-MAY-2003
hbragib
MP3 support is one thing that java needs .. so that it can be 
one fully rounded development when considering multimedia 
software development..

cheers,


Submitted On 14-OCT-2003
maheshbe
I agree too that MP3's decoding/encoding should be included 
in java sound package


Submitted On 05-DEC-2003
Tess_Jo
I agreee that MP3 decoding/encoding should be included in 
java sound package.


Submitted On 18-DEC-2003
deathhand
I love OGG as much as the next sensible person, but 
the big thing right now and for a long time to come is 
mp3 so java should support it, PERIOD. Java's support 
for playing music is really, really backwards without 
support for these formats.


Submitted On 08-JAN-2004
hlovatt
New release of JavaZoom 

http://www.javazoom.net/javalayer/javalayer.html

does MP3.


Submitted On 28-JAN-2004
DuoICE
javazoom. Good PLayer, no JMF needed...


Submitted On 12-MAY-2004
Tifauv
Mp3 decoding could be added as it seems to be real need for
a lot of people. But encoding is not possible because one
must pay a charge per encoded distributed.

For all those who use mp3, take a look at OggVorbis. It
supports a real variable bitrate, is totally free (of charge
and libre) and has a far better quality that mp3.


Submitted On 03-AUG-2004
ed_mooney
MP3 AND OGG would be the best choices. MP3 to handle existing content  AND OGG to provide for future content.


Submitted On 19-AUG-2004
girionis
I absolutely agree. MP3 and OGG support will put Java one step ahead :)


Submitted On 22-AUG-2004
Lutha
I'd love to use mp3 in my apps.
Please work on this, Sun!


Submitted On 14-SEP-2004
tf1234
Make it so !


Submitted On 29-SEP-2004
mattjohnpowell
It would really help me out with my final year degree project...cheers


Submitted On 21-OCT-2004
maiku
MP3 decoding should be included only becuase the format is so widespread. 


Submitted On 12-NOV-2004
boemers
A plug-in for Java Sound and for JMF is available for free download at:
http://java.sun.com/products/java-media/jmf/mp3/download.html
Florian


Submitted On 20-NOV-2004
s690716
why is a later submitted bug / rfe is earlier fixed than a earlier submitted and higher rated rfe (way to examing free disk space)?


Submitted On 05-FEB-2005
invalidname
This should not be marked as fixed.

The URL in the 2004-11-15 comment refers to a JMF product, and this bug is written against JavaSound.  Even if the JMF piece provides MP3 for JavaSound as a side-effect, JMF is an add-on that most installs won't have; JavaSound is built-in.  It's two different things.

Also, the aforementioned JMF fix won't install for me on Mac OS X (not like I can file a bug on that, because Sun won't take any bugs from Mac OS X-based developers)


Submitted On 25-APR-2006
sasdav
First, the mp3 support shown only applies to JMF and this bug refers to JavaSound.  
Second, the mp3 support shown doesn't work.
Third, this bug should not be closed since it has not been addressed and is still a very important request from developers.


Submitted On 30-JUL-2006
CyberOwl
mp3 support is available but it really sucks....



PLEASE NOTE: JDK6 is formerly known as Project Mustang