<html><head></head><body><div style="font-family:Helvetica Neue, Helvetica, Arial, sans-serif;font-size:13px;"><div><div>Hi,</div><div>Thanks for your reply. I tried using decodebin and it selects the software decoder avdec_h265 instead of the hardware one.</div><div>Even if I turn on the debugging to *:7 I still don't see any messages from amc. I noticed that the MX player directly finds the OMX hardware decoder without going through android media framework perhaps.</div><div>On the device there is the /etc/media_codecs.xml and also files: /etc/media_codecs_google_video.xml and media_codecs_google_audio.xml. Which file is actually being read by AndroidMedia/Gstreamer?</div><div>Is there a working example somewhere which uses a pipeline with androidmedia?</div><div>Really appreciate all the help,</div><div class="ydp79301862signature">Vishal<br></div></div>
            <div><br></div><div><br></div>
            
            <div id="ydp91aed67eyahoo_quoted_1718394720" class="ydp91aed67eyahoo_quoted">
                <div style="font-family:'Helvetica Neue', Helvetica, Arial, sans-serif;font-size:13px;color:#26282a;">
                    
                    <div>
                        On Monday, November 13, 2017, 4:22:09 PM EST, Michael MacIntosh <mmacintosh@linear-systems.com> wrote:
                    </div>
                    <div><br></div>
                    <div><br></div>
                    <div><div id="ydp91aed67eyiv8811120608"><div>
    <p>Since you are explicitly telling gstreamer to use the software
      decoder, (avdec_h265) it will use the software decoder.  You could
      try using playbin/decodebin and it might autoplug the correct
      hardware decoder.  So it might be worth trying to see if you get
      better results using playbin.  I don't have specific experience
      with android gstreamer, so I don't know what the hardware
      accelerated decoder would be called.  Also plugins get loaded
      on-demand, so that would explain why you don't see it getting
      loaded.<br clear="none">
    </p>
    <br clear="none">
    <div class="ydp91aed67eyiv8811120608yqt7674393892" id="ydp91aed67eyiv8811120608yqt50570"><div class="ydp91aed67eyiv8811120608moz-cite-prefix">On 11/13/2017 12:49 PM, Vishal
      Changrani wrote:<br clear="none">
    </div>
    <blockquote type="cite">
      </blockquote></div></div><div class="ydp91aed67eyiv8811120608yqt7674393892" id="ydp91aed67eyiv8811120608yqt42919"><div><div style="font-family:Helvetica Neue, Helvetica, Arial, sans-serif;font-size:13px;">
        <div>
          <div>Hi,</div>
          <div><br clear="none">
          </div>
          <div>I have been struggling to get an HEVC file to playout on
            an Nexus 9 tablet using the hardware decoder.</div>
          <div><br clear="none">
          </div>
          <div>I have followed the GStreamer examples for Android and
            was able to run the examples as-is. Later I modified the
            tutorial 3 to use the following pipeline,</div>
          <div><br clear="none">
          </div>
          <div>gst_parse_launch("filesrc
            location=/storage/emulated/0/myhevcfile.ts ! tsdemux ! queue
            ! openh264 ! avdec_h265 ! autovideosink sync=false",
            &error)</div>
          <div><br clear="none">
          </div>
          This too works fine but the playout is really slow since I
          suppose its using the software decoder. Hence I would like to
          change it to use the Hardware decoder. The MX player seems to
          be using the hardware decoder using the OMX plugin. I have
          been trying to do the same but without any luck.<br clear="none">
          <div>I see that 'androidmedia' is listed as part of the
            GSTREAMER_PLUGIN_CODECS which I have specified in the
            Android.mk file however it doesn't seem to be loaded when
            the application starts while all other plugins load fine. I
            don't see any 'ahc' error either. I believe the OMX hardware
            decoder will be accessible through it, correct?</div>
          <div><br clear="none">
          </div>
          <div>Please can you give me some pointers on how to get the
            HEVC video to playout using the hardware decoder?</div>
          <div><br clear="none">
          </div>
          thanks,<br clear="none">
          V<br clear="none">
        </div>
      </div>
      <br clear="none">
      <fieldset class="ydp91aed67eyiv8811120608mimeAttachmentHeader"></fieldset>
      <br clear="none">
      <pre>_______________________________________________
gstreamer-devel mailing list
<a shape="rect" class="ydp91aed67eyiv8811120608moz-txt-link-abbreviated" href="mailto:gstreamer-devel@lists.freedesktop.org" rel="nofollow" target="_blank">gstreamer-devel@lists.freedesktop.org</a>
<a shape="rect" class="ydp91aed67eyiv8811120608moz-txt-link-freetext" href="https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" rel="nofollow" target="_blank">https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a>
</pre>
    
    <br clear="none">
  </div></div></div><div class="ydp91aed67eyqt7674393892" id="ydp91aed67eyqt23600">_______________________________________________<br clear="none">gstreamer-devel mailing list<br clear="none"><a shape="rect" href="mailto:gstreamer-devel@lists.freedesktop.org" rel="nofollow" target="_blank">gstreamer-devel@lists.freedesktop.org</a><br clear="none"><a shape="rect" href="https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" rel="nofollow" target="_blank">https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a><br clear="none"></div></div>
                </div>
            </div></div></body></html>