<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <br>
    <div class="moz-cite-prefix">On 26.08.2014 16:08, Anton Olegovich
      wrote:<br>
    </div>
    <blockquote cite="mid:53FC78D6.9020200@gmail.com" type="cite">
      <meta content="text/html; charset=windows-1252"
        http-equiv="Content-Type">
      <br>
      <div class="moz-cite-prefix">On 26.08.2014 14:33, Sebastian Dröge
        wrote:<br>
      </div>
      <blockquote cite="mid:1409049226.14840.25.camel@centricular.com"
        type="cite">
        <pre wrap="">On Di, 2014-08-26 at 14:30 +0400, Anton Olegovich wrote:
</pre>
        <blockquote type="cite">
          <pre wrap="">On 26.08.2014 12:09, Sebastian Dröge wrote:
</pre>
          <blockquote type="cite">
            <pre wrap="">On Di, 2014-08-26 at 11:55 +0400, Anton Olegovich wrote:
</pre>
            <blockquote type="cite">
              <pre wrap="">On 26.08.2014 10:36, Sebastian Dröge wrote:
</pre>
              <blockquote type="cite">
                <pre wrap="">On Mo, 2014-08-25 at 18:33 +0400, Anton Olegovich wrote:
</pre>
                <blockquote type="cite">
                  <pre wrap="">Hi.

I've downloaded the new version of GST (1.4.0) for android development....

I'm using some concepts, described at tutorial #3 for droid.

Here was my pipe worked at Congo version:

gst_bin_add_many(GST_BIN(data->video_pipeline),udpsrc,rtph264depay,avdec_h264,videorate,clockoverlay,tee,queue,autovideosink,NULL);

And now i can't retrive autovideosink by interface:
data->video_sink =
gst_bin_get_by_interface(GST_BIN(data->video_pipeline),
GST_TYPE_VIDEO_OVERLAY)

What is it?
</pre>
                </blockquote>
                <pre wrap="">You either have to create glimagesink instead of autovideosink, or set
the pipeline or autovideosink to the READY state before trying to get
the actual sink.



_______________________________________________
gstreamer-devel mailing list
<a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:gstreamer-devel@lists.freedesktop.org">gstreamer-devel@lists.freedesktop.org</a>
<a moz-do-not-send="true" 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>
              <pre wrap="">It can't to create glimagesink-element, and I'm setting the state of all
pipe before getting sink, like this:

    gst_element_set_state(data->video_pipeline, GST_STATE_READY);

    data->video_sink =
gst_bin_get_by_interface(GST_BIN(data->video_pipeline),
GST_TYPE_VIDEO_OVERLAY);
</pre>
            </blockquote>
            <pre wrap="">How can it not create glimagesink? gst_element_factory_make() returns
NULL? What's the content of your jni/Android.mk?



_______________________________________________
gstreamer-devel mailing list
<a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:gstreamer-devel@lists.freedesktop.org">gstreamer-devel@lists.freedesktop.org</a>
<a moz-do-not-send="true" 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>
          <pre wrap="">Yes, gst_element_factory_make() returns NULL

Here is the content of Android.mk:
</pre>
        </blockquote>
        <pre wrap="">[...]
</pre>
        <blockquote type="cite">
          <pre wrap="">GSTREAMER_PLUGINS         := $(GSTREAMER_PLUGINS_CORE) $(GSTREAMER_PLUGINS_GOOD) $(GSTREAMER_PLUGINS_BAD)  $(GSTREAMER_PLUGINS_BASE) $(GSTREAMER_PLUGINS_NET) $(GSTREAMER_PLUGINS_CODECS_RESTRICTED) $(GSTREAMER_PLUGINS_CODECS)
</pre>
        </blockquote>
        <pre wrap="">Most of these don't exist. Check the plugin.mk file for a list of all
available plugin variables. And you're missing $(GSTREAMER_PLUGINS_SYS)
for glimagesink.

</pre>
        <br>
        <fieldset class="mimeAttachmentHeader"></fieldset>
        <br>
        <pre wrap="">_______________________________________________
gstreamer-devel mailing list
<a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:gstreamer-devel@lists.freedesktop.org">gstreamer-devel@lists.freedesktop.org</a>
<a moz-do-not-send="true" 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>
      Thanks a lot, i'v retrived a picture and another problem)<br>
      It looks like i'v resived one frame and thats all... not a video
      stream.<br>
      <br>
      And the logcat:<br>
      01-01 04:06:01.305: W/GStreamer+basesink(1981): 0:00:37.394305002
      0x548ac7b0
      gstbasesink.c:2789:gst_base_sink_is_too_late:<glimagesink>
      warning: A lot of buffers are being dropped.<br>
      01-01 04:06:01.305: W/GStreamer+basesink(1981): 0:00:37.394481002
      0x548ac7b0
      gstbasesink.c:2789:gst_base_sink_is_too_late:<glimagesink>
      warning: There may be a timestamping problem, or this computer is
      too slow.<br>
      ****************************<br>
    </blockquote>
    <br>
    <br>
    <blockquote cite="mid:53FC78D6.9020200@gmail.com" type="cite">It's
      ok. it is coused the videorate-element. <br>
    </blockquote>
    Can you tell how can i set properties to videorate like this: 
    ......<br>
    <pre class="programlisting"><big><big>..... ! videorate <span class="gtkdoc opt">!</span> video<span class="gtkdoc opt">/</span>x<span class="gtkdoc opt">-</span>raw<span class="gtkdoc opt">,</span>framerate<span class="gtkdoc opt">=</span><span class="number">25</span><span class="gtkdoc opt">/</span><span class="number">2</span> <span class="gtkdoc opt">!</span> theoraenc ! ......

but in programme. What function implements this?
</big></big></pre>
    <br>
  </body>
</html>