currentposition problems with WMP 11
WMPTalk.com Forum Index WMPTalk.com
Discuss Windows Media Player
 
 FAQFAQ   MemberlistMemberlist     RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 
Google
 
Web wmptalk.com
currentposition problems with WMP 11

 
Post new topic   Reply to topic    WMPTalk.com Forum Index -> Windows Media on Web
Author Message
jimhood



Joined: 23 Feb 2007
Posts: 2

Posted: Fri Feb 23, 2007 8:17 pm    Post subject: currentposition problems with WMP 11 Reply with quote

Hi,

I have been wrestling witha problem all week and need some help.

We have a system in which WMP is embedded as a control in an EXcel VBA form.

We then have code that seeks to points in videos to enable us to synchronise videos to transcripts etc.

This code uses lines like

Controls("windowsmediaplayer2").controls.currentposition=newpos
to do this and has been wqorking perfectly for years with WMP7 and 9.

I upgarede this week to WMP11 and have not been able to get it to work since.

The symptoms and process I have followed are as follows:

Using the simple controls.currentposition with a local file the video seeks to a point between 1 and 5 seconds before the time requested. I am guessing that it is seeking to teh key frame before the time.

I re-encoded the video using the latest WMP9 Codecs .. no difference in result so ...

I Re-encoded the file and included timecodes and ..

using controls.currentPositionTimeCode I can report the current position accuratly but cannot seek to a timecode. I have a line that is the equiovalent of

newpos="[00000]00:08:53.07"
Controls("windowsmediaplayer2").controls.currentPositionTimecode=newpos

I have tested the availability of the control using control.isAvailable("currentPositionTimeCode") and this generates an error ..Invalid procedure call or argument.

I am now at a loss as to what to do next

Any help appreciated!

Jim

Back to top
View user's profile Send private message
jimhood



Joined: 23 Feb 2007
Posts: 2

Posted: Sun Feb 25, 2007 8:27 am    Post subject: More Data on currentPosition Problem Reply with quote

I have been doing some more testing (no solution found yet!).

I have run the code on another machine with WMP 11 installed and get the same symptoms .. confirms that it is not a machine set-up issue.

I have run the code with my older machine with WMP9 on it.

controls.currentposition works fine
controls.currentpositiontimecode fails

but

IWMPcontrols3.currentpositiontimecode works perfectly

Back to WMP 11 machine and

IWMPcontrols3.currentpositiontimecode thows an error

"Object does not support this property or method"

Any ideas re work arounds much appreciated

Jim
Back to top
View user's profile Send private message
 
Post new topic   Reply to topic    WMPTalk.com Forum Index -> Windows Media on Web All times are GMT
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



Microsoft Office Forum New Topics
Powered by phpBB