View Full Version : the length of moive
lol_123
7th May 2008, 09:13
Does anyone know how to get the length of moive when you playback online video? filesource url does not support IMediaseeking interface.
Thanks L
As the media opens you should get a callbackHRESULT IPin::NewSegment(REFERENCE_TIME tStart, REFERENCE_TIME tStop, double dRate)Some splitters can give bogus tStop values, like MaxLongLong, so you need to validate.
lol_123
7th May 2008, 11:33
thanks IanB, I will give it a try with using Clsd's latest MPC code and get back to you later. if it works, i will email the code to Clsd, i do think it is important feature to MPC.
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.