I have noticed abnormal proceeding of SetTimePosition in MP4 Splitter. I use a SimpleSplitter sample from your webpage http://software.intel.com/en-us/articles/getting-started-with-intel-ipp-....
Before line "Splitter.Run()", I added a line Splitter.SetTimePosition(62). I also used videoInfo()->framerate to get a frame rate from stream. In my case it's 24,99978, so 62 sec * 24,999978 = 1549,98 frame. Consequently .SetTimePosition(62) should go read marker to 1549,98 frame number, BUT I see that it goes to frame number 1529... What's happened?
When I change MP4 splitter to AVi Splitter and VideoDecoder to MPEG4 video decoder (the same video, compressed with xvid to avi container), everything is ok. Frame rate is exactly 25.00 fps and calling .SetTimePosition(62) goes read marker to 62 * 25=1550 frame number.
By the way - how I can get current processing frame time? I have tried to use function Splitter.GetTimePosition() called in for loop behind GetFrame(), but it retrieved me a gibberish - random times, but I need time details in seconds (0, 1,2,3...)
Thanks for any help.