<?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 H.264 decoder and HD video poor quality in Intel® Integrated Performance Primitives</title>
    <link>https://community.intel.com/t5/Intel-Integrated-Performance/H-264-decoder-and-HD-video-poor-quality/m-p/776342#M1157</link>
    <description>&lt;P&gt;Hello, &lt;/P&gt;&lt;P&gt;Is it possible to dump some video, and decoded by the decoder? It will be help to identify if this is decoder problem, or some others.&lt;/P&gt;&lt;P&gt;Thanks,&lt;BR /&gt;Chao&lt;/P&gt;</description>
    <pubDate>Thu, 11 Aug 2011 02:21:24 GMT</pubDate>
    <dc:creator>Chao_Y_Intel</dc:creator>
    <dc:date>2011-08-11T02:21:24Z</dc:date>
    <item>
      <title>H.264 decoder and HD video poor quality</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/H-264-decoder-and-HD-video-poor-quality/m-p/776340#M1155</link>
      <description>&lt;P&gt;I have developed a RTSP based program that connect to a IP camera and I use UMC::H264VideoDecoder to decode the video stream. I am getting different results based on the video Ratio and I'm hoping someone can help me understand steps I can take to correct the problem.&lt;/P&gt;&lt;P&gt;It seems Video that is 800x600 or smaller does not have an issue regardless of quality, but when the image is larger for instance 1280x720 the video gets 'jerky' and as a person walks across the frame their image will trail behind them. This is not a constant problem, but happens enough to indicate I am doing something wrong. Are there special considerations required for H264VideoDecoder when dealing with large video images?&lt;/P&gt;&lt;P&gt;The same video image can be viewed from a web base page provided by the camera and the image does is smooth and good quaility. &lt;/P&gt;&lt;P&gt;IPP version 7.0.4.196 &lt;BR /&gt;IPP samples version 7.0.4.054&lt;BR /&gt;Windows 7 Professional&lt;BR /&gt;Processor Intel Core i5-2400S CPU @ 2.50GHz and 4 GB Ram&lt;BR /&gt;32 - bit Operating System&lt;BR /&gt;Compiled using Visual Studio 2008 using C++&lt;BR /&gt;&lt;BR /&gt;Below is example code of how I initiate and decode the video stream.&lt;/P&gt;&lt;P&gt;//--------------------------------------------------------------------------------&lt;BR /&gt;// pData is an array having SPS and FPS parameters&lt;BR /&gt;//--------------------------------------------------------------------------------&lt;BR /&gt;bool Init (BYTE *pData, unsigned long nSize, int &amp;amp;nWidth, int &amp;amp;nHeight)&lt;BR /&gt;{&lt;BR /&gt; bool bRetVal = false;&lt;BR /&gt; UMC::Status nStatus;&lt;BR /&gt; UMC::VideoDecoderParams VidDecodeParams;&lt;BR /&gt; m_pvidDecoder = new UMC::H264VideoDecoder();&lt;BR /&gt;if (m_pvidDecoder)&lt;BR /&gt; {&lt;BR /&gt; m_inVid.SetBufferPointer (pData, nSize);&lt;BR /&gt; m_inVid.SetDataSize (nSize);&lt;BR /&gt; VidDecodeParams.pPostProcessing = NULL;&lt;BR /&gt;VidDecodeParams.info.stream_type = UMC::H264_VIDEO;&lt;BR /&gt; VidDecodeParams.numThreads = 1;&lt;BR /&gt; VidDecodeParams.lFlags = 0;&lt;BR /&gt; VidDecodeParams.m_pData = &amp;amp;m_inVid;&lt;BR /&gt; nStatus = m_pvidDecoder-&amp;gt;Init(&amp;amp;VidDecodeParams);&lt;BR /&gt; if(nStatus == UMC::UMC_OK)&lt;BR /&gt; {&lt;BR /&gt;  UMC::H264VideoDecoderParams params;&lt;BR /&gt; nStatus = m_pvidDecoder-&amp;gt;GetInfo (&amp;amp;params);&lt;BR /&gt; if(nStatus == UMC::UMC_OK)&lt;BR /&gt;  {&lt;BR /&gt; nWidth = params.info.clip_info.width;&lt;BR /&gt; nHeight = params.info.clip_info.height;&lt;BR /&gt;  nStatus = m_outVid.Init (nWidth, nHeight, UMC::YUY2, 8); &lt;BR /&gt;  if(nStatus == UMC::UMC_OK)&lt;BR /&gt;  {&lt;BR /&gt;  nStatus = m_outVid.Alloc ();&lt;BR /&gt; if(nStatus == UMC::UMC_OK)&lt;BR /&gt;  bRetVal = true;&lt;BR /&gt; }&lt;BR /&gt; }&lt;BR /&gt; }&lt;BR /&gt; }&lt;BR /&gt; return (bRetVal);&lt;BR /&gt;}&lt;BR /&gt;&lt;BR /&gt;//--------------------------------------------------------------------------------------------&lt;BR /&gt;// ppDecFrm is a BYTE array whose size is (Width * Height * 2)&lt;BR /&gt;// pData is a NAL array reconstructed from FU-A packets from the IP camera&lt;BR /&gt;//--------------------------------------------------------------------------------------------&lt;BR /&gt;bool DecodeFrame (BYTE *pData, UINT &amp;amp;nSize, BYTE **ppDecFrm, UINT nFrmSize)&lt;BR /&gt;{&lt;BR /&gt; UMC::Status nStatus;&lt;BR /&gt; bool bRetVal = false;&lt;BR /&gt; UMC::VideoData outVid;&lt;BR /&gt; m_outVid.Reset ();&lt;BR /&gt; m_inVid.Reset ();&lt;BR /&gt; m_inVid.SetBufferPointer (pData, nSize);&lt;BR /&gt; m_inVid.SetDataSize (nSize);&lt;BR /&gt; nStatus = m_pvidDecoder-&amp;gt;GetFrame(&amp;amp;m_inVid, &amp;amp;m_outVid);&lt;BR /&gt;if(nStatus == UMC::UMC_OK)&lt;BR /&gt; {&lt;BR /&gt; unsigned long nDecSize = (unsigned long)m_outVid.GetDataSize ();&lt;BR /&gt; if(nDecSize &amp;gt; 0)&lt;BR /&gt; {&lt;BR /&gt; memcpy_s((*ppDecFrm), nFrmSize, m_outVid.GetDataPointer (), nDecSize);&lt;BR /&gt; nSize = nDecSize;&lt;BR /&gt; bRetVal = true;&lt;BR /&gt; }&lt;BR /&gt; }&lt;BR /&gt; return (bRetVal);&lt;BR /&gt;}&lt;/P&gt;</description>
      <pubDate>Thu, 04 Aug 2011 19:04:48 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/H-264-decoder-and-HD-video-poor-quality/m-p/776340#M1155</guid>
      <dc:creator>bcisrd</dc:creator>
      <dc:date>2011-08-04T19:04:48Z</dc:date>
    </item>
    <item>
      <title>H.264 decoder and HD video poor quality</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/H-264-decoder-and-HD-video-poor-quality/m-p/776341#M1156</link>
      <description>This problem seems to be specific to my machine.&lt;BR /&gt;&lt;P&gt; Windows 7 Professional&lt;BR /&gt; Intel Core i5-2400s CPU @ 2.50GHz&lt;BR /&gt; 4.00 GB Ram (2.94 GB usable)&lt;BR /&gt;&lt;BR /&gt;I tested on a second machine and did not see the problem&lt;BR /&gt; Windows 7 Professional&lt;BR /&gt; Intel Core 2Duo CPU @ 3.00GHz&lt;BR /&gt; 2.00 GB Ram&lt;BR /&gt;&lt;BR /&gt;Any suggestions?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 09 Aug 2011 19:04:06 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/H-264-decoder-and-HD-video-poor-quality/m-p/776341#M1156</guid>
      <dc:creator>bcisrd</dc:creator>
      <dc:date>2011-08-09T19:04:06Z</dc:date>
    </item>
    <item>
      <title>H.264 decoder and HD video poor quality</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/H-264-decoder-and-HD-video-poor-quality/m-p/776342#M1157</link>
      <description>&lt;P&gt;Hello, &lt;/P&gt;&lt;P&gt;Is it possible to dump some video, and decoded by the decoder? It will be help to identify if this is decoder problem, or some others.&lt;/P&gt;&lt;P&gt;Thanks,&lt;BR /&gt;Chao&lt;/P&gt;</description>
      <pubDate>Thu, 11 Aug 2011 02:21:24 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/H-264-decoder-and-HD-video-poor-quality/m-p/776342#M1157</guid>
      <dc:creator>Chao_Y_Intel</dc:creator>
      <dc:date>2011-08-11T02:21:24Z</dc:date>
    </item>
    <item>
      <title>H.264 decoder and HD video poor quality</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/H-264-decoder-and-HD-video-poor-quality/m-p/776343#M1158</link>
      <description>&lt;P&gt;I am working on it and will update soon. &lt;/P&gt;</description>
      <pubDate>Thu, 11 Aug 2011 14:11:20 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/H-264-decoder-and-HD-video-poor-quality/m-p/776343#M1158</guid>
      <dc:creator>bcisrd</dc:creator>
      <dc:date>2011-08-11T14:11:20Z</dc:date>
    </item>
    <item>
      <title>H.264 decoder and HD video poor quality</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/H-264-decoder-and-HD-video-poor-quality/m-p/776344#M1159</link>
      <description>We have 2 different machines in house that I can test with (multiples of each).&lt;BR /&gt;&lt;BR /&gt; Intel Core i5-2400S CPU @ 2.50GHzwith 4 GB Ram&lt;BR /&gt; with a Intel 82579LM Gigabit Network (Driver Version 11.12.36.0)&lt;BR /&gt;&lt;BR /&gt; Intel Core 2Duo CPU @ 3.00GHz with 2 GB Ram&lt;BR /&gt; witha Intel 82567LM-3 Gigabit Network (Driver Version 11.5.10.0)&lt;BR /&gt;&lt;BR /&gt;The ghosting issue only appears on the i5-2400S machines.&lt;BR /&gt;Just to note, VLC has the same issue (i.e. no issue on 2Duo and ghosting issue on i5-2400S).&lt;BR /&gt;&lt;BR /&gt;I wrote atest program which writes packets to a file as soon asit reads it off of the socket, and an accompying test program that will read in the data file and play the video (No network connection).&lt;BR /&gt;&lt;BR /&gt; Usingdata captured from i5-2400S and play it on a 2DUothe ghosting issue does occur.And, the reverse, captured data from 2DUo and playing it on the i5-2400S, itdoes not have the ghosting issue. Just to reiterate,making a rtsp connection ona i5-2400Shas a ghostingissue, where a rtsp connection on a 2Duo does not have the issue.I beleive the internal buffer is some how getting corrupted. &lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 12 Aug 2011 13:14:33 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/H-264-decoder-and-HD-video-poor-quality/m-p/776344#M1159</guid>
      <dc:creator>bcisrd</dc:creator>
      <dc:date>2011-08-12T13:14:33Z</dc:date>
    </item>
  </channel>
</rss>

