- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Here is code of my seeking so far
//Re-initialize media data
m_InCmprMediaData.SetBufferPointer(m_pFileBuff, m_unFileBuffSize); m_InCmprMediaData.SetDataSize(m_unFileBuffSize);
//Seek frame to
m_pSplitter->SetTimePosition(0.0);
m_pSplitter->SetTimePosition(m_dSeekToSec);
nSize = m_pDataReader->GetPosition();
m_InCmprMediaData.MoveDataPointer(static_cast
I have no idea what to do to make this better, this thing jumps in huge increments time. So what that means is if i click 10:59 in the video it will jump at like 11:05 or 11:10. I think its that pb frame situation that i explained up there.
Anyone from intel have insight (because we were directed to this forum even though having a ipp license)... or has anyone else have umc could give me some help.
If your going to direct me to the search bar - direct me to a the link of the forum post instead(because I already searched keywords on this about a month ago and got nothing).
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi!
When you call m_pSplitter->SetTimePosition(time) the splitter moves tothe nearest I frame previous to the time you specified. This is done because decoder can start decoding from I frame only. If you want to get a frame with the timestamp exactly you specified, you should just skip frames after decoder before rendering.
-Sergey
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi!
When you call m_pSplitter->SetTimePosition(time) the splitter moves tothe nearest I frame previous to the time you specified. This is done because decoder can start decoding from I frame only. If you want to get a frame with the timestamp exactly you specified, you should just skip frames after decoder before rendering.
-Sergey
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Really I don't quite understand what you're doing.
You should use Splitter to get an encoded frame from the stream (it has already DataReader inside), then you should pass this frame to Decoder (because it works by frames) and then you should pass decoded frame to the Renderer. For reposition you should first use Solitter methods as I said above. You may study umc samples to understan how it works.

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page