<s>
Media	B-Device
Foundation	I-Device
(	O
MF	O
)	O
is	O
a	O
COM-based	B-Application
multimedia	B-Library
framework	I-Library
pipeline	O
and	O
infrastructure	O
platform	O
for	O
digital	O
media	O
in	O
Windows	B-Application
Vista	I-Application
,	O
Windows	B-Device
7	I-Device
,	O
Windows	B-Application
8	I-Application
,	O
Windows	B-Device
8.1	I-Device
,	O
Windows	B-Operating_System
10	I-Operating_System
,	O
and	O
Windows	B-Application
11	I-Application
.	O
</s>
<s>
It	O
is	O
the	O
intended	O
replacement	O
for	O
Microsoft	O
DirectShow	B-Library
,	O
Windows	B-Device
Media	I-Device
SDK	I-Device
,	O
DirectX	O
Media	O
Objects	O
(	O
DMOs	O
)	O
and	O
all	O
other	O
so-called	O
"	O
legacy	O
"	O
multimedia	O
APIs	O
such	O
as	O
Audio	O
Compression	O
Manager	O
(	O
ACM	O
)	O
and	O
Video	B-Device
for	I-Device
Windows	I-Device
(	O
VfW	O
)	O
.	O
</s>
<s>
The	O
existing	O
DirectShow	B-Library
technology	O
is	O
intended	O
to	O
be	O
replaced	O
by	O
Media	B-Device
Foundation	I-Device
step-by-step	O
,	O
starting	O
with	O
a	O
few	O
features	O
.	O
</s>
<s>
For	O
some	O
time	O
there	O
will	O
be	O
a	O
co-existence	O
of	O
Media	B-Device
Foundation	I-Device
and	O
DirectShow	B-Library
.	O
</s>
<s>
Media	B-Device
Foundation	I-Device
will	O
not	O
be	O
available	O
for	O
previous	O
Windows	O
versions	O
,	O
including	O
Windows	B-Application
XP	I-Application
.	O
</s>
<s>
The	O
first	O
release	O
,	O
present	O
in	O
Windows	B-Application
Vista	I-Application
,	O
focuses	O
on	O
audio	O
and	O
video	O
playback	O
quality	O
,	O
high-definition	O
content	O
(	O
i.e.	O
</s>
<s>
HDTV	B-Device
)	O
,	O
content	O
protection	O
and	O
a	O
more	O
unified	O
approach	O
for	O
digital	O
data	O
access	O
control	O
for	O
digital	O
rights	O
management	O
(	O
DRM	O
)	O
and	O
its	O
interoperability	O
.	O
</s>
<s>
It	O
integrates	O
DXVA	B-General_Concept
2.0	I-General_Concept
for	O
offloading	O
more	O
of	O
the	O
video	O
processing	O
pipeline	O
to	O
hardware	O
,	O
for	O
better	O
performance	O
.	O
</s>
<s>
MF	O
includes	O
a	O
new	O
video	O
renderer	O
,	O
called	O
Enhanced	O
Video	O
Renderer	O
(	O
EVR	O
)	O
,	O
which	O
is	O
the	O
next	O
iteration	O
of	O
VMR	B-Library
7	I-Library
and	I-Library
9	I-Library
.	O
</s>
<s>
It	O
uses	O
the	O
Multimedia	B-Device
Class	I-Device
Scheduler	I-Device
Service	I-Device
(	O
MMCSS	B-Device
)	O
,	O
a	O
new	O
service	O
that	O
prioritizes	O
real	O
time	O
multimedia	O
processing	O
,	O
to	O
reserve	O
the	O
resources	O
required	O
for	O
the	O
playback	O
,	O
without	O
any	O
tearing	O
or	O
glitches	O
.	O
</s>
<s>
The	O
second	O
release	O
included	O
in	O
Windows	B-Device
7	I-Device
introduces	O
expanded	O
media	O
format	O
support	O
and	O
DXVA	B-General_Concept
HD	I-General_Concept
for	O
acceleration	O
of	O
HD	O
content	O
if	O
WDDM	B-Device
1.1	O
drivers	O
are	O
used	O
.	O
</s>
<s>
The	O
core	O
layer	O
encapsulates	O
most	O
of	O
the	O
functionality	O
of	O
Media	B-Device
Foundation	I-Device
.	O
</s>
<s>
It	O
consists	O
of	O
the	O
media	B-Device
foundation	I-Device
pipeline	O
,	O
which	O
has	O
three	O
components	O
:	O
Media	O
Source	O
,	O
Media	O
Sink	O
and	O
Media	B-Device
Foundation	I-Device
Transforms	O
(	O
MFT	O
)	O
.	O
</s>
<s>
It	O
can	O
encapsulate	O
various	O
data	O
sources	O
,	O
like	O
a	O
file	O
,	O
or	O
a	O
network	O
server	O
or	O
even	O
a	O
camcorder	O
,	O
with	O
source	O
specific	O
functionality	O
abstracted	B-Application
by	O
a	O
common	O
interface	B-Application
.	O
</s>
<s>
A	O
source	O
object	O
can	O
use	O
a	O
source	O
resolver	O
object	O
which	O
creates	O
a	O
media	O
source	O
from	O
an	O
URI	B-Protocol
,	O
file	O
or	O
bytestream	O
.	O
</s>
<s>
MFTs	O
can	O
include	O
multiplexers	O
and	O
demultiplexers	O
,	O
codecs	O
or	O
DSP	B-General_Concept
effects	O
like	O
reverb	O
.	O
</s>
<s>
Pausing	O
,	O
stopping	O
,	O
fast	O
forward	O
,	O
reverse	O
or	O
time-compression	B-Application
can	O
be	O
achieved	O
by	O
controlling	O
the	O
presentation	O
clock	O
.	O
</s>
<s>
For	O
example	O
,	O
to	O
play	O
back	O
a	O
compressed	O
audio/video	O
file	O
,	O
the	O
pipeline	O
will	O
consist	O
of	O
a	O
file	O
source	O
object	O
,	O
a	O
demultiplexer	O
for	O
the	O
specific	O
file	O
container	O
format	O
to	O
split	O
the	O
audio	O
and	O
video	O
streams	O
,	O
codecs	O
to	O
decompress	O
the	O
audio	O
and	O
video	O
streams	O
,	O
DSP	B-General_Concept
processors	O
for	O
audio	O
and	O
video	O
effects	O
and	O
finally	O
the	O
EVR	O
renderer	O
,	O
in	O
sequence	O
.	O
</s>
<s>
This	O
is	O
in	O
contrast	O
to	O
DirectShow	B-Library
's	I-Library
"	O
push	O
"	O
model	O
where	O
a	O
pipeline	O
component	O
pushes	O
data	O
to	O
the	O
next	O
component	O
.	O
</s>
<s>
Media	B-Device
Foundation	I-Device
allows	O
content	O
protection	O
by	O
hosting	O
the	O
pipeline	O
within	O
a	O
protected	O
execution	O
environment	O
,	O
called	O
the	O
Protected	O
Media	O
Path	O
.	O
</s>
<s>
Media	B-Device
Foundation	I-Device
provides	O
a	O
Media	O
Session	O
object	O
that	O
can	O
be	O
used	O
to	O
set	O
up	O
the	O
topologies	O
,	O
and	O
facilitate	O
a	O
data	O
flow	O
,	O
without	O
the	O
application	O
doing	O
it	O
explicitly	O
.	O
</s>
<s>
Theoretically	O
there	O
is	O
only	O
one	O
Media	B-Device
Foundation	I-Device
architecture	O
and	O
this	O
is	O
the	O
Media	O
Session	O
,	O
Pipeline	O
,	O
Media	O
Source	O
,	O
Transform	O
and	O
Media	O
Sink	O
model	O
.	O
</s>
<s>
Some	O
sources	O
split	O
the	O
Media	B-Device
Foundation	I-Device
architecture	O
into	O
three	O
general	O
classes	O
.	O
</s>
<s>
Media	B-Device
Foundation	I-Device
Transforms	O
(	O
MFTs	O
)	O
represent	O
a	O
generic	O
model	O
for	O
processing	O
media	O
data	O
.	O
</s>
<s>
They	O
are	O
used	O
in	O
Media	B-Device
Foundation	I-Device
primarily	O
to	O
implement	O
decoders	O
,	O
encoders	O
,	O
mixers	O
and	O
digital	O
signal	O
processors	O
(	O
DSPs	O
)	O
–	O
between	O
media	O
sources	O
and	O
media	O
sinks	O
.	O
</s>
<s>
Media	B-Device
Foundation	I-Device
Transforms	O
are	O
an	O
evolution	O
of	O
the	O
transform	O
model	O
first	O
introduced	O
with	O
DirectX	O
Media	O
Objects	O
(	O
DMOs	O
)	O
.	O
</s>
<s>
Applications	O
can	O
use	O
MFTs	O
inside	O
the	O
Media	B-Device
Foundation	I-Device
pipeline	O
,	O
or	O
use	O
them	O
directly	O
as	O
stand-alone	O
objects	O
.	O
</s>
<s>
Microsoft	O
recommends	O
developers	O
to	O
write	O
a	O
Media	B-Device
Foundation	I-Device
Transform	O
instead	O
of	O
a	O
DirectShow	B-Library
filter	O
,	O
for	O
Windows	B-Application
Vista	I-Application
,	O
Windows	B-Device
7	I-Device
&	O
Windows	B-Application
8	I-Application
.	O
</s>
<s>
For	O
video	O
editing	O
and	O
video	O
capture	O
,	O
Microsoft	O
recommends	O
using	O
DirectShow	B-Library
as	O
they	O
are	O
not	O
the	O
primary	O
focus	O
of	O
Media	B-Device
Foundation	I-Device
in	O
Windows	B-Application
Vista	I-Application
.	O
</s>
<s>
Starting	O
with	O
Windows	B-Device
7	I-Device
,	O
MFTs	O
also	O
support	O
hardware-accelerated	O
video	O
processing	O
,	O
encoding	O
and	O
decoding	O
for	O
AVStream-based	O
media	O
devices	O
.	O
</s>
<s>
Media	B-Device
Foundation	I-Device
uses	O
the	O
Enhanced	O
Video	O
Renderer	O
(	O
EVR	O
)	O
for	O
rendering	O
video	O
content	O
,	O
which	O
acts	O
as	O
a	O
mixer	O
as	O
well	O
.	O
</s>
<s>
All	O
but	O
the	O
reference	O
stream	O
can	O
have	O
per-pixel	O
transparency	O
information	O
,	O
as	O
well	O
as	O
any	O
specified	O
z-order	B-Algorithm
.	O
</s>
<s>
The	O
reference	O
stream	O
cannot	O
have	O
transparent	O
pixels	O
,	O
and	O
has	O
a	O
fixed	O
z-order	B-Algorithm
position	O
,	O
at	O
the	O
back	O
of	O
all	O
streams	O
.	O
</s>
<s>
Windows	B-Application
Media	I-Application
Audio	I-Application
and	O
Windows	B-Device
Media	I-Device
Video	I-Device
are	O
the	O
only	O
default	O
supported	O
formats	O
for	O
encoding	O
through	O
Media	B-Device
Foundation	I-Device
in	O
Windows	B-Application
Vista	I-Application
.	O
</s>
<s>
For	O
decoding	O
,	O
an	O
MP3	B-Application
file	I-Application
source	O
is	O
available	O
in	O
Windows	B-Application
Vista	I-Application
to	O
read	O
MP3	B-Application
streams	O
but	O
an	O
MP3	B-Application
file	I-Application
sink	O
to	O
output	O
MP3	B-Application
is	O
only	O
available	O
in	O
Windows	B-Device
7	I-Device
.	O
</s>
<s>
Windows	B-Device
7	I-Device
expands	O
upon	O
the	O
codec	O
support	O
available	O
in	O
Windows	B-Application
Vista	I-Application
.	O
</s>
<s>
It	O
includes	O
AVI	O
,	O
WAV	O
,	O
AAC/ADTS	O
file	O
sources	O
to	O
read	O
the	O
respective	O
formats	O
,	O
an	O
MPEG-4	O
file	O
source	O
to	O
read	O
MP4	O
,	O
M4A	O
,	O
M4V	O
,	O
MP4V	O
,	O
MOV	O
and	O
3GP	O
container	O
formats	O
and	O
an	O
MPEG-4	O
file	O
sink	O
to	O
output	O
to	O
MP4	O
format	O
.	O
</s>
<s>
Similar	O
to	O
Windows	B-Application
Vista	I-Application
,	O
transcoding	O
(	O
encoding	O
)	O
support	O
is	O
not	O
exposed	O
through	O
any	O
built-in	O
Windows	O
application	O
but	O
several	O
codecs	O
are	O
included	O
as	O
Media	B-Device
Foundation	I-Device
Transforms	O
(	O
MFTs	O
)	O
.	O
</s>
<s>
For	O
playback	O
of	O
various	O
media	O
formats	O
,	O
Windows	B-Device
7	I-Device
also	O
introduces	O
an	O
H.264	B-Application
decoder	O
with	O
Baseline	O
,	O
Main	O
,	O
and	O
High-profile	O
support	O
,	O
up	O
to	O
level	O
5.1	O
,	O
AAC-LC	B-Application
and	O
HE-AAC	O
v1	O
(	O
SBR	B-Algorithm
)	O
multichannel	O
,	O
HE-AAC	O
v2	O
(	O
PS	O
)	O
stereo	O
decoders	O
,	O
MPEG-4	B-Application
Part	I-Application
2	I-Application
Simple	O
Profile	O
and	O
Advanced	B-Application
Simple	I-Application
Profile	I-Application
decoders	O
which	O
includes	O
decoding	O
popular	O
codec	O
implementations	O
such	O
as	O
DivX	B-Application
,	O
Xvid	B-Algorithm
and	O
Nero	B-Algorithm
Digital	I-Algorithm
as	O
well	O
as	O
MJPEG	B-Application
and	O
DV	O
MFT	O
decoders	O
for	O
AVI	O
.	O
</s>
<s>
Windows	B-Device
Media	I-Device
Player	I-Device
12	I-Device
uses	O
the	O
built-in	O
Media	B-Device
Foundation	I-Device
codecs	O
to	O
play	O
these	O
formats	O
by	O
default	O
.	O
</s>
<s>
MIDI	O
playback	O
is	O
also	O
not	O
yet	O
supported	O
using	O
Media	B-Device
Foundation	I-Device
.	O
</s>
<s>
Applications	O
that	O
support	O
Media	B-Device
Foundation	I-Device
include	O
:	O
</s>
<s>
GoldWave	B-Application
5.60	O
and	O
later	O
relies	O
on	O
Media	B-Device
Foundation	I-Device
for	O
importing	O
and	O
exporting	O
audio	O
.	O
</s>
<s>
Any	O
application	O
that	O
uses	O
Protected	O
Media	O
Path	O
in	O
Windows	O
also	O
uses	O
Media	B-Device
Foundation	I-Device
.	O
</s>
