Getting Sample Count from IWMSyncReader
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
Getting Sample Count from IWMSyncReader

 
Post new topic   Reply to topic    WMPTalk.com Forum Index -> SDK
Author Message
Jason
Guest





Posted: Fri Oct 08, 2004 9:59 pm    Post subject: Getting Sample Count from IWMSyncReader Reply with quote

I am using IWMSyncReader to iterate through a file and copy it. I was
wondering if anybody knew how to get a total sample from a Windows Media
file without parsing the ASF file itself (I would like to set up a progress
dialog box)

TIA

Back to top
Becky Weiss [MS]
Guest





Posted: Sat Oct 09, 2004 4:11 am    Post subject: RE: Getting Sample Count from IWMSyncReader Reply with quote

Jason,

While the SDK doesn't expose a "frame count", you could probably implement a
progress bar by comparing timestamps to the duration of the file. The
duration is available by querying the attribute g_wszWMDuration.

Becky

This posting is provided AS IS with no warranties and confers no rights.

"Jason" wrote:

Quote:
I am using IWMSyncReader to iterate through a file and copy it. I was
wondering if anybody knew how to get a total sample from a Windows Media
file without parsing the ASF file itself (I would like to set up a progress
dialog box)

TIA


Back to top
 
Post new topic   Reply to topic    WMPTalk.com Forum Index -> SDK 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