<div dir="ltr"><br><div class="gmail_extra"><br><br><div class="gmail_quote">2014-05-22 14:11 GMT+02:00 Lasse Laursen <span dir="ltr"><<a href="mailto:gazoo@42.dk" target="_blank">gazoo@42.dk</a>></span>:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000">
Currently I'm just targeting my development platform - Windows, and
I just currently use Gstreamer mainly to read and decode the webm
format which... I believe is open?<br>
<br>
Is there a good way to trim down Gstreamer other than applying
logic/deleting stuff and see what suddenly no longer works?</div></blockquote><div><br></div><div class="h5">With a use case like your where you support a single format and your pipeline does not change, you can easily dump your pipeline to a dot file, extract the list of elements you are using and with the Depedency Walker list the libraries you need, for the gstreamer plugins you have loaded. A faster way would be to attach your process to a debugger and list the share libraries being loaded (I don't know any equivalent to lsoft for windows).<br>
<br></div><div class="h5">Cheers,<br>Andoni<br></div><div class="h5">
<br>
<div>On 22-05-2014 17:50, Sebastian Dröge
wrote:<br>
</div>
</div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div bgcolor="#FFFFFF" text="#000000"><div></div><blockquote type="cite"><div><div class="h5">
<pre>On Do, 2014-05-22 at 17:33 +0900, Lasse Laursen wrote:
</pre>
<blockquote type="cite">
<pre>Hello,
Having successfully gotten my application to run on my second test
machine with Gstreamer, I'm beginning to ponder the ramifications of
possibly distributing an application publicly.
As I understand it GStreamer is LGPL with some proprietary plug-ins. I
initially considered statically linking with Gstreamer until I found out
that that legally this would either require me to...
a. Also release my code under the LGPL, or...
b. Provide users with means to re-link with other LGPL code.
Not too keen on 'a' for now, and 'b' sounds like it'd be a lot of work.
So looking at still dynamically linking with Gstreamer, has anyone got
any tips for perhaps 'trimming' down the Gstreamer package to just the
parts that are actually in use? Is this legal?
</pre>
</blockquote>
<pre>Sure, you can just omit all the plugins and libraries (and their
dependencies) you don't need and this will already decrease the size a
lot depending on what your application needs to do. You will need to
provide any changes you do to the LGPL code as source code though.
Which platform(s) are you targetting?
For the static linking... you can do that, and b) is done by some
companies already. Basically you'll have to provide the .o files for
your application and then a script or something to link those together
with GStreamer to a final application.
</pre>
<br>
<fieldset></fieldset>
<br>
</div></div><div class=""><pre>_______________________________________________
gstreamer-devel mailing list
<a href="mailto:gstreamer-devel@lists.freedesktop.org" target="_blank">gstreamer-devel@lists.freedesktop.org</a>
<a href="http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" target="_blank">http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a>
</pre>
</div></blockquote>
<br><div class="">
<div>-- <br>
Lasse Farnung Laursen<br>
Post.doc at the University of Tokyo<br>
<a href="http://www.lasselaursen.com" target="_blank">www.lasselaursen.com</a><br>
FB: <a href="https://www.facebook.com/lasse.laursen" target="_blank">lasse.laursen</a><br>
Twitter: <a href="https://twitter.com/YouTouchTheDJ" target="_blank">@YouTouchTheDJ</a></div>
</div></div>
<br>_______________________________________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.freedesktop.org">gstreamer-devel@lists.freedesktop.org</a><br>
<a 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><br clear="all"><br>-- <br>Andoni Morales Alastruey<br><br>LongoMatch:The Digital Coach<br><a href="http://www.longomatch.ylatuya.es">http://www.longomatch.ylatuya.es</a>
</div></div>