Quantcast
Channel: Media Foundation Development for Windows Desktop forum
Viewing all articles
Browse latest Browse all 1079

Scrubbing in Media Foundation is not working

$
0
0

I'm using sequencer for seamless playback.
I'm trying to perform scrubbing on my playlist, but it doesn't work as MSDN
describes it.

To simplify my steps:

1) call Pause()
2) call SetRate() to set the rate to 0.0
3) call MFCreateSequencerSegmentOffset() with sequencer element ID and seek position
4) call Start()

First problem is that I never receive the MESessionScrubSampleComplete notification.
(My output node is created with MFCreateVideoRendererActivate)

Second, instead of presenting a still frame, my playback is running at 1-2 fps
after calling IMFMediaSession::Start(). I even checked the rate, it is set to 0.0.

No errors at all.

If it helps, I'm playing 2 wmv files.


Viewing all articles
Browse latest Browse all 1079

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>