I am looping through a specific section of a video using ofxWMFVideoPlayer::setPosition, but the video freezes for some seconds when I call the method. Is there any way to avoid this, or to show some other image while it starts again?
What codec is your video? Non iframe or uncompressed videk with a fast disk , will get a better response…
If your design can accommodate something not 100% seamless, you could also have two video player and swap them when you loop… Fade in/out or a few extra frame at the end of the loop/beginning of other video can help too.
Sorry they are all kludge because AFAIK media foundation was not meant to play video in a seamless loop (haha optimizing that was a few weeks struggle…)