<?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 h264 NAL parser in Intel® Integrated Performance Primitives</title>
    <link>https://community.intel.com/t5/Intel-Integrated-Performance/h264-NAL-parser/m-p/904210#M13185</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;I want to get the h264 NAL header before its sent to the IPP decoder function, I get for a camera an RTP+H264 stream, with the following values:&lt;/P&gt;
&lt;P&gt;I skip 12bytes of the RTP header, but the next byte which I think it should be  the NAL header begins by 0 (forbidden_zero_bit) but I get &lt;METRICCONVERTER st="on" productid="7C"&gt;7C&lt;/METRICCONVERTER&gt; (1111  1100)&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;10.. .... = Version: RFC 1889  Version (2)&lt;/P&gt;
&lt;P&gt;0... .... = Marker:  False&lt;/P&gt;
&lt;P&gt;..0. .... = Padding:  False&lt;/P&gt;
&lt;P&gt;...0 .... = Extension:  False&lt;/P&gt;
&lt;P&gt;.... 0000 = Contributing source  identifiers count: 0&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;Payload type: DynamicRTP-Type-96  (96)&lt;/P&gt;
&lt;P&gt;Sequence number:  23252&lt;/P&gt;
&lt;P&gt;Timestamp:  868956473&lt;/P&gt;
&lt;P&gt;Synchronization Source identifier:  0xcbd5dcba (3419790522)&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;Payload:  7C05FFE5F98EB9B5AED78E67EB3C2A941606A7CCD179710B...&lt;/P&gt;
&lt;P&gt;So my first byte its a hex "7C", 1111100b i read i have to parse it with hexadecimal values:&lt;/P&gt;
&lt;P&gt;NAL_forbidden = headerStart(0) And &amp;amp;H80 --&amp;gt; i get a zero &lt;BR /&gt; NAL_nri = (headerStart(0) &amp;gt;&amp;gt; 5) And &amp;amp;H3 --&amp;gt; i get a 3&lt;BR /&gt; NAL_type = headerStart(0) And &amp;amp;H1F --&amp;gt; --&amp;gt; i get a 28&lt;/P&gt;
&lt;P&gt;[1.] But i dont really dont know why i have to parse with those values.. i know its a silly question.. could anyone tell me why??&lt;/P&gt;
&lt;P&gt;[2.] And then i always get FU packets.. could it be correct?&lt;/P&gt;
&lt;P&gt;[3.] I want to decode the h264, so which IPP library do i need?&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;Thanks for your help!&lt;/P&gt;</description>
    <pubDate>Mon, 01 Feb 2010 15:37:00 GMT</pubDate>
    <dc:creator>Cristina_Gil</dc:creator>
    <dc:date>2010-02-01T15:37:00Z</dc:date>
    <item>
      <title>h264 NAL parser</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/h264-NAL-parser/m-p/904210#M13185</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;I want to get the h264 NAL header before its sent to the IPP decoder function, I get for a camera an RTP+H264 stream, with the following values:&lt;/P&gt;
