473,796 Members | 2,658 Online
Bytes | Software Development & Data Engineering Community
+ 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 4282
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.co m

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

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

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

Similar topics

56
6974
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 is 9.0 although it is coded 5.0 in this htm file. Let me know if it is able to be fixed. *** denotes where it is edited to locate the path where the videoclip is.
1
7898
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 create a simple console application which will be able to find out what the values of a currently playing tack. I've downloaded the Windows Media player SDK which come with some IDL and
0
1202
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 is when I wrote the code, I can't find the attribute of player1.FileName which is supposed to be in player1. what can i do with this? Is there some problem with definitate the player component? thanks.
4
7837
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
19276
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 things a bit easier. What I need to do is create a playlist and play it using JavaScript. I keep on getting close but not close enough to play the dang files. Has anyone done this before and can shed some light on what worked for them?
1
2100
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 Windows Media Player 11.0, the msdxm.ocx is only 4k in size and normally it is 484k, so my app doesn't player any .avi files in it. And I can't copy the old msdxm.ocx into c:\windows\system32 folder, does WiMP or Vista not handle this component anymore,...
1
2544
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 the current position on my from. As in you can see all the hr,min, sec. or even to just see the frames in a figure. Can any one help me?? thank you amit
21
40928
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 at the weekend but now I cannot play any tracks that I have. Whenever I attempt to play a track, windows displays a message: Windows Media Player cannot play the protected file because a security upgrade is required. Do you want to download the...
0
1649
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 application but there are no events to drag and drop the video. I tried media element control its working fine for drag and drop functionality but i want that feature in media player control. Is there any other alternatives to drag and drop videos to...
0
9685
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10461
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10239
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10190
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9057
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
6796
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 then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
1
4122
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 we have to send another system
2
3736
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2928
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.