Windows Media Player and Codecs

  • Thread starter Thread starter UJ
  • Start date Start date
U

UJ

I have a .avi file that uses the Divx codec. If I load it with windows media
player program it works fine. If I load it using my control in a program, it
doesn't display. Over standard media files work fine so it's this particular
file.

Do I have to do anything when the file uses a non-included codec? How can I
tell what Codec it's using?

TIA - Jeff.
 
TIA,

Does the control you are using use DirectShow? DirectShow (which is
used by Windows Media Player, which has a control you can use in your
applications, I believe) should pick up the encoders and correctly render
the video (as you see in Windows Media Player).

What is the control you are using? Why not use the Windows Media Player
control?

Hope this helps.
 
I'm using the Windows Media Player control and it appears that when you have
a non-standard codec, even if it's loaded on the machine, it doesn't seem to
work.

Jeff.

Nicholas Paldino said:
TIA,

Does the control you are using use DirectShow? DirectShow (which is
used by Windows Media Player, which has a control you can use in your
applications, I believe) should pick up the encoders and correctly render
the video (as you see in Windows Media Player).

What is the control you are using? Why not use the Windows Media
Player control?

Hope this helps.

--
- Nicholas Paldino [.NET/C# MVP]
- (e-mail address removed)

UJ said:
I have a .avi file that uses the Divx codec. If I load it with windows
media player program it works fine. If I load it using my control in a
program, it doesn't display. Over standard media files work fine so it's
this particular file.

Do I have to do anything when the file uses a non-included codec? How can
I tell what Codec it's using?

TIA - Jeff.
 
UJ said:
I'm using the Windows Media Player control and it appears that when you
have a non-standard codec, even if it's loaded on the machine, it doesn't
seem to work.

Not that it helps you much, but I haven't run into that problem myself using
a WMP control in an app.
 
Back
Top