&lt;P&gt;I skip 12bytes of the RTP header, but the next byte which I think it should be  the NAL header begins by 0 (forbidden_zero_bit) but I get &lt;METRICCONVERTER st="on" productid="7C"&gt;7C&lt;/METRICCONVERTER&gt; (1111  1100)&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;10.. .... = Version: RFC 1889  Version (2)&lt;/P&gt;
&lt;P&gt;0... .... = Marker:  False&lt;/P&gt;
&lt;P&gt;..0. .... = Padding:  False&lt;/P&gt;
&lt;P&gt;...0 .... = Extension:  False&lt;/P&gt;
&lt;P&gt;.... 0000 = Contributing source  identifiers count: 0&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;Payload type: DynamicRTP-Type-96  (96)&lt;/P&gt;
&lt;P&gt;Sequence number:  23252&lt;/P&gt;
&lt;P&gt;Timestamp:  868956473&lt;/P&gt;
&lt;P&gt;Synchronization Source identifier:  0xcbd5dcba (3419790522)&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;Payload:  7C05FFE5F98EB9B5AED78E67EB3C2A941606A7CCD179710B...&lt;/P&gt;
&lt;P&gt;So my first byte its a hex "7C", 1111100b i read i have to parse it with hexadecimal values:&lt;/P&gt;
&lt;P&gt;NAL_forbidden = headerStart(0) And &amp;amp;H80 --&amp;gt; i get a zero &lt;BR /&gt; NAL_nri = (headerStart(0) &amp;gt;&amp;gt; 5) And &amp;amp;H3 --&amp;gt; i get a 3&lt;BR /&gt; NAL_type = headerStart(0) And &amp;amp;H1F --&amp;gt; --&amp;gt; i get a 28&lt;/P&gt;
&lt;P&gt;[1.] But i dont really dont know why i have to parse with those values.. i know its a silly question.. could anyone tell me why??&lt;/P&gt;
&lt;P&gt;[2.] And then i always get FU packets.. could it be correct?&lt;/P&gt;
&lt;P&gt;[3.] I want to decode the h264, so which IPP library do i need?&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;Thanks for your help!&lt;/P&gt;</description>
      <pubDate>Mon, 01 Feb 2010 15:37:00 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/h264-NAL-parser/m-p/904210#M13185</guid>
      <dc:creator>Cristina_Gil</dc:creator>
      <dc:date>2010-02-01T15:37:00Z</dc:date>
    </item>
    <item>
      <title>h264 NAL parser</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/h264-NAL-parser/m-p/904211#M13186</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;It looks like your stream includes some fragmented H.264 frames, using the FU-A markers. So prior to decode it using the IPPs, you should consider defragmenting it into 'pure' NALs, as described in the RFC3984 document (http://www.faqs.org/rfcs/rfc3984.html).&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;J. Michelet&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 02 Feb 2010 10:58:21 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/h264-NAL-parser/m-p/904211#M13186</guid>
      <dc:creator>jmichelet</dc:creator>
      <dc:date>2010-02-02T10:58:21Z</dc:date>
    </item>
    <item>
      <title>h264 NAL parser</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/h264-NAL-parser/m-p/904212#M13187</link>
      <description>&lt;P&gt;Thanks jmichelet!!!&lt;/P&gt;
&lt;P&gt;I have to concatenate the FU-A payload units before i send them to the decode. But how can i know the FU-A payload size??&lt;/P&gt;
&lt;P&gt;I have the same problem with IDR, non-IDR NAL units,, how can i know the size so i can split the rtp padding??&lt;/P&gt;</description>
      <pubDate>Tue, 02 Feb 2010 16:36:33 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/h264-NAL-parser/m-p/904212#M13187</guid>
      <dc:creator>Cristina_Gil</dc:creator>
      <dc:date>2010-02-02T16:36:33Z</dc:date>
    </item>
    <item>
      <title>h264 NAL parser</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/h264-NAL-parser/m-p/904213#M13188</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;Since the UDP header contains the datagram length, by carefully removing the RTP header length (its length may vary, as described in the RFC 3550), you easily get the rtp payload length.&lt;/P&gt;
&lt;P&gt;J. Michelet&lt;/P&gt;</description>
      <pubDate>Wed, 03 Feb 2010 09:07:46 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/h264-NAL-parser/m-p/904213#M13188</guid>
      <dc:creator>jmichelet</dc:creator>
      <dc:date>2010-02-03T09:07:46Z</dc:date>
    </item>
    <item>
      <title>h264 NAL parser</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/h264-NAL-parser/m-p/904214#M13189</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;From SDP message I get packetization mode 1 so I will have in FU-A IDR images type I and in FU-A non-IDR type I and P (I also have baseline profile) and so on. Please correct me if im wrong:&lt;/P&gt;
&lt;P&gt;A RTP message could have many NAL units&lt;/P&gt;
&lt;P&gt;A FU-A unit only have a part of the NAL unit&lt;/P&gt;
&lt;P&gt;In the standard ISO/IEC 14496 part 10:&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;slice_layer_without_partitioning_rbsp( ) {&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;slice_header()&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;slice_data()&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;rbsp_slice_trailing_bits( )&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;}&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;So, its only ONE slice header and MULTIPLE pictures coded in ONE slice data??&lt;/P&gt;
&lt;P&gt;If this is true, I have to parse the slice data in order to get each picture, havent i?&lt;/P&gt;
&lt;P&gt;Thanks in advance for your help.&lt;/P&gt;</description>
      <pubDate>Wed, 03 Feb 2010 10:34:46 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/h264-NAL-parser/m-p/904214#M13189</guid>
      <dc:creator>Cristina_Gil</dc:creator>
      <dc:date>2010-02-03T10:34:46Z</dc:date>
    </item>
  </channel>
</rss>

