<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic SetTimePosition Hangs Playback in Intel® Integrated Performance Primitives</title>
    <link>https://community.intel.com/t5/Intel-Integrated-Performance/SetTimePosition-Hangs-Playback/m-p/912693#M14432</link>
    <description>&lt;DIV style="margin-left: 2px; margin-right: 2px;"&gt;Quoting &lt;A jquery1263449467852="82" rel="/services/profile/quick_profile.php?is_paid=&amp;amp;user_id=295605" href="https://community.intel.com/en-us/profile/295605/" class="basic"&gt;franknatoli&lt;/A&gt;&lt;/DIV&gt;
&lt;DIV style="margin-left: 2px; margin-right: 2px; background-color: #e5e5e5; border: 1px inset; padding: 5px;"&gt;&lt;I&gt;
&lt;P&gt;Have H.264 MP4 file that plays well but upon calling SetTimePosition appears to hang the splitter [no more frames can be extracted]. QuickTime has no problem playing the file and repositioning during playback. Is there a way to submit the file to Intel for analysis? It is 12MB. Thanks.&lt;/P&gt;
&lt;/I&gt;&lt;/DIV&gt;
&lt;P&gt;Hello&lt;/P&gt;
&lt;P&gt;You maycopy the file to &lt;A href="ftp://ftp.intel.com/pub/incoming/"&gt;ftp://ftp.intel.com/pub/incoming/&lt;/A&gt;(where IE is also able to access)&lt;/P&gt;
&lt;P&gt;and let us know the file name. (If the file is private, you can mark the post Private=Yes)&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Ying&lt;/P&gt;</description>
    <pubDate>Thu, 14 Jan 2010 06:17:33 GMT</pubDate>
    <dc:creator>Ying_H_Intel</dc:creator>
    <dc:date>2010-01-14T06:17:33Z</dc:date>
    <item>
      <title>SetTimePosition Hangs Playback</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/SetTimePosition-Hangs-Playback/m-p/912692#M14431</link>
      <description>&lt;P&gt;Have H.264 MP4 file that plays well but upon calling SetTimePosition appears to hang the splitter [no more frames can be extracted]. QuickTime has no problem playing the file and repositioning during playback. Is there a way to submit the file to Intel for analysis? It is 12MB. Thanks.&lt;/P&gt;</description>
      <pubDate>Wed, 13 Jan 2010 19:17:06 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/SetTimePosition-Hangs-Playback/m-p/912692#M14431</guid>
      <dc:creator>franknatoli</dc:creator>
      <dc:date>2010-01-13T19:17:06Z</dc:date>
    </item>
    <item>
      <title>SetTimePosition Hangs Playback</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/SetTimePosition-Hangs-Playback/m-p/912693#M14432</link>
      <description>&lt;DIV style="margin-left: 2px; margin-right: 2px;"&gt;Quoting &lt;A jquery1263449467852="82" rel="/services/profile/quick_profile.php?is_paid=&amp;amp;user_id=295605" href="https://community.intel.com/en-us/profile/295605/" class="basic"&gt;franknatoli&lt;/A&gt;&lt;/DIV&gt;
&lt;DIV style="margin-left: 2px; margin-right: 2px; background-color: #e5e5e5; border: 1px inset; padding: 5px;"&gt;&lt;I&gt;
&lt;P&gt;Have H.264 MP4 file that plays well but upon calling SetTimePosition appears to hang the splitter [no more frames can be extracted]. QuickTime has no problem playing the file and repositioning during playback. Is there a way to submit the file to Intel for analysis? It is 12MB. Thanks.&lt;/P&gt;
&lt;/I&gt;&lt;/DIV&gt;
&lt;P&gt;Hello&lt;/P&gt;
&lt;P&gt;You maycopy the file to &lt;A href="ftp://ftp.intel.com/pub/incoming/"&gt;ftp://ftp.intel.com/pub/incoming/&lt;/A&gt;(where IE is also able to access)&lt;/P&gt;
&lt;P&gt;and let us know the file name. (If the file is private, you can mark the post Private=Yes)&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Ying&lt;/P&gt;</description>
      <pubDate>Thu, 14 Jan 2010 06:17:33 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/SetTimePosition-Hangs-Playback/m-p/912693#M14432</guid>
      <dc:creator>Ying_H_Intel</dc:creator>
      <dc:date>2010-01-14T06:17:33Z</dc:date>
    </item>
    <item>
      <title>SetTimePosition Hangs Playback</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/SetTimePosition-Hangs-Playback/m-p/912694#M14433</link>
      <description>&lt;P&gt;Uploaded sdvideo_demo.mp4 to pub/incoming.&lt;/P&gt;
