<html>
  <head>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    On 22/06/16 20:10, Shervin Emami wrote:<br>
    <blockquote
cite="mid:%3CCAF_wPwtc12KBSpSACvb+_snRucS4dna9XP2YNTLg_75YHVjACw@mail.gmail.com%3E"
      type="cite">
      <div dir="ltr">
        <div>Thanks Matt, I'll try your branches.<br>
        </div>
        <div><br>
        </div>
        I didn't see nvvidconv in your branch, are VPU decoding &
        encoding working for you in Gstreamer 1.8 but not nvvidconv (for
        color format conversions or image resize)? Is there someone I
        can pay to get nvvidconv working in Gstreamer 1.8 for me (using
        VPU hardware acceleration, but perhaps without zero-copy)? I'd
        pay someone to get it working (potentially using my Jetson TK1
        remotely) and would let them make the result public for others,
        if it could be done in just a few days time.<br>
      </div>
    </blockquote>
    <br>
    Hi,<br>
    <br>
    I've never tested the nvvidconv element on the TK1.  The omx
    decoders work with zerocopy between libgstgl and gst-omx with the
    branches/repos I provided earlier.  You have to configure libgstgl
    for that though.<br>
    <br>
    The source for nvvidconv (as well as all it's dependant libraries)
    is unfortunately not available so there's little an outsider can do
    to forward port it to a recent version of GStreamer if it doesn't
    work.  You'd have to talk to Nvidia for that.<br>
    <br>
    Cheers<br>
    -Matt<br>
    <br>
    <blockquote
cite="mid:%3CCAF_wPwtc12KBSpSACvb+_snRucS4dna9XP2YNTLg_75YHVjACw@mail.gmail.com%3E"
      type="cite">
      <div class="gmail_extra">Cheers,<br>
        <div>
          <div class="gmail_signature" data-smartmail="gmail_signature">
            <div dir="ltr">
              <div>
                <div dir="ltr">Shervin Emami.<br>
                  <a moz-do-not-send="true"
                    href="http://www.shervinemami.info/Robotics_Engineer.html"
                    target="_blank">http://www.shervinemami.info/Robotics_Engineer.html</a><br>
                </div>
              </div>
            </div>
          </div>
        </div>
        <br>
        <div class="gmail_quote">On Wed, Jun 22, 2016 at 6:32 PM,
          Matthew Waters <span dir="ltr"><<a moz-do-not-send="true"
              href="mailto:ystreet00@gmail.com" target="_blank">ystreet00@gmail.com</a>></span>
          wrote:<br>
          <blockquote class="gmail_quote" style="margin:0 0 0
            .8ex;border-left:1px #ccc solid;padding-left:1ex"><span
              class="">On 22/06/16 17:00, Kammacher Tobias (kamm) wrote:<br>
              > Hi<br>
              ><br>
              > I have used GStreamer 1.8 on both Nvidia TK1 and TX1.
              In both cases<br>
              > the default GSt provided by Nvidia is 1.2.4.<br>
              > It is possible to build the newer GStreamer and just
              copy the original OMX<br>
              > and Nvidia plugins:<br>
              > cd /usr/lib/arm-linux-gnueabihf/gstreamer-1.0/<br>
              > cp libgstnv* libnvgst* libgstomx.so
              ~/gst_1.6.0/out/lib/gstreamer-1.0/<br>
              <br>
            </span>Yes, this works well enough without zerocopy
            encoding/decoding.  I<br>
            haven't used nvvidconv and don't have a TX1.<br>
            <br>
            If you need zerocopy between the decoder and upstream
            libgstgl, you'll<br>
            need to patch gst-omx to know about libgstgl.  Fortunately,
            I have<br>
            already created some branches for that purpose that work
            with GStreamer 1.8:<br>
            <a moz-do-not-send="true"
              href="https://github.com/ystreet/gst-omx-nvidia/"
              rel="noreferrer" target="_blank">https://github.com/ystreet/gst-omx-nvidia/</a><br>
            <a moz-do-not-send="true"
              href="https://github.com/ystreet/gst-plugins-bad/tree/nvidia-1.8"
              rel="noreferrer" target="_blank">https://github.com/ystreet/gst-plugins-bad/tree/nvidia-1.8</a><br>
            <br>
            The next GStreamer release (1.10) changes this slightly to
            more<br>
            performant implementation of the EGLImage memory.  I'm not
            aware of any<br>
            branch that deals with that yet.  From 1.10 onwards,
            something like<br>
            <a moz-do-not-send="true"
href="https://cgit.freedesktop.org/gstreamer/gst-omx/commit/?id=27d2cdd45dcf0bbd58c753e4b33058607153c4c1"
              rel="noreferrer" target="_blank">https://cgit.freedesktop.org/gstreamer/gst-omx/commit/?id=27d2cdd45dcf0bbd58c753e4b33058607153c4c1</a><br>
            would need to happen in nvidia's fork of gst-omx or someone
            would need<br>
            to forward port nvidia's gst-omx to upstream gst-omx.<br>
            <br>
            Hope that helps<br>
            -Matt<br>
            <div class="HOEnZb">
              <div class="h5"><br>
                > Most of them worked for me on 1.8.0, except
                nvvidconv, which is a<br>
                > proprietary plugin from Nvidia.<br>
                ><br>
                > There are instructions for doing this also from
                Nvidia if you look at the<br>
                > Multimedia User Guide for TX1 24.1 [1]. Also there
                is a script for building<br>
                > newer GStreamer versions for the TX1, but I never
                tried this on TK1.<br>
                ><br>
                ><br>
                > [1] <a moz-do-not-send="true"
href="http://developer.download.nvidia.com/embedded/L4T/r24_Release_v1.0/Docs/L4T_Tegra_X1_Multimedia_User_Guide_Release_24.1.pdf"
                  rel="noreferrer" target="_blank">http://developer.download.nvidia.com/embedded/L4T/r24_Release_v1.0/Docs/L4T_Tegra_X1_Multimedia_User_Guide_Release_24.1.pdf</a><br>
                <br>
                <br>
              </div>
            </div>
            <br>
            _______________________________________________<br>
            gstreamer-devel mailing list<br>
            <a moz-do-not-send="true"
              href="mailto:gstreamer-devel@lists.freedesktop.org">gstreamer-devel@lists.freedesktop.org</a><br>
            <a moz-do-not-send="true"
              href="https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel"
              rel="noreferrer" target="_blank">https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a><br>
            <br>
          </blockquote>
        </div>
        <br>
      </div>
    </blockquote>
    <br>
  </body>
</html>