Jump to content
  • Advertisement
Sign in to follow this  

Media Seeking Question!!!

This topic is 4751 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

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
Sign in to follow this  

  • Advertisement

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!