Task: grabbing arbitrary frames from mpeg2 video files. Now I use custom render filter for grabbing, but problem with positioning video on required frame.
I use SetPosition(), after Pause() for passing frames through graph, wait for filter receive first frame and Stop().
If I get frame by frame, first i receive exact for this time frame, after this frame repeat some times, and again exact frame.
Why SetPosition get wrong result?