<html>
  <head>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">Note that I am working on getting rid
      of the VPU wrapper for various reasons. Other than that, I agree.<br>
      <br>
      I would recommend to try and write a GStreamer encoder element,
      based on the GstVideoEncoder class. This is generally simpler and
      less complicated than the FIFO approach, especially for real-time
      encoding. If this really is not possible for whatever reason, then
      a FIFO could work. Be sure to use the h264parse element to group
      input data into frames. Example: gst-launch-1.0 filesrc
      location=/tmp/my-fifo ! h264parse ! matroskamux ! filesink
      location=encoded-video.mkv<br>
      <br>
      On 2015-02-03 12:51, Nuno Mota wrote:<br>
    </div>
    <blockquote
cite="mid:CAAnJVhA8usGTsaFPEbmmQzQA0Ea3SCWLJFAzD=jBNu4UFSY5vw@mail.gmail.com"
      type="cite">
      <div dir="ltr">
        <div>
          <div>I'll just point to the open source imx Freescale
            integration. <br>
            <br>
            These use the Freescale's VPU wrapper library in order to
            enable a bunch of hardware encoding capabilities among other
            things.<br>
            <br>
            <ul class="">
              <li>
                <code>imxvpuenc_h263</code> : h.263 encoder</li>
              <li>
                <code>imxvpuenc_h264</code> : h.264 baseline profile
                Annex.B encoder</li>
              <li>
                <code>imxvpuenc_mpeg4</code> : MPEG-4 encoder</li>
              <li>
                <code>imxvpuenc_mjpeg</code> : Motion JPEG encoder</li>
            </ul>
            <br>
          </div>
          You could perhaps use the same aproach.<br>
        </div>
      </div>
      <div class="gmail_extra"><br>
        <div class="gmail_quote">2015-02-03 11:19 GMT+00:00 Ottavio
          Campana <span dir="ltr"><<a moz-do-not-send="true"
              href="mailto:o.campana@videotec.com" target="_blank">o.campana@videotec.com</a>></span>:<br>
          <blockquote class="gmail_quote" style="margin:0 0 0
            .8ex;border-left:1px #ccc solid;padding-left:1ex">
            <div>
              <div
                style="direction:ltr;font-family:Tahoma;color:#000000;font-size:10pt">Hello,<br>
                <br>
                I have a proprietary encoder on a SoC that compress with
                H264. I am thinking about wrapping the whole encoding
                process in a single source that outputs compressed
                frames.<br>
                <br>
                My idea is to have a fifo that is filled by the
                proprietary code and that is read by a gstreamer element
                that injects nal units in the gstreamer pipeline.<br>
                <br>
                Do you think is doable?<br>
                <br>
                Is there any element in gstreamer that can help me do
                this?<br>
                <br>
                Thank you<span class="HOEnZb"><font color="#888888"><br>
                    <br>
                    Ottavio<br>
                  </font></span></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="http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel"
              target="_blank">http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a><br>
            <br>
          </blockquote>
        </div>
        <br>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
gstreamer-devel mailing list
<a class="moz-txt-link-abbreviated" href="mailto:gstreamer-devel@lists.freedesktop.org">gstreamer-devel@lists.freedesktop.org</a>
<a class="moz-txt-link-freetext" href="http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel">http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>