<?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 Re: Can't open output file in Intel® Integrated Performance Primitives</title>
    <link>https://community.intel.com/t5/Intel-Integrated-Performance/Can-t-open-output-file/m-p/895919#M12088</link>
    <description>&lt;DIV style="margin:0px;"&gt;
&lt;DIV id="quote_reply" style="width: 100%; margin-top: 5px;"&gt;
&lt;DIV style="margin-left:2px;margin-right:2px;"&gt;Quoting - &lt;A href="https://community.intel.com/en-us/profile/438660"&gt;mgarrettcallcopy.com&lt;/A&gt;&lt;/DIV&gt;
&lt;DIV style="background-color:#E5E5E5; padding:5px;border: 1px; border-style: inset;margin-left:2px;margin-right:2px;"&gt;&lt;EM&gt;Hello. I downloaded the 30 day evaluation to see if IPP might be a possible solution for my companies needs. I was using libavcodec but for silverlight we have to encode in h.264 so the mp4 video encoder I wrote no longer is valid, and compiling ffmpeg/libavcodec with h.264 encoding capabilities would make it GPL, which I can't do. Thus I turned my attention here. &lt;BR /&gt;&lt;BR /&gt;Anyways, to get to my problem I stepped through the example code and tried to extract the basics to get a more simple program (I know I will always be encoding in h.264). When I get to the point of opening an output file though fails. Here is the small test project:&lt;BR /&gt;&lt;BR /&gt;#include &lt;IPP.H&gt;&lt;BR /&gt;#include &lt;IPPCC.H&gt;&lt;BR /&gt;#include &lt;UMC_DEFS.H&gt;&lt;BR /&gt;#include &lt;UMC_VIDEO_DATA.H&gt;&lt;BR /&gt;#include &lt;UMC_H264_VIDEO_ENCODER.H&gt;&lt;BR /&gt;#include &lt;UMC_STRUCTURES.H&gt;&lt;BR /&gt;#include &lt;UMC_VIDEO_ENCODER.H&gt;&lt;BR /&gt;#include &lt;VM_TIME.H&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;using namespace UMC;&lt;BR /&gt;&lt;BR /&gt;int _tmain(int argc, _TCHAR* argv[])&lt;BR /&gt;{&lt;BR /&gt; Ipp64f  FrameRate = 30;&lt;BR /&gt; Ipp32s  numThreads = 1;&lt;BR /&gt; Ipp32s  BitRate = 5000000;&lt;BR /&gt; &lt;BR /&gt; BaseCodec *pCodec;&lt;BR /&gt; VideoEncoderParams *pEncoderParams;&lt;BR /&gt;&lt;BR /&gt; IppStatus status = ippStaticInit();&lt;BR /&gt; &lt;BR /&gt; Ipp32s  mWidth= 640;&lt;BR /&gt; Ipp32s  mHeight = 480;&lt;BR /&gt; if (status &amp;lt; ippStsNoErr)&lt;BR /&gt; {&lt;BR /&gt; printf("Error: Can't initialize ipp libs!");&lt;BR /&gt; return 5;&lt;BR /&gt; }&lt;BR /&gt;&lt;BR /&gt; const IppLibraryVersion *libver = ippGetLibVersion();&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt; pEncoderParams = new VideoEncoderParams;&lt;BR /&gt; pEncoderParams-&amp;gt;info.clip_info.width = mWidth;&lt;BR /&gt; pEncoderParams-&amp;gt;info.clip_info.height = mHeight;&lt;BR /&gt; pEncoderParams-&amp;gt;info.framerate = FrameRate;&lt;BR /&gt; pEncoderParams-&amp;gt;info.bitrate = BitRate;&lt;BR /&gt; pEncoderParams-&amp;gt;numThreads = numThreads;&lt;BR /&gt; const vm_char *DstFileName = "c:\TestIt2.mp4";&lt;BR /&gt; vm_file *dstFile = vm_file_open(DstFileName, VM_STRING("wb"));&lt;BR /&gt; if (NULL == dstFile)&lt;BR /&gt; {&lt;BR /&gt; sprintf("Error: Can't open output file '%s'n", DstFileName);&lt;BR /&gt; return 9;&lt;BR /&gt; }&lt;BR /&gt;}&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Any help is greatly appreciate, thanks.&lt;BR /&gt;&lt;BR /&gt;&lt;/VM_TIME.H&gt;&lt;/UMC_VIDEO_ENCODER.H&gt;&lt;/UMC_STRUCTURES.H&gt;&lt;/UMC_H264_VIDEO_ENCODER.H&gt;&lt;/UMC_VIDEO_DATA.H&gt;&lt;/UMC_DEFS.H&gt;&lt;/IPPCC.H&gt;&lt;/IPP.H&gt;&lt;/EM&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;BR /&gt;&lt;BR /&gt;Actually, I figured this out. When I changed the character encoding from Multi-byte to None it was fixed.&lt;BR /&gt;</description>
    <pubDate>Thu, 13 Aug 2009 21:16:50 GMT</pubDate>
    <dc:creator>mgarrettcallcopy_com</dc:creator>
    <dc:date>2009-08-13T21:16:50Z</dc:date>
    <item>
      <title>Can't open output file</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Can-t-open-output-file/m-p/895918#M12087</link>
      <description>Hello. I downloaded the 30 day evaluation to see if IPP might be a possible solution for my companies needs. I was using libavcodec but for silverlight we have to encode in h.264 so the mp4 video encoder I wrote no longer is valid, and compiling ffmpeg/libavcodec with h.264 encoding capabilities would make it GPL, which I can't do. Thus I turned my attention here. &lt;BR /&gt;&lt;BR /&gt;Anyways, to get to my problem I stepped through the example code and tried to extract the basics to get a more simple program (I know I will always be encoding in h.264). When I get to the point of opening an output file though fails. Here is the small test project:&lt;BR /&gt;&lt;BR /&gt;#include &lt;IPP.H&gt;&lt;BR /&gt;#include &lt;IPPCC.H&gt;&lt;BR /&gt;#include &lt;UMC_DEFS.H&gt;&lt;BR /&gt;#include &lt;UMC_VIDEO_DATA.H&gt;&lt;BR /&gt;#include &lt;UMC_H264_VIDEO_ENCODER.H&gt;&lt;BR /&gt;#include &lt;UMC_STRUCTURES.H&gt;&lt;BR /&gt;#include &lt;UMC_VIDEO_ENCODER.H&gt;&lt;BR /&gt;#include &lt;VM_TIME.H&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;using namespace UMC;&lt;BR /&gt;&lt;BR /&gt;int _tmain(int argc, _TCHAR* argv[])&lt;BR /&gt;{&lt;BR /&gt; Ipp64f  FrameRate = 30;&lt;BR /&gt; Ipp32s  numThreads = 1;&lt;BR /&gt; Ipp32s  BitRate = 5000000;&lt;BR /&gt; &lt;BR /&gt; BaseCodec *pCodec;&lt;BR /&gt; VideoEncoderParams *pEncoderParams;&lt;BR /&gt;&lt;BR /&gt; IppStatus status = ippStaticInit();&lt;BR /&gt; &lt;BR /&gt; Ipp32s  mWidth= 640;&lt;BR /&gt; Ipp32s  mHeight = 480;&lt;BR /&gt; if (status &amp;lt; ippStsNoErr)&lt;BR /&gt; {&lt;BR /&gt; printf("Error: Can't initialize ipp libs!");&lt;BR /&gt; return 5;&lt;BR /&gt; }&lt;BR /&gt;&lt;BR /&gt; const IppLibraryVersion *libver = ippGetLibVersion();&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt; pEncoderParams = new VideoEncoderParams;&lt;BR /&gt; pEncoderParams-&amp;gt;info.clip_info.width = mWidth;&lt;BR /&gt; pEncoderParams-&amp;gt;info.clip_info.height = mHeight;&lt;BR /&gt; pEncoderParams-&amp;gt;info.framerate = FrameRate;&lt;BR /&gt; pEncoderParams-&amp;gt;info.bitrate = BitRate;&lt;BR /&gt; pEncoderParams-&amp;gt;numThreads = numThreads;&lt;BR /&gt; const vm_char *DstFileName = "c:\\TestIt2.mp4";&lt;BR /&gt; vm_file *dstFile = vm_file_open(DstFileName, VM_STRING("wb"));&lt;BR /&gt; if (NULL == dstFile)&lt;BR /&gt; {&lt;BR /&gt; sprintf("Error: Can't open output file '%s'\n", DstFileName);&lt;BR /&gt; return 9;&lt;BR /&gt; }&lt;BR /&gt;}&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Any help is greatly appreciate, thanks.&lt;BR /&gt;&lt;BR /&gt;&lt;/VM_TIME.H&gt;&lt;/UMC_VIDEO_ENCODER.H&gt;&lt;/UMC_STRUCTURES.H&gt;&lt;/UMC_H264_VIDEO_ENCODER.H&gt;&lt;/UMC_VIDEO_DATA.H&gt;&lt;/UMC_DEFS.H&gt;&lt;/IPPCC.H&gt;&lt;/IPP.H&gt;</description>
      <pubDate>Thu, 13 Aug 2009 21:00:24 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Can-t-open-output-file/m-p/895918#M12087</guid>
      <dc:creator>mgarrettcallcopy_com</dc:creator>
      <dc:date>2009-08-13T21:00:24Z</dc:date>
    </item>
    <item>
      <title>Re: Can't open output file</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Can-t-open-output-file/m-p/895919#M12088</link>
      <description>&lt;DIV style="margin:0px;"&gt;
