<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">Hello,<br>
Yes, that's true. Gstreamer didnt show in error log that needs
additional plugins. Addig udp and rtpmanager works.<br>
Problem is a very low performance on ARM board.<br>
Marcin<br>
<br>
W dniu 27.06.2016 o 09:34, Sebastian Dröge pisze:<br>
</div>
<blockquote cite="mid:1467012859.2383.150.camel@centricular.com"
type="cite">
<pre wrap="">On Fr, 2016-06-24 at 17:32 +0200, Marcin Woźniak wrote:
</pre>
<blockquote type="cite">
<pre wrap="">Hello and hi to all,
I am fighting with latest 1.8 gstreamer tree to have a pipe to get
RTSP
H264 stream and put it into a filesink.
All works well when i compile 1.8 branch using dynamic linking (.so
modules). But as i need to move it further and crosscompile it to
ARM
board - i need it to compile as a static executable.
I studied this group, compiled gstreamer with --enable-static and
---disable-registry and plugins trees with --enable-static-plugins.
Then i created a small piece of code to test with:
pipeline = gst_parse_launch ("rtspsrc location=rtsp://XXXXX/
protocols=GST_RTSP_LOWER_TRANS_TCP ! rtph264depay ! fakesink", NULL);
and ran it.
And voila - it works well when all is compiled as dynamic modules.
In static mode i added:
GST_PLUGIN_STATIC_DECLARE(rtsp);
GST_PLUGIN_STATIC_DECLARE(rtp);
GST_PLUGIN_STATIC_DECLARE(coreelements);
GST_PLUGIN_STATIC_DECLARE(videoparsersbad);
static void
registerGstStaticPlugins()
{
GST_PLUGIN_STATIC_REGISTER(rtsp);
GST_PLUGIN_STATIC_REGISTER(rtp);
GST_PLUGIN_STATIC_REGISTER(coreelements);
GST_PLUGIN_STATIC_REGISTER(videoparsersbad);
}
</pre>
</blockquote>
<pre wrap="">
You need a lot of other plugins for this to work. At least rtpmanager,
udp and app are missing here, probably more, depending on how your
real, non-testing pipeline looks like.
</pre>
<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="https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel">https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a>
</pre>
</blockquote>
<br>
</body>
</html>