jimhood
Joined: 23 Feb 2007
Posts: 2
|
Posted:
Fri Feb 23, 2007 8:17 pm Post subject:
currentposition problems with WMP 11 |
|
|
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
|
|