I'm quite new to OSMF and I'm having an odd problem. I've built a very simple media player that features basic controls and nothing else.
When I try to seek through my videos however, it skips to the nearest 12 second interval. For example, clicking anywhere at the start seeks to 00:12, click anywhere slightly after that seeks to 00:24, and so on. The seeker is returning the correct duration when I click it, but regardless the player skips to the next 12 second interval. This happens on different FLV lengths too, I tried it with various videos.
I'm confused as to why this would be, is there some sort of parameter where I can set the seeking to 'precise' or something? I had a scan through the docs and didn't see anything to that effect.
Any help would be greatly appreciated!
As you can see, you can enable
EnhancedSeek if you use a FMS server. Otherwise, you need to re-encode the videos with a smaller key frame interval.
Thanks for the quick response!
Looks like I'll have to re-encode the videos, hopefully this will fix the problem.
I re-encoded with a keyframe every second, and it works perfectly.
Thanks for your help, Andrian! Much appreciated.