<?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 Can Mpeg2FrameConstrutor detect changes in aspect ratio? solved! in Intel® Integrated Performance Primitives</title>
    <link>https://community.intel.com/t5/Intel-Integrated-Performance/Can-Mpeg2FrameConstrutor-detect-changes-in-aspect-ratio-solved/m-p/958442#M19362</link>
    <description>&lt;P&gt;Edit: Solved by using GetInfo() from the decoder.&lt;/P&gt;
&lt;P&gt;I have a live stream that changes aspect ratio on-the-fly, I try to detect that with following the code but it don't work.&lt;/P&gt;
&lt;P&gt;m_framer are an instance of Mpeg2FrameConstructor.&lt;/P&gt;
&lt;P&gt;UMC::VideoStreamInfo* vinfo = (UMC::VideoStreamInfo*) m_framer.GetInfo()-&amp;gt;m_pStreamInfo;&lt;/P&gt;
&lt;P&gt;if (vinfo-&amp;gt;videoInfo.m_iSAWidth&amp;nbsp; != lastSAWidth) {&lt;/P&gt;
&lt;P&gt;}&lt;/P&gt;
&lt;P&gt;This is done for every frame from the framer.&lt;/P&gt;
&lt;P&gt;Is this supposed to work or are there a better way?&lt;/P&gt;
&lt;P&gt;Any help is appriciated&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 01 Mar 2013 14:40:44 GMT</pubDate>
    <dc:creator>elsparro</dc:creator>
    <dc:date>2013-03-01T14:40:44Z</dc:date>
    <item>
      <title>Can Mpeg2FrameConstrutor detect changes in aspect ratio? solved!</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Can-Mpeg2FrameConstrutor-detect-changes-in-aspect-ratio-solved/m-p/958442#M19362</link>
      <description>&lt;P&gt;Edit: Solved by using GetInfo() from the decoder.&lt;/P&gt;
&lt;P&gt;I have a live stream that changes aspect ratio on-the-fly, I try to detect that with following the code but it don't work.&lt;/P&gt;
&lt;P&gt;m_framer are an instance of Mpeg2FrameConstructor.&lt;/P&gt;
&lt;P&gt;UMC::VideoStreamInfo* vinfo = (UMC::VideoStreamInfo*) m_framer.GetInfo()-&amp;gt;m_pStreamInfo;&lt;/P&gt;
&lt;P&gt;if (vinfo-&amp;gt;videoInfo.m_iSAWidth&amp;nbsp; != lastSAWidth) {&lt;/P&gt;
&lt;P&gt;}&lt;/P&gt;
&lt;P&gt;This is done for every frame from the framer.&lt;/P&gt;
&lt;P&gt;Is this supposed to work or are there a better way?&lt;/P&gt;
&lt;P&gt;Any help is appriciated&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 01 Mar 2013 14:40:44 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Can-Mpeg2FrameConstrutor-detect-changes-in-aspect-ratio-solved/m-p/958442#M19362</guid>
      <dc:creator>elsparro</dc:creator>
      <dc:date>2013-03-01T14:40:44Z</dc:date>
    </item>
  </channel>
</rss>