&lt;P&gt;To repeat, sequential playback [IPP 6.0.0.062] is successful. However,when SetTimePosition is called, splitter hangs. In contrast, QuickTime is able to reposition during playback w/o problem.&lt;/P&gt;
&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Thu, 14 Jan 2010 14:05:57 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/SetTimePosition-Hangs-Playback/m-p/912694#M14433</guid>
      <dc:creator>Robert_Sadur</dc:creator>
      <dc:date>2010-01-14T14:05:57Z</dc:date>
    </item>
    <item>
      <title>SetTimePosition Hangs Playback</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/SetTimePosition-Hangs-Playback/m-p/912695#M14434</link>
      <description>&lt;P&gt;Hello Robert,&lt;/P&gt;
&lt;P&gt;Did you called 'Run' method of splitter after SetTimePosition?&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;Artem&lt;/P&gt;</description>
      <pubDate>Tue, 02 Feb 2010 14:18:17 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/SetTimePosition-Hangs-Playback/m-p/912695#M14434</guid>
      <dc:creator>Artem_V_Intel</dc:creator>
      <dc:date>2010-02-02T14:18:17Z</dc:date>
    </item>
    <item>
      <title>SetTimePosition Hangs Playback</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/SetTimePosition-Hangs-Playback/m-p/912696#M14435</link>
      <description>&lt;P&gt;[I work with Bob.]&lt;/P&gt;
&lt;P&gt;Yes, Run is called, here is a snippet of the code:&lt;/P&gt;
&lt;SPAN style="font-size: x-small;"&gt;
&lt;P&gt;// if reposition requested&lt;BR /&gt;if (m_bProgressRepositionVideo)&lt;BR /&gt;{&lt;BR /&gt;TRACE("VideoThread %s Splitter::SetTimePosition %.3lf\n", (LPCTSTR)m_strStreamDisplayPath, m_lfProgressReposition);&lt;BR /&gt;m_bProgressRepositionVideo = FALSE;&lt;BR /&gt;// stop splitter&lt;BR /&gt;splitter-&amp;gt;Stop();&lt;BR /&gt;// flush decoder&lt;BR /&gt;decoder-&amp;gt;GetFrame(NULL, &amp;amp;videoOut);&lt;BR /&gt;// reposition splitter&lt;BR /&gt;if (m_lfProgressReposition &amp;gt; m_lfStartTime)&lt;BR /&gt;splitter-&amp;gt;SetTimePosition(m_lfProgressReposition - m_lfStartTime);&lt;BR /&gt;else&lt;BR /&gt;splitter-&amp;gt;SetTimePosition(0);&lt;BR /&gt;// restart splitter&lt;BR /&gt;splitter-&amp;gt;Run();&lt;BR /&gt;// set flags&lt;BR /&gt;bRepositionRestart = TRUE;&lt;BR /&gt;m_nDiscardFrame = 1;&lt;BR /&gt;}&lt;/P&gt;
&lt;/SPAN&gt;</description>
      <pubDate>Tue, 02 Feb 2010 18:18:43 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/SetTimePosition-Hangs-Playback/m-p/912696#M14435</guid>
      <dc:creator>franknatoli</dc:creator>
      <dc:date>2010-02-02T18:18:43Z</dc:date>
    </item>
    <item>
      <title>SetTimePosition Hangs Playback</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/SetTimePosition-Hangs-Playback/m-p/912697#M14436</link>
      <description>&lt;P&gt;There is a post from Artem on Intel Premier stating that SetTimePosition is not implemented and not supported, and that repositioning while playing any codec is not supported by Intel.&lt;/P&gt;
&lt;P&gt;Obviously SetTimePosition is implemented, just look at the IPP/UMC source code.&lt;/P&gt;
&lt;P&gt;Obviously SetTimePosition works for many files, try many MPEG-2 and MPEG-4 files.&lt;/P&gt;
&lt;P&gt;Why would Intel make such a post?&lt;/P&gt;</description>
      <pubDate>Fri, 05 Feb 2010 17:43:45 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/SetTimePosition-Hangs-Playback/m-p/912697#M14436</guid>
      <dc:creator>franknatoli</dc:creator>
      <dc:date>2010-02-05T17:43:45Z</dc:date>
    </item>
    <item>
      <title>SetTimePosition Hangs Playback</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/SetTimePosition-Hangs-Playback/m-p/912698#M14437</link>
      <description>&lt;P&gt;Hello Frank,&lt;/P&gt;
