473,466 Members | 1,388 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Windows Media Player Component -- several videos in succession

MC
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?
Nov 8 '08 #1
2 4267
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]
- mv*@spam.guard.caspershouse.com

"MC" <fo**************@www.ai.uga.edu.slash.mcwrote in message
news:OQ**************@TK2MSFTNGP02.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?
Nov 9 '08 #2
MC

"Nicholas Paldino [.NET/C# MVP]" <mv*@spam.guard.caspershouse.comwrote in message news:94**********************************@microsof t.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]
- mv*@spam.guard.caspershouse.com
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.
Nov 9 '08 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

56
by: alan b | last post by:
I copied it and tried to edit the movie.htm below in the <PARAM NAME=*** location of the file where the videoclip is on my hard drive. It is already recorded by Windows Media Player. My version...
1
by: Stephen Adam | last post by:
Hi there, Have spent a while trying to find out how to connect to Windows Media Player through COM. Unfortunately there doesnt seem to be much stuff about it on the web. What I need to do is...
0
by: yin heng | last post by:
I used "Choose Tool Box Items" from "Tool" and added the "Windows Media Player" component in the ToolBox. After I draged the windows mdia to the Form, I definited its name as"player1". The problem...
4
by: BobAchgill | last post by:
What is the best way to show a video file directly in a Form? Can I use functions of Windows Player in a Windows Form? Functions like: play video or show visualization for music, etc.
19
by: Tony | last post by:
I'm working on project that plays movies using Windows Media Player and I'm controlling everything with JavaScript. Per the client I only need to support IE 6 or greater which happens to make...
1
by: stever412 | last post by:
Hi I have installed Vista Ultimate on a new XP box, without setting up the Windows Media Player, I use the msdxm.ocx component in my VB 6.0 application. After installing Vista and then running...
1
by: amz1984 | last post by:
hi all, i am using windows media player in VB6 to play videos and when paused the current position of the video file is stored into a database. That works all good. I wanted some help in displaying...
21
by: Cashie | last post by:
Hi I used to have an old version of Windows Media Player (pre-version 8), which used to play most tracks (WMA files) fine but I thought that I would upgrade to version 11. I upgraded to this...
0
by: pavanip | last post by:
Hi, I am new to Silverlight Applications. I created one media player control to play video in asp.net website.I want to drag and drop that media player control to desired place when we run the...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.