Can the Windows Media Player COM control play AVI files from memory (instead of from a file)?

Posted by MusiGenesis on Stack Overflow See other posts from Stack Overflow or by MusiGenesis
Published on 2010-03-17T01:28:50Z Indexed on 2010/03/17 1:31 UTC
Read the original article Hit count: 396

Filed under:
|
|
|
|

I have a C# app, and I'm looking at using the Windows Media Player COM control to play animation and audio. So far, the only way I see of programatically controlling what the control is playing is to set its URL property to point to some file (I assume there's some way to pass in a playlist).

Is there any way the WMP can render an AVI that is entirely in-memory, like a MemoryStream or something? If so, can WMP skip from one AVI to the next seamlessly (i.e. no glitch in either the audio or the video as it transitions from one to the next)?

If WMP only plays files, is there some way to cue up a list of the files in advance of play start? If so, can WMP be made to skip from one file to the next without a brief interruption?

Any knowledge or links to knowledge would be much appreciated.

© Stack Overflow or respective owner

Related posts about c#

Related posts about windows-media-player