Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

Reply
 
Thread Tools Display Modes
Old Jan 6th, 2007, 4:31 AM   #1
AcidRain
Newbie
 
Join Date: Jan 2007
Posts: 1
Rep Power: 0 AcidRain is on a distinguished road
Windows Media Player ActiveX Buffer

Hello,
I am trying to write an application that plays a video and allows the user to set 2 points, A and B, on a timeline and when the video plays and reaches point A, it then skips directly to point B. I have currently written it in VB using the Windows Media Player ActiveX control and I simply have the program set the current position of the time slider to time B immediately after reaching point A. This does work; however, there is a moment in which the video freezes. I am assuming this is due to the fact that the buffer contains the data to play the next few seconds of video after point A, so when it skipped immediately from A to B it had no buffer data for video from B onward so it needed to 'catch up'. Note: I am playing the movie directly from a DVD disk, so it is also probably the laser needing to physically change positions, but if I could get it to put that data in the buffer before time, it would eliminate the video freeze, correct? Now, my question is: is there a way to control what goes into the buffer? I am thinking that the answer to this will probably be no because I am not certain if the Windows Media Player ActiveX control allows that depth of access into what is actually going on behind the scenes in the video playing process. I am willing to rewrite the program around something other than the Windows Media ActiveX control. I read some about directShow and am considering this as another option but I don’t know if it can do what I am looking for it to do. So, if this is not able to be done with the Windows Media Player ActiveX control, can someone point me to something else to build the program around that will allow that type of access to the buffer. Also, I am quite uncertain of how to go about controlling the buffer; I don't really know what to search for to find help on how to code something like this, so help on where I can get information on how to do what I am trying to do would be helpful also. (I am not limited to VB, but could use Java or C++ as well, but preferably VB)

Any help is appreciated.

Thanks.
AcidRain is offline   Reply With Quote
Reply

Bookmarks

« Previous Thread in Forum | Next Thread in Forum »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Using Windows Media Player with Asp.NET lucifer ASP.NET 3 Aug 28th, 2008 3:31 AM
Windows Media Center Recorded TV MrMan9879 Coder's Corner Lounge 2 Sep 3rd, 2006 3:06 AM
Do you know this kind of media player? java_roshan Coder's Corner Lounge 3 Aug 10th, 2006 12:46 PM
test lostcauz Coder's Corner Lounge 9 Jul 18th, 2006 4:20 PM
Function problems Prm753 C 8 Jan 5th, 2006 4:13 PM




DaniWeb IT Discussion Community
All times are GMT -5. The time now is 2:02 PM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC