Windows Media Player Component -- several videos in succession

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • MC

    Windows Media Player Component -- several videos in succession

    Using the Windows Media Player Component, what is the best way to play several video files in immediate succession? Is there an option that will make the component wait until it's finished? Or should I loop until its playState changes to stopped and then feed it the next file?
  • Nicholas Paldino [.NET/C# MVP]

    #2
    Re: Windows Media Player Component -- several videos in succession

    If you really want seamless playback, you should be creating a
    directshow filter through COM interop (or through unmanaged code, that would
    probably be best) and then stream the files one by one through your filter.

    It's not easy, but it's the closest way to get seamless transitions from
    one video to another.

    --
    - Nicholas Paldino [.NET/C# MVP]
    - mvp@spam.guard. caspershouse.co m

    "MC" <for.address.lo ok@www.ai.uga.e du.slash.mcwrot e in message
    news:OQENfmVQJH A.5076@TK2MSFTN GP02.phx.gbl...
    Using the Windows Media Player Component, what is the best way to play
    several video files in immediate succession? Is there an option that will
    make the component wait until it's finished? Or should I loop until its
    playState changes to stopped and then feed it the next file?
    >

    Comment

    • MC

      #3
      Re: Windows Media Player Component -- several videos in succession


      "Nicholas Paldino [.NET/C# MVP]" <mvp@spam.guard .caspershouse.c omwrote in message news:94C48C58-AA78-4609-BD6C-3D8211394415@mi crosoft.com...
      If you really want seamless playback, you should be creating a
      directshow filter through COM interop (or through unmanaged code, that would
      probably be best) and then stream the files one by one through your filter.

      It's not easy, but it's the closest way to get seamless transitions from
      one video to another.

      --
      - Nicholas Paldino [.NET/C# MVP]
      - mvp@spam.guard. caspershouse.co m
      Thanks -- I've done that in the past, actually, and was looking for a shortcut. Creating a playlist object for the Media Player component may do what I want well enough.

      Comment

      Working...