Sign in to follow this  
dghworld

Media Seeking Question!!!

Recommended Posts

Hello, great forum palace! How Can I control play the content of media file,For Example, Media file it takes time about 20s, I want to play btw 5s and 15s or save this segment to the other file. REFERENCE_TIME rtstart = 5 * 10000000; REFERENCE_TIME rtend = 15 * 10000000; IMediaSeeking * pseek= NULL; ... pseek->SetPosition(&rtstart, AM_SEEKING_AbsolutePositioning, &rtend, AM_SEEKING_AbsolutePositioning); m_pControl->run(); How I control the m_pGraphControl to stop when it is time 15s?

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this