<s>
The	O
Java	B-Language
Media	I-Language
Framework	I-Language
(	O
JMF	O
)	O
is	O
a	O
Java	B-Language
library	B-Library
that	O
enables	O
audio	O
,	O
video	O
and	O
other	O
time-based	O
media	O
to	O
be	O
added	O
to	O
Java	B-Language
applications	O
and	O
applets	O
.	O
</s>
<s>
This	O
optional	O
package	O
,	O
which	O
can	O
capture	O
,	O
play	O
,	O
stream	O
,	O
and	O
transcode	O
multiple	O
media	O
formats	O
,	O
extends	O
the	O
Java	B-Language
Platform	I-Language
,	I-Language
Standard	I-Language
Edition	I-Language
(	O
Java	B-Language
SE	I-Language
)	O
and	O
allows	O
development	O
of	O
cross-platform	B-Operating_System
multimedia	O
applications	O
.	O
</s>
<s>
JMF	O
2.0	O
,	O
developed	O
by	O
Sun	O
and	O
IBM	O
,	O
came	O
out	O
in	O
1999	O
and	O
added	O
capture	O
,	O
streaming	O
,	O
pluggable	O
codecs	B-General_Concept
,	O
and	O
transcoding	O
.	O
</s>
<s>
JMF	O
is	O
branded	O
as	O
part	O
of	O
Sun	O
's	O
"	O
Desktop	O
"	O
technology	O
of	O
J2SE	B-Language
opposed	O
to	O
the	O
Java	B-Language
server-side	O
and	O
client-side	O
application	O
frameworks	O
.	O
</s>
<s>
The	O
notable	O
exceptions	O
are	O
Java	B-Application
applets	I-Application
and	O
Java	B-Application
Web	I-Application
Start	I-Application
,	O
which	O
have	O
access	O
to	O
the	O
full	O
JMF	O
in	O
the	O
web	O
browser	O
's	O
or	O
appletviewer	O
's	O
underlying	O
JRE	O
.	O
</s>
<s>
JMF	O
2.0	O
originally	O
shipped	O
with	O
an	O
MP3	B-Application
decoder	O
and	O
encoder	O
.	O
</s>
<s>
This	O
was	O
removed	O
in	O
2002	O
,	O
and	O
a	O
new	O
MP3	B-Application
playback-only	O
plug-in	O
was	O
posted	O
in	O
2004	O
.	O
</s>
<s>
JMF	O
binaries	O
are	O
available	O
under	O
a	O
custom	O
license	O
,	O
and	O
the	O
source	O
is	O
available	O
under	O
the	O
SCSL	B-License
.	O
</s>
<s>
The	O
current	O
version	O
ships	O
with	O
four	O
JAR	B-Language
files	I-Language
,	O
and	O
shell	O
scripts	O
to	O
launch	O
four	O
JMF-based	O
applications	O
:	O
</s>
<s>
JMFCustomizer	O
-	O
Used	O
for	O
creating	O
a	O
JAR	B-Language
file	I-Language
that	O
contains	O
only	O
the	O
classes	O
needed	O
by	O
a	O
specific	O
JMF	O
application	O
,	O
which	O
allows	O
developers	O
to	O
ship	O
a	O
smaller	O
application	O
.	O
</s>
<s>
JMF	O
is	O
available	O
in	O
an	O
all-Java	O
version	O
and	O
as	O
platform-specific	O
"	O
performance	O
packs	O
"	O
,	O
which	O
can	O
contain	O
native-code	O
players	O
for	O
the	O
platform	O
,	O
and/or	O
hooks	O
into	O
a	O
multimedia	O
engine	O
specific	O
to	O
that	O
platform	O
.	O
</s>
<s>
In	O
January	O
2011	O
,	O
Tudor	O
Holton	O
of	O
Bentokit	O
Project	O
released	O
a	O
Debian	O
package	O
for	O
the	O
JMF	O
to	O
alleviate	O
difficulties	O
that	O
had	O
arisen	O
over	O
time	O
when	O
installing	O
the	O
JMF	O
on	O
Debian	O
and	O
Ubuntu	B-Operating_System
Linux	I-Operating_System
.	O
</s>
<s>
A	O
similar	O
Debian	O
package	O
installer	O
for	O
the	O
JMF	O
MP3	B-Application
Plugin	O
was	O
also	O
built	O
in	O
February	O
2011	O
.	O
</s>
<s>
It	O
does	O
not	O
afford	O
the	O
developer	O
significant	O
access	O
to	O
the	O
particulars	O
of	O
any	O
given	O
format	O
;	O
rather	O
,	O
media	O
is	O
represented	O
as	O
sources	O
(	O
themselves	O
obtained	O
from	O
URL	O
's	O
)	O
that	O
can	O
be	O
read	O
in	O
and	O
played	O
,	O
processed	O
,	O
and	O
exported	O
(	O
though	O
not	O
all	O
codecs	B-General_Concept
support	O
processing	O
and	O
transcoding	O
)	O
.	O
</s>
<s>
Many	O
JMF	O
developers	O
have	O
complained	O
that	O
the	O
JMF	O
implementation	O
supplied	O
in	O
up-to-date	O
JRE	O
's	O
supports	O
relatively	O
few	O
up-to-date	O
codecs	B-General_Concept
and	O
formats	O
.	O
</s>
<s>
Its	O
all-Java	O
version	O
,	O
for	O
example	O
,	O
cannot	O
play	O
MPEG-2	B-Algorithm
,	O
MPEG-4	B-Algorithm
,	O
Windows	B-Device
Media	I-Device
,	O
RealMedia	O
,	O
most	O
QuickTime	B-Application
movies	O
,	O
Flash	B-Operating_System
content	O
newer	O
than	O
Flash	B-Operating_System
2	O
,	O
and	O
needs	O
a	O
plug-in	O
to	O
play	O
the	O
ubiquitous	O
MP3	B-Application
format	O
.	O
</s>
<s>
While	O
the	O
performance	O
packs	O
offer	O
the	O
ability	O
to	O
use	O
the	O
native	O
platform	O
's	O
media	O
library	B-Library
,	O
they	O
're	O
only	O
offered	O
for	O
Linux	O
,	O
Solaris	O
and	O
Windows	O
.	O
</s>
<s>
The	O
following	O
example	O
shows	O
an	O
AWT	B-Language
file-selection	O
dialog	O
,	O
and	O
attempts	O
to	O
load	O
and	O
play	O
the	O
media	O
file	O
selected	O
by	O
the	O
user	O
.	O
</s>
<s>
Much	O
of	O
the	O
example	O
is	O
involved	O
with	O
the	O
building	O
of	O
the	O
AWT	B-Language
GUI	O
.	O
</s>
<s>
The	O
getVisualComponent( )	O
asks	O
the	O
Player	O
for	O
an	O
AWT	B-Language
Component	O
suitable	O
for	O
use	O
in	O
a	O
GUI	O
.	O
</s>
