<?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: Android Lollipop MediaCodec not decoding raw H264 stream 1080P at 60 FPS in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Android-Lollipop-MediaCodec-not-decoding-raw-H264-stream-1080P/m-p/448541#M69299</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't see any attached document.&lt;/P&gt;&lt;P&gt;Also Can you shed some light on why is the video playing fine using MXC-VPU-TEST and not MediaCodec.&lt;/P&gt;&lt;P&gt;This will be of great help for me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;Gurtaj&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 03 Nov 2015 06:56:52 GMT</pubDate>
    <dc:creator>gurtajs4</dc:creator>
    <dc:date>2015-11-03T06:56:52Z</dc:date>
    <item>
      <title>Android Lollipop MediaCodec not decoding raw H264 stream 1080P at 60 FPS</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Android-Lollipop-MediaCodec-not-decoding-raw-H264-stream-1080P/m-p/448539#M69297</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi EveryOne, &lt;/P&gt;&lt;P&gt;This is my follow up question to below thread&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/thread/377573"&gt;Slow H264 1080P@60fps Decoding on Android Lollipop 5.0.2 SabreSD&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;On the path of debugging the root cause of above issue, I tried various approach to Decode 1080P at 60 FPS.&lt;/P&gt;&lt;P&gt;1. I tried wrapping H264 data into a MP4 container(without transcoding). The playback of MP4 with various stock player seems slow(less than 60fps , around 42fps).&lt;/P&gt;&lt;P&gt;2. I tried using native codec samples from Android NDK. Still no progress.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3 Later I compiles the mxc-vpu-test code from the Android Source tree. With this and using the correct parameters, I was Capable of playing the video at 60 FPS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So My doubts are &lt;/P&gt;&lt;P&gt;- Is the decoder capable of playing 1080p@60fps video, with correct Frame rate ?&lt;/P&gt;&lt;P&gt;- If so, then why MediaCodec ( using ACodec code internally ) is not capable of playing 1080p@60fps video.&lt;/P&gt;&lt;P&gt;- I am not sure if OMXCodec is used in this process, Where can I get OMXCodec&amp;nbsp; sample code to decode my video.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &lt;/P&gt;&lt;P&gt;Gurtaj&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Nov 2015 18:22:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Android-Lollipop-MediaCodec-not-decoding-raw-H264-stream-1080P/m-p/448539#M69297</guid>
      <dc:creator>gurtajs4</dc:creator>
      <dc:date>2015-11-02T18:22:06Z</dc:date>
    </item>
    <item>
      <title>Re: Android Lollipop MediaCodec not decoding raw H264 stream 1080P at 60 FPS</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Android-Lollipop-MediaCodec-not-decoding-raw-H264-stream-1080P/m-p/448540#M69298</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Gurtaj&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;omx player (as part of Freescale Enhanced Codecs) is provided in &lt;/P&gt;&lt;P&gt;Extended multimedia package, obtained separately using procedure described in&lt;/P&gt;&lt;P&gt;sect.6 Freescale Extended Feature Packages attached Release Notes.&lt;/P&gt;&lt;P&gt;Codecs performance (in fps) is described in attached i.MX_Android_Extended_&lt;/P&gt;&lt;P&gt;Codec_Release_Notes.pdf sect.5 Codec Specification.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;igor&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Nov 2015 06:51:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Android-Lollipop-MediaCodec-not-decoding-raw-H264-stream-1080P/m-p/448540#M69298</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2015-11-03T06:51:30Z</dc:date>
    </item>
    <item>
      <title>Re: Android Lollipop MediaCodec not decoding raw H264 stream 1080P at 60 FPS</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Android-Lollipop-MediaCodec-not-decoding-raw-H264-stream-1080P/m-p/448541#M69299</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't see any attached document.&lt;/P&gt;&lt;P&gt;Also Can you shed some light on why is the video playing fine using MXC-VPU-TEST and not MediaCodec.&lt;/P&gt;&lt;P&gt;This will be of great help for me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;Gurtaj&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Nov 2015 06:56:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Android-Lollipop-MediaCodec-not-decoding-raw-H264-stream-1080P/m-p/448541#M69299</guid>
      <dc:creator>gurtajs4</dc:creator>
      <dc:date>2015-11-03T06:56:52Z</dc:date>
    </item>
    <item>
      <title>Re: Android Lollipop MediaCodec not decoding raw H264 stream 1080P at 60 FPS</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Android-Lollipop-MediaCodec-not-decoding-raw-H264-stream-1080P/m-p/448542#M69300</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;attached documents in red in previous answer&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="1.jpg"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/51888i02A08A4625888619/image-size/large?v=v2&amp;amp;px=999" role="button" title="1.jpg" alt="1.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Nov 2015 08:42:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Android-Lollipop-MediaCodec-not-decoding-raw-H264-stream-1080P/m-p/448542#M69300</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2015-11-03T08:42:20Z</dc:date>
    </item>
    <item>
      <title>Re: Android Lollipop MediaCodec not decoding raw H264 stream 1080P at 60 FPS</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Android-Lollipop-MediaCodec-not-decoding-raw-H264-stream-1080P/m-p/448543#M69301</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the documents.&lt;/P&gt;&lt;P&gt;I want to use mediacodec for decoding 1080p@60 fps video. Seem like Freescale doesn't support it but still I am capable of playing this using mxc-vpu-test.&lt;/P&gt;&lt;P&gt;Can Someone explain me the difference between the MediaCodec and MXC-VP-TEST decoding techniques and why one is capable of decoding while other is not.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards &amp;amp; Thanks&lt;/P&gt;&lt;P&gt;Gurtaj&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Nov 2015 09:39:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Android-Lollipop-MediaCodec-not-decoding-raw-H264-stream-1080P/m-p/448543#M69301</guid>
      <dc:creator>gurtajs4</dc:creator>
      <dc:date>2015-11-03T09:39:34Z</dc:date>
    </item>
    <item>
      <title>Re: Android Lollipop MediaCodec not decoding raw H264 stream 1080P at 60 FPS</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Android-Lollipop-MediaCodec-not-decoding-raw-H264-stream-1080P/m-p/448544#M69302</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;seems MediaCodec is pure software android codec, while&lt;/P&gt;&lt;P&gt;MXC-VPU-TEST is optimized for i.MX6.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;~igor&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Nov 2015 10:43:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Android-Lollipop-MediaCodec-not-decoding-raw-H264-stream-1080P/m-p/448544#M69302</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2015-11-03T10:43:21Z</dc:date>
    </item>
    <item>
      <title>Re: Android Lollipop MediaCodec not decoding raw H264 stream 1080P at 60 FPS</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Android-Lollipop-MediaCodec-not-decoding-raw-H264-stream-1080P/m-p/448545#M69303</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Igor,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;No, I will disagree on that. As We can see from logcat logs , MediaCodec ( via ACodec ) selecting the hardware decoder OMX.Freescale.std.video_decoder.avc.v3.hw-based.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you point me to some test code which uses AwesomePlayer (OMXCodec ) for decoding and rendering. I want to verify other implementation and eliminate if there is any issue with using MediaCodec ( via ACodec ).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Gurtaj&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Nov 2015 10:52:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Android-Lollipop-MediaCodec-not-decoding-raw-H264-stream-1080P/m-p/448545#M69303</guid>
      <dc:creator>gurtajs4</dc:creator>
      <dc:date>2015-11-03T10:52:30Z</dc:date>
    </item>
    <item>
      <title>Re: Android Lollipop MediaCodec not decoding raw H264 stream 1080P at 60 FPS</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Android-Lollipop-MediaCodec-not-decoding-raw-H264-stream-1080P/m-p/448546#M69304</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Gurtaj&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;omx player (as part of Freescale Enhanced Codecs) is provided in &lt;/P&gt;&lt;P&gt;Extended multimedia package, obtained separately using procedure described in&lt;/P&gt;&lt;P&gt;sect.6 Freescale Extended Feature Packages attached Release Notes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;~igor&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Nov 2015 11:25:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Android-Lollipop-MediaCodec-not-decoding-raw-H264-stream-1080P/m-p/448546#M69304</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2015-11-03T11:25:54Z</dc:date>
    </item>
    <item>
      <title>Re: Android Lollipop MediaCodec not decoding raw H264 stream 1080P at 60 FPS</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Android-Lollipop-MediaCodec-not-decoding-raw-H264-stream-1080P/m-p/448547#M69305</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Igor,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sorry Sir, I am not getting any technical detail here. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am not sure what has changed from Android Jeallybean-4.2.2_1.0.0-ga to Android Lollipop-5.0.2&lt;/P&gt;&lt;P&gt;that has suppress the capability of decoder (Using MediaCodec Interface ) to decode 1080p@60fps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can Someone please justify this difference ???&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Gurtaj &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Nov 2015 16:59:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Android-Lollipop-MediaCodec-not-decoding-raw-H264-stream-1080P/m-p/448547#M69305</guid>
      <dc:creator>gurtajs4</dc:creator>
      <dc:date>2015-11-03T16:59:09Z</dc:date>
    </item>
  </channel>
</rss>

