<?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 Modified MP4 splitter sample  in Intel® Integrated Performance Primitives</title>
    <link>https://community.intel.com/t5/Intel-Integrated-Performance/Modified-MP4-splitter-sample/m-p/829525#M5432</link>
    <description>HiTamer, &lt;BR /&gt;&lt;BR /&gt;Thank you a lot for the sharing. Right, I agree you that &lt;BR /&gt;&lt;BR /&gt;&lt;P&gt;If this is the case, you do not need any rendering process, all you need is to decode your frames and use your existing calls to out.GetPlanePointer or call out.GetBufferPointer() once per frame;&lt;/P&gt;&lt;P&gt;The decoder outputs YUV frames already!&lt;BR /&gt;&lt;BR /&gt;I guessUlisses87 may worry about &lt;STRONG&gt;thecYUVData buffer is overflowing&lt;BR /&gt;&lt;/STRONG&gt;when keeprun thedecoder wherecYUVData willkeep increase. &lt;BR /&gt;&lt;BR /&gt; status = videoDecoder-&amp;gt;GetFrame(&amp;amp;in,&amp;amp;out);&lt;BR /&gt; &lt;BR /&gt; /////////////////////&lt;BR /&gt; //// imported code&lt;BR /&gt; if(status == UMC::UMC_OK)&lt;BR /&gt; {&lt;BR /&gt; cYUVData += frameSize;&lt;BR /&gt; out.SetBufferPointer(cYUVData,frameSize);&lt;BR /&gt; frameNumber++;&lt;BR /&gt; }&lt;BR /&gt;&lt;BR /&gt;Actually, the buffer can be overwrited. (you don't need move the pointer)&lt;BR /&gt;&lt;BR /&gt;for example,&lt;BR /&gt; umcSts = out.Init((Ipp32s) videoInfo-&amp;gt;clip_info.width, (Ipp32s) videoInfo-&amp;gt;clip_info.height, UMC::ColorFormat::YUV420, 8);//, Ipp32s iBitDepth = 0);&lt;BR /&gt; umcSts = out.Alloc();&lt;BR /&gt;&lt;BR /&gt;ret =videoDecoder-&amp;gt; GetFrame((NoFramesForDecoder) ? (NULL) : &amp;amp;in, &amp;amp;out);&lt;/P&gt;&lt;P&gt;if (ret != UMC::UMC_ERR_NOT_ENOUGH_DATA &amp;amp;&amp;amp; ret != UMC::UMC_OK) &lt;BR /&gt; return false; // error&lt;/P&gt;&lt;P&gt; if (ret == UMC::UMC_OK)&lt;BR /&gt; {&lt;BR /&gt; numDecFrames++;&lt;BR /&gt; printf(" decoder frame %d \n", numDecFrames);&lt;BR /&gt;&lt;BR /&gt;// if you'd like to see the frame,you can store frame&lt;BR /&gt; WriteFrame(outDecoderfp, out, imgWidth, imgHeight);&lt;BR /&gt; }&lt;/P&gt;&lt;P&gt;&lt;A href="http://software.intel.com/file/33343"&gt;Here&lt;/A&gt; is one stream (or pipeline)encoder/splitter/decoder sample code&lt;BR /&gt;No sureif i had attachedit somewhere,attached it again.it is for VC1codec, but the loop and processing is same for H.264 or MP4.&lt;BR /&gt;Seems wemay add the streaming sample to the get start sample. &lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Ying&lt;/P&gt;</description>
    <pubDate>Thu, 06 Jan 2011 06:31:26 GMT</pubDate>
    <dc:creator>Ying_H_Intel</dc:creator>
    <dc:date>2011-01-06T06:31:26Z</dc:date>
    <item>
      <title>Modified MP4 splitter sample</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Modified-MP4-splitter-sample/m-p/829524#M5431</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;This thread discusses Chaos sample splitter, and presents a
modified version using also Chaos sample decoder.&lt;/P&gt;

&lt;P&gt;The modified version doesnt use fwRender, yet, it still outputs
a YUV file.&lt;/P&gt;

&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many thanks to Chao for providing such helpful examples.&lt;/P&gt;

&lt;P&gt;&lt;/P&gt;

&lt;P&gt;Code file attached: &lt;A&gt;modifiedSplitter.cpp&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;&lt;/P&gt;

&lt;P&gt;This is an extension to thread:&lt;/P&gt;

&lt;P&gt;&lt;A href="http://software.intel.com/en-us/forums/showthread.php?t=79645&amp;amp;o=a&amp;amp;s=lr" target="_blank"&gt;http://software.intel.com/en-us/forums/showthread.php?t=79645&amp;amp;o=a&amp;amp;s=lr&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;&lt;/P&gt;

