<?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 Streaming H.264 Constrained Baseline profile using DirectShow on iMX53-QSB with Adeneo BSP for Windows Embedded Compact 7 in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Streaming-H-264-Constrained-Baseline-profile-using-DirectShow-on/m-p/320820#M42751</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have an Stream of Raw H.264 (Constrained Baseline profile) NALs coming from a USB connected device that I try to push into a graph i created using a filter I've implemented. While the same code runs well on a PC running Windows 7, my screen does not get updated when running on an iMX53 using the Adeneo BSP for Windows Embedded Compact 7.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The Filter I've created is very straight forward. The Filter inherits from CBaseFilter and the Pin from CBaseOutputPin. Once a new NAL is received, I get a new media sample (by calling GetDeliveryBuffer), fill the data and pass it along to the next filter by calling Deliver. My Pin implements GetMediaType so that the type is MEDIATYPE_Video, the sub-type is MEDIASUBTYPE_H264. Initially I used FORMAT_VideoInfo as the format setting the video characteristics. Later on I've also tried using FORMAT_MPEG2Video as the format in order to try and set the Profile and Level of the H.264 stream. This change had no effect - working on Windows 7 PC and black screen on iMX53 WCE7.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In order to try and understand the problem, I've saved the H.264 stream into a file and since there is no filter for reading files or raw H.264, I've converted the file into an AVI file. Then I tried playing this file via a graph I've created using RenderFile. However, it did not work. Then, I've &lt;SPAN style="color: #545454; font-family: arial, sans-serif; font-size: small;"&gt;re-encoded the stream to "Main" profile. In this case the file played correctly. &lt;/SPAN&gt;&lt;SPAN style="color: #545454; font-family: arial, sans-serif; font-size: small; line-height: 1.5em;"&gt;In addition to playing the AVI files via RenderFile, I've also tried playing them using a filter I created that basically reads from a file. What I've seen is that in the erroneous case the graph calls my pin's read function 3 times and then stops while in the working case, the calls to read just keep on coming.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #545454; font-family: arial, sans-serif; font-size: small; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #545454; font-family: arial, sans-serif; font-size: small; line-height: 1.5em;"&gt;So, I think the it might be that either the Constrained Baseline profile is not support, or that I don't correctly create the graph.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Has anyone experiences such an issue? Do you any input you can provide my with, so I can continue?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Ygal&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 18 Jun 2014 09:45:42 GMT</pubDate>
    <dc:creator>YgalBlum</dc:creator>
    <dc:date>2014-06-18T09:45:42Z</dc:date>
    <item>
      <title>Streaming H.264 Constrained Baseline profile using DirectShow on iMX53-QSB with Adeneo BSP for Windows Embedded Compact 7</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Streaming-H-264-Constrained-Baseline-profile-using-DirectShow-on/m-p/320820#M42751</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have an Stream of Raw H.264 (Constrained Baseline profile) NALs coming from a USB connected device that I try to push into a graph i created using a filter I've implemented. While the same code runs well on a PC running Windows 7, my screen does not get updated when running on an iMX53 using the Adeneo BSP for Windows Embedded Compact 7.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The Filter I've created is very straight forward. The Filter inherits from CBaseFilter and the Pin from CBaseOutputPin. Once a new NAL is received, I get a new media sample (by calling GetDeliveryBuffer), fill the data and pass it along to the next filter by calling Deliver. My Pin implements GetMediaType so that the type is MEDIATYPE_Video, the sub-type is MEDIASUBTYPE_H264. Initially I used FORMAT_VideoInfo as the format setting the video characteristics. Later on I've also tried using FORMAT_MPEG2Video as the format in order to try and set the Profile and Level of the H.264 stream. This change had no effect - working on Windows 7 PC and black screen on iMX53 WCE7.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In order to try and understand the problem, I've saved the H.264 stream into a file and since there is no filter for reading files or raw H.264, I've converted the file into an AVI file. Then I tried playing this file via a graph I've created using RenderFile. However, it did not work. Then, I've &lt;SPAN style="color: #545454; font-family: arial, sans-serif; font-size: small;"&gt;re-encoded the stream to "Main" profile. In this case the file played correctly. &lt;/SPAN&gt;&lt;SPAN style="color: #545454; font-family: arial, sans-serif; font-size: small; line-height: 1.5em;"&gt;In addition to playing the AVI files via RenderFile, I've also tried playing them using a filter I created that basically reads from a file. What I've seen is that in the erroneous case the graph calls my pin's read function 3 times and then stops while in the working case, the calls to read just keep on coming.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #545454; font-family: arial, sans-serif; font-size: small; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #545454; font-family: arial, sans-serif; font-size: small; line-height: 1.5em;"&gt;So, I think the it might be that either the Constrained Baseline profile is not support, or that I don't correctly create the graph.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Has anyone experiences such an issue? Do you any input you can provide my with, so I can continue?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Ygal&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Jun 2014 09:45:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Streaming-H-264-Constrained-Baseline-profile-using-DirectShow-on/m-p/320820#M42751</guid>
      <dc:creator>YgalBlum</dc:creator>
      <dc:date>2014-06-18T09:45:42Z</dc:date>
    </item>
    <item>
      <title>Re: Streaming H.264 Constrained Baseline profile using DirectShow on iMX53-QSB with Adeneo BSP for Windows Embedded Compact 7</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Streaming-H-264-Constrained-Baseline-profile-using-DirectShow-on/m-p/320821#M42752</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/AdeneoEmbedded"&gt;AdeneoEmbedded&lt;/A&gt; , do you have recommendations for this issue?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Jun 2014 14:07:29 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Streaming-H-264-Constrained-Baseline-profile-using-DirectShow-on/m-p/320821#M42752</guid>
      <dc:creator>SergioSolis</dc:creator>
      <dc:date>2014-06-24T14:07:29Z</dc:date>
    </item>
  </channel>
</rss>

