<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <p><br>
    </p>
    <div class="moz-cite-prefix">On 8/3/2019 9:25 PM, Nicolas Dufresne-5
      [via GStreamer-devel] wrote:<br>
    </div>
    <blockquote type="cite"
      cite="mid:100424c27a943d959b88997e285e06f1161454b4.camel@ndufresne.ca">
      <meta http-equiv="content-type" content="text/html; charset=UTF-8">
      Le vendredi 02 août 2019 à 20:45 -0500, kmliu a écrit :
      <div class="shrinkable-quote"><br>
        > I need to decode H.264 video via VAAPI and then extract the
        decoded frames to
        <br>
        > main memory. Since I intend to crop the frames anyway, I'd
        like to crop them
        <br>
        > while they're still in graphics memory, to reduce memory
        bandwidth
        <br>
        > consumption. So conceptually, I want to do this:
        <br>
        > <br>
        > gst-launch-1.0 rtspsrc location=rtsp_uri ! rtph264depay !
        vaapih264dec !
        <br>
        > videocrop left=x right=x top=x bottom=x ! filesink
        location=video.yuv <br>
        > <br>
        > But I think this will end up copying the whole frames to
        main memory before
        <br>
        > cropping it there. It would be nice if vaapipostproc
        supports cropping?
      </div>
      <br>
      Another (simplier) option is to use gltransformation, but
      apparently
      <br>
      not all distro ship this plugin.
      <br>
    </blockquote>
    <p>May I add the crop option for vaapih264dec? </p>
    <p>It may be more direct.</p>
    <p>Thanks.</p>
    <p>Yan Wang<br>
    </p>
    <p><br>
    </p>
    <blockquote type="cite"
      cite="mid:100424c27a943d959b88997e285e06f1161454b4.camel@ndufresne.ca"><br>
      > <br>
      > <br>
      > <br>
      > --
      <br>
      > Sent from: <a
        href="http://gstreamer-devel.966125.n4.nabble.com/"
        target="_top" rel="nofollow" link="external"
        moz-do-not-send="true">http://gstreamer-devel.966125.n4.nabble.com/</a><br>
      > _______________________________________________
      <br>
      > gstreamer-devel mailing list
      <br>
      > <a
        href="/user/SendEmail.jtp?type=node&node=4691569&i=0"
        target="_top" rel="nofollow" link="external"
        moz-do-not-send="true">[hidden email]</a>
      <br>
      > <a
        href="https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel"
        target="_top" rel="nofollow" link="external"
        moz-do-not-send="true">https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a><br>
      <br>
      _______________________________________________
      <br>
      gstreamer-devel mailing list
      <br>
      <a href="/user/SendEmail.jtp?type=node&node=4691569&i=1"
        target="_top" rel="nofollow" link="external"
        moz-do-not-send="true">[hidden email]</a>
      <br>
      <a
        href="https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel"
        target="_top" rel="nofollow" link="external"
        moz-do-not-send="true">https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a>
      <br>
      <br>
      <hr size="1" noshade="noshade" color="#cccccc">
      <div style="color:#444; font: 12px
        tahoma,geneva,helvetica,arial,sans-serif;">
        <div style="font-weight:bold">If you reply to this email, your
          message will be added to the discussion below:</div>
        <a
href="http://gstreamer-devel.966125.n4.nabble.com/Is-there-a-way-to-crop-in-VAAPI-tp4691566p4691569.html"
          moz-do-not-send="true">http://gstreamer-devel.966125.n4.nabble.com/Is-there-a-way-to-crop-in-VAAPI-tp4691566p4691569.html</a>
      </div>
      <div style="color:#666; font: 11px
tahoma,geneva,helvetica,arial,sans-serif;margin-top:.4em;line-height:1.5em">
        To start a new topic under GStreamer-devel, email
        <a class="moz-txt-link-abbreviated" href="mailto:ml+s966125n966125h86@n4.nabble.com">ml+s966125n966125h86@n4.nabble.com</a> <br>
        To unsubscribe from GStreamer-devel, <a
href="http://gstreamer-devel.966125.n4.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=966125&code=eWFuLndhbmdAbGludXguaW50ZWwuY29tfDk2NjEyNXwxMDk4MzUzMzA="
          moz-do-not-send="true">click here</a>.<br>
        <a
href="http://gstreamer-devel.966125.n4.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml"
          rel="nofollow" style="font:9px serif" moz-do-not-send="true">NAML</a>
      </div>
    </blockquote>
  </body>
</html>