&lt;P&gt;Regards,&lt;/P&gt;

Tamer Assad</description>
      <pubDate>Wed, 05 Jan 2011 16:40:52 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Modified-MP4-splitter-sample/m-p/829524#M5431</guid>
      <dc:creator>Tamer_Assad</dc:creator>
      <dc:date>2011-01-05T16:40:52Z</dc:date>
    </item>
    <item>
      <title>Modified MP4 splitter sample</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Modified-MP4-splitter-sample/m-p/829525#M5432</link>
      <description>HiTamer, &lt;BR /&gt;&lt;BR /&gt;Thank you a lot for the sharing. Right, I agree you that &lt;BR /&gt;&lt;BR /&gt;&lt;P&gt;If this is the case, you do not need any rendering process, all you need is to decode your frames and use your existing calls to out.GetPlanePointer or call out.GetBufferPointer() once per frame;&lt;/P&gt;&lt;P&gt;The decoder outputs YUV frames already!&lt;BR /&gt;&lt;BR /&gt;I guessUlisses87 may worry about &lt;STRONG&gt;thecYUVData buffer is overflowing&lt;BR /&gt;&lt;/STRONG&gt;when keeprun thedecoder wherecYUVData willkeep increase. &lt;BR /&gt;&lt;BR /&gt; status = videoDecoder-&amp;gt;GetFrame(&amp;amp;in,&amp;amp;out);&lt;BR /&gt; &lt;BR /&gt; /////////////////////&lt;BR /&gt; //// imported code&lt;BR /&gt; if(status == UMC::UMC_OK)&lt;BR /&gt; {&lt;BR /&gt; cYUVData += frameSize;&lt;BR /&gt; out.SetBufferPointer(cYUVData,frameSize);&lt;BR /&gt; frameNumber++;&lt;BR /&gt; }&lt;BR /&gt;&lt;BR /&gt;Actually, the buffer can be overwrited. (you don't need move the pointer)&lt;BR /&gt;&lt;BR /&gt;for example,&lt;BR /&gt; umcSts = out.Init((Ipp32s) videoInfo-&amp;gt;clip_info.width, (Ipp32s) videoInfo-&amp;gt;clip_info.height, UMC::ColorFormat::YUV420, 8);//, Ipp32s iBitDepth = 0);&lt;BR /&gt; umcSts = out.Alloc();&lt;BR /&gt;&lt;BR /&gt;ret =videoDecoder-&amp;gt; GetFrame((NoFramesForDecoder) ? (NULL) : &amp;amp;in, &amp;amp;out);&lt;/P&gt;&lt;P&gt;if (ret != UMC::UMC_ERR_NOT_ENOUGH_DATA &amp;amp;&amp;amp; ret != UMC::UMC_OK) &lt;BR /&gt; return false; // error&lt;/P&gt;&lt;P&gt; if (ret == UMC::UMC_OK)&lt;BR /&gt; {&lt;BR /&gt; numDecFrames++;&lt;BR /&gt; printf(" decoder frame %d \n", numDecFrames);&lt;BR /&gt;&lt;BR /&gt;// if you'd like to see the frame,you can store frame&lt;BR /&gt; WriteFrame(outDecoderfp, out, imgWidth, imgHeight);&lt;BR /&gt; }&lt;/P&gt;&lt;P&gt;&lt;A href="http://software.intel.com/file/33343"&gt;Here&lt;/A&gt; is one stream (or pipeline)encoder/splitter/decoder sample code&lt;BR /&gt;No sureif i had attachedit somewhere,attached it again.it is for VC1codec, but the loop and processing is same for H.264 or MP4.&lt;BR /&gt;Seems wemay add the streaming sample to the get start sample. &lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Ying&lt;/P&gt;</description>
      <pubDate>Thu, 06 Jan 2011 06:31:26 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Modified-MP4-splitter-sample/m-p/829525#M5432</guid>
      <dc:creator>Ying_H_Intel</dc:creator>
      <dc:date>2011-01-06T06:31:26Z</dc:date>
    </item>
    <item>
      <title>Modified MP4 splitter sample</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Modified-MP4-splitter-sample/m-p/829526#M5433</link>
      <description>&lt;P&gt;Hi, again,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many thanks &lt;STRONG&gt;Ying H&lt;/STRONG&gt;for such useful example of code. Now, my code is working (almost) perfectly, what's mean that it does not save output yuv file :). I simply throw away fwRender object and added out.Init() and out.Alloc() referneces. Off course I have to change other parts of code. I'm really happy :).&lt;/P&gt;</description>
      <pubDate>Thu, 06 Jan 2011 17:09:00 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Modified-MP4-splitter-sample/m-p/829526#M5433</guid>
      <dc:creator>ulisses87</dc:creator>
      <dc:date>2011-01-06T17:09:00Z</dc:date>
    </item>
    <item>
      <title>Modified MP4 splitter sample</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Modified-MP4-splitter-sample/m-p/829527#M5434</link>
      <description>&lt;BR /&gt;Hi, &lt;BR /&gt;&lt;BR /&gt;Thanks all of you, for sharing the code. It is very useful for users to learn the comprehensive UMC sample code here..&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Chao</description>
      <pubDate>Fri, 07 Jan 2011 02:31:09 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Modified-MP4-splitter-sample/m-p/829527#M5434</guid>
      <dc:creator>Chao_Y_Intel</dc:creator>
      <dc:date>2011-01-07T02:31:09Z</dc:date>
    </item>
    <item>
      <title>Modified MP4 splitter sample</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Modified-MP4-splitter-sample/m-p/829528#M5435</link>
      <description>Welcome you warmly!&lt;BR /&gt;&lt;BR /&gt;I am just after my Engineer diploma defence.&lt;BR /&gt;I would like to express my thanks to all people from Intel Team, which helped me via this forum when I was doing my Engineer Degree final project. Your valuable advices and tips often were an important "signpost", which enabled me to get the proper way to solve my problems.&lt;BR /&gt;&lt;BR /&gt;I have a small problem. Recently Intel has awarded me with Brown Belt of Intel Software Network, so I received an e-mail with info, that I can choose an one free book from Intel Press. Despite, that I have provided every necessary information, from one month I haven't had any reply. Could you advise me, what I should to do at this matter?&lt;BR /&gt;</description>
      <pubDate>Thu, 10 Feb 2011 17:38:41 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Modified-MP4-splitter-sample/m-p/829528#M5435</guid>
      <dc:creator>ulisses87</dc:creator>
      <dc:date>2011-02-10T17:38:41Z</dc:date>
    </item>
    <item>
      <title>Modified MP4 splitter sample</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Modified-MP4-splitter-sample/m-p/829529#M5436</link>
      <description>&lt;P&gt;Hello, &lt;/P&gt;&lt;P&gt;This is a FAQ I can find on the brown belt: &lt;/P&gt;&lt;P&gt;&lt;A href="http://software.intel.com/en-us/articles/intel-brown-belt-software-developer-and-intel-green-belt-software-developer-faqs/?wapkw=ALL(brown+belt)" target="_blank"&gt;http://software.intel.com/en-us/articles/intel-brown-belt-software-developer-and-intel-green-belt-software-developer-faqs/?wapkw=ALL(brown+belt)&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;This may provide some help on your problem. &lt;/P&gt;&lt;P&gt;Thanks,&lt;BR /&gt;Chao &lt;/P&gt;</description>
      <pubDate>Fri, 11 Feb 2011 06:27:44 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Modified-MP4-splitter-sample/m-p/829529#M5436</guid>
      <dc:creator>Chao_Y_Intel</dc:creator>
      <dc:date>2011-02-11T06:27:44Z</dc:date>
    </item>
    <item>
      <title>Modified MP4 splitter sample</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Modified-MP4-splitter-sample/m-p/829530#M5437</link>
      <description>&lt;P&gt;Hello Chao,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you again for your help. The book was delivered at me today.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ulisses87&lt;/P&gt;</description>
      <pubDate>Mon, 14 Feb 2011 19:28:23 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Modified-MP4-splitter-sample/m-p/829530#M5437</guid>
      <dc:creator>ulisses87</dc:creator>
      <dc:date>2011-02-14T19:28:23Z</dc:date>
    </item>
    <item>
      <title>Modified MP4 splitter sample</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Modified-MP4-splitter-sample/m-p/829531#M5438</link>
      <description>&lt;DIV id="_mcePaste"&gt;VirtualDub,Wax, Avidemux,Avid FreeDV, Wax all are free video editor, and&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;I just split mp4 files into one with the &lt;A href="http://www.videoeditormac.net/edit-video/mp4-splitter-mac.html"&gt;MP4 splitter for mac&lt;/A&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 31 Jul 2012 09:57:08 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Modified-MP4-splitter-sample/m-p/829531#M5438</guid>
      <dc:creator>99sanni</dc:creator>
      <dc:date>2012-07-31T09:57:08Z</dc:date>
    </item>
  </channel>
</rss>