&lt;P&gt;We've received some clarification from engineering regarding the issue you are having trouble with. The SetTimePosition function is not designed to deal with fragmented streams, only continuous streams.&lt;/P&gt;
&lt;P&gt;Here is some feedback from the engineer:&lt;/P&gt;
&lt;BLOCKQUOTE&gt;
&lt;P&gt;&lt;EM&gt;Fragmented MP4 streams have a separate index for each fragment that is why such streams can be played infinitely. On the other hand, it is impossible to implement reposition in an infinite stream. Moreover all fragments can have the same time stamp for the 1st video frame of a fragment. &lt;/EM&gt;&lt;EM&gt;UMC MP4 splitter should support repositioning inside one fragment only. But this feature has never been tested.&lt;/EM&gt;&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Paul&lt;/P&gt;</description>
      <pubDate>Thu, 18 Feb 2010 01:14:27 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/SetTimePosition-Hangs-Playback/m-p/912698#M14437</guid>
      <dc:creator>PaulF_IntelCorp</dc:creator>
      <dc:date>2010-02-18T01:14:27Z</dc:date>
    </item>
    <item>
      <title>SetTimePosition Hangs Playback</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/SetTimePosition-Hangs-Playback/m-p/912699#M14438</link>
      <description>&lt;P&gt;short postscript...&lt;/P&gt;
&lt;P&gt;My understanding is that this means the SetTimePosition method (and some related methods?) needs, at best, to be augmented to keep track of numbers and sizes of fragments in order to work with a fragmented stream. At worst, it needs to be modified to avoid causing a crash, but that would not necessarily allow repositioning over a fragmented stream.&lt;/P&gt;</description>
      <pubDate>Fri, 19 Feb 2010 19:55:32 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/SetTimePosition-Hangs-Playback/m-p/912699#M14438</guid>
      <dc:creator>PaulF_IntelCorp</dc:creator>
      <dc:date>2010-02-19T19:55:32Z</dc:date>
    </item>
    <item>
      <title>SetTimePosition Hangs Playback</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/SetTimePosition-Hangs-Playback/m-p/912700#M14439</link>
      <description>&lt;P&gt;Theres a bug in TrackIndex::GetEntry method (umc_index.cpp).&lt;/P&gt;
&lt;P&gt;The problem is that fragments in your stream consist of 1 frame only and we get&lt;/P&gt;
&lt;P&gt;an infinite value in calculations when we try to find the right frame for SetTimePosition.&lt;/P&gt;
&lt;P&gt;Ive fixed the issue by adding the lines in &lt;STRONG&gt;bold&lt;/STRONG&gt; in the file mentioned above:&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;m_iLastReturned = 0;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;if (nOfEntries &amp;gt; 1)&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;{&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;// approximate position of requested entry&lt;/P&gt;
&lt;P&gt;m_iLastReturned = (Ipp32s)(nOfEntries * (time - dStartTime) / (dEndTime - dStartTime));&lt;/P&gt;
&lt;P&gt;if (pEntryArray[m_iLastReturned].GetTimeStamp() &amp;lt; time)&lt;/P&gt;
&lt;P&gt;while (m_iLastReturned + 1 &amp;lt; nOfEntries &amp;amp;&amp;amp; pEntryArray[m_iLastReturned + 1].GetTimeStamp() &amp;lt; time)&lt;/P&gt;
&lt;P&gt;m_iLastReturned++;&lt;/P&gt;
&lt;P&gt;else&lt;/P&gt;
&lt;P&gt;while (m_iLastReturned &amp;gt;= 0 &amp;amp;&amp;amp; pEntryArray[m_iLastReturned].GetTimeStamp() &amp;gt; time)&lt;/P&gt;
&lt;P&gt;m_iLastReturned--;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;}&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 26 Feb 2010 23:15:28 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/SetTimePosition-Hangs-Playback/m-p/912700#M14439</guid>
      <dc:creator>Sergey_O_Intel1</dc:creator>
      <dc:date>2010-02-26T23:15:28Z</dc:date>
    </item>
  </channel>
</rss>