&lt;DIV id="quote_reply" style="width: 100%; margin-top: 5px;"&gt;
&lt;DIV style="margin-left:2px;margin-right:2px;"&gt;Quoting - &lt;A href="https://community.intel.com/en-us/profile/438660"&gt;mgarrettcallcopy.com&lt;/A&gt;&lt;/DIV&gt;
&lt;DIV style="background-color:#E5E5E5; padding:5px;border: 1px; border-style: inset;margin-left:2px;margin-right:2px;"&gt;&lt;EM&gt;Hello. I downloaded the 30 day evaluation to see if IPP might be a possible solution for my companies needs. I was using libavcodec but for silverlight we have to encode in h.264 so the mp4 video encoder I wrote no longer is valid, and compiling ffmpeg/libavcodec with h.264 encoding capabilities would make it GPL, which I can't do. Thus I turned my attention here. &lt;BR /&gt;&lt;BR /&gt;Anyways, to get to my problem I stepped through the example code and tried to extract the basics to get a more simple program (I know I will always be encoding in h.264). When I get to the point of opening an output file though fails. Here is the small test project:&lt;BR /&gt;&lt;BR /&gt;#include &lt;IPP.H&gt;&lt;BR /&gt;#include &lt;IPPCC.H&gt;&lt;BR /&gt;#include &lt;UMC_DEFS.H&gt;&lt;BR /&gt;#include &lt;UMC_VIDEO_DATA.H&gt;&lt;BR /&gt;#include &lt;UMC_H264_VIDEO_ENCODER.H&gt;&lt;BR /&gt;#include &lt;UMC_STRUCTURES.H&gt;&lt;BR /&gt;#include &lt;UMC_VIDEO_ENCODER.H&gt;&lt;BR /&gt;#include &lt;VM_TIME.H&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;using namespace UMC;&lt;BR /&gt;&lt;BR /&gt;int _tmain(int argc, _TCHAR* argv[])&lt;BR /&gt;{&lt;BR /&gt; Ipp64f  FrameRate = 30;&lt;BR /&gt; Ipp32s  numThreads = 1;&lt;BR /&gt; Ipp32s  BitRate = 5000000;&lt;BR /&gt; &lt;BR /&gt; BaseCodec *pCodec;&lt;BR /&gt; VideoEncoderParams *pEncoderParams;&lt;BR /&gt;&lt;BR /&gt; IppStatus status = ippStaticInit();&lt;BR /&gt; &lt;BR /&gt; Ipp32s  mWidth= 640;&lt;BR /&gt; Ipp32s  mHeight = 480;&lt;BR /&gt; if (status &amp;lt; ippStsNoErr)&lt;BR /&gt; {&lt;BR /&gt; printf("Error: Can't initialize ipp libs!");&lt;BR /&gt; return 5;&lt;BR /&gt; }&lt;BR /&gt;&lt;BR /&gt; const IppLibraryVersion *libver = ippGetLibVersion();&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt; pEncoderParams = new VideoEncoderParams;&lt;BR /&gt; pEncoderParams-&amp;gt;info.clip_info.width = mWidth;&lt;BR /&gt; pEncoderParams-&amp;gt;info.clip_info.height = mHeight;&lt;BR /&gt; pEncoderParams-&amp;gt;info.framerate = FrameRate;&lt;BR /&gt; pEncoderParams-&amp;gt;info.bitrate = BitRate;&lt;BR /&gt; pEncoderParams-&amp;gt;numThreads = numThreads;&lt;BR /&gt; const vm_char *DstFileName = "c:\TestIt2.mp4";&lt;BR /&gt; vm_file *dstFile = vm_file_open(DstFileName, VM_STRING("wb"));&lt;BR /&gt; if (NULL == dstFile)&lt;BR /&gt; {&lt;BR /&gt; sprintf("Error: Can't open output file '%s'n", DstFileName);&lt;BR /&gt; return 9;&lt;BR /&gt; }&lt;BR /&gt;}&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Any help is greatly appreciate, thanks.&lt;BR /&gt;&lt;BR /&gt;&lt;/VM_TIME.H&gt;&lt;/UMC_VIDEO_ENCODER.H&gt;&lt;/UMC_STRUCTURES.H&gt;&lt;/UMC_H264_VIDEO_ENCODER.H&gt;&lt;/UMC_VIDEO_DATA.H&gt;&lt;/UMC_DEFS.H&gt;&lt;/IPPCC.H&gt;&lt;/IPP.H&gt;&lt;/EM&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;BR /&gt;&lt;BR /&gt;Actually, I figured this out. When I changed the character encoding from Multi-byte to None it was fixed.&lt;BR /&gt;</description>
      <pubDate>Thu, 13 Aug 2009 21:16:50 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Can-t-open-output-file/m-p/895919#M12088</guid>
      <dc:creator>mgarrettcallcopy_com</dc:creator>
      <dc:date>2009-08-13T21:16:50Z</dc:date>
    </item>
    <item>
      <title>Re: Can't open output file</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Can-t-open-output-file/m-p/895920#M12089</link>
      <description>&lt;DIV style="margin:0px;"&gt;&lt;/DIV&gt;
Thanks for letting us know and glad to see you find solution. Thanks again for your interest to Intel IPP, hope you'll find it useful for your company needs.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt; Vladimir&lt;BR /&gt;</description>
      <pubDate>Fri, 14 Aug 2009 09:35:29 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Can-t-open-output-file/m-p/895920#M12089</guid>
      <dc:creator>Vladimir_Dudnik</dc:creator>
      <dc:date>2009-08-14T09:35:29Z</dc:date>
    </item>
  </channel>
</rss>

