<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
On 04/26/2012 01:44 PM, Ryan Melville wrote:
<blockquote cite="mid:268adf47-5050-476e-b639-1a49614fb8ba@blur"
type="cite">
<style type="text/css">body {word-wrap: break-word; background-color:#ffffff;}</style>
<div style="font-family: sans-serif; font-size: 16px;">>> Do
you have it on the system or the NDK root? It needs to be on the
latter. Stefan<br>
<br>
I have it at /usr/lib (came with the Ubuntu system) which I
agree isn't useful.<br>
<br>
Ah, so I need to go download the libjpeg sources on my own,
create <a moz-do-not-send="true" href="http://Android.mk">Android.mk</a>
for them, build libjpeg using ndk-build and make that available
to the gstreamer build?<br>
<br>
Is the "NDK root" the actual Android NDK install path? Or,
perhaps I can do this similar to the glib dependency and plunk
the libjpeg project in the gstreamer-0.10_ndk_build dir (a peer
to glib)? I'm thinking the build output will already go to the
obj/ dir and be in the link path of the configure check and jpeg
plugin build?<br>
<br>
Thank you for your help!<br>
<br>
Regards,<br>
<br>
Ryan</div>
<br>
<br>
-----Original message-----<br>
<blockquote style="border-left: 2px solid rgb(16, 16, 255);
margin-left: 5px; padding-left: 5px;">
<div style="font-family: sans-serif; font-size: 14px;"><b>From:
</b>Stefan Sauer <a class="moz-txt-link-rfc2396E" href="mailto:ensonic@hora-obscura.de"><ensonic@hora-obscura.de></a><b><br>
To: </b><a class="moz-txt-link-rfc2396E" href="mailto:gstreamer-android@lists.freedesktop.org">"gstreamer-android@lists.freedesktop.org"</a>
<a class="moz-txt-link-rfc2396E" href="mailto:gstreamer-android@lists.freedesktop.org"><gstreamer-android@lists.freedesktop.org></a><b><br>
Sent: </b>Thu, Apr 26, 2012 02:50:06 CDT<b><br>
Subject: </b>Re: Building gst-plugins-good/ext/jpeg<br>
<br>
</div>
<div>
<div bgcolor="#ffffff">
On 04/25/2012 11:45 PM, Ryan Melville wrote:
<blockquote type="cite">
<style>
<!--
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif"}
-->
</style>
<div class="WordSection1">
<p class="MsoNormal">Hi,</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">Thanks to the directions at <a
moz-do-not-send="true"
href="http://gstreamer.freedesktop.org/wiki/GstreamerAndroid_InstallInstructions"
target="_BLANK">
http://gstreamer.freedesktop.org/wiki/GstreamerAndroid_InstallInstructions</a>
I was able to build GStreamer for Android.</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">However, I noticed that
libgstjpeg.so was not built. This is in
gst-plugins-good/ext/jpeg. It doesn’t seem to be
referenced by any Android.mk…</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">My build mentioned:</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal" style="margin-left: 0.5in;"><span
style="">configure: *** checking feature: jpeg
library ***</span></p>
<p class="MsoNormal" style="margin-left: 0.5in;"><span
style="">configure: *** for plug-ins: jpeg ***</span></p>
<p class="MsoNormal" style="margin-left: 0.5in;"><span
style="">checking for jpeg_set_defaults in
-ljpeg-mmx... no</span></p>
<p class="MsoNormal" style="margin-left: 0.5in;"><span
style="">checking for jpeg_set_defaults in -ljpeg...
no</span></p>
<p class="MsoNormal" style="margin-left: 0.5in;"><span
style="">configure: *** These plugins will not be
built: jpeg</span></p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">I *<b>do</b>* have
/usr/lib/libjpeg.so on my system and it *<b>does</b>*
have jpeg_set_defaults as shown by “readelfs –Ws
/usr/lib/libjpeg.so”, which seems to be the detection
logic in ‘configure’. But, I’m not sure it would even
look at my Linux system’s libraries (what use would
they be to an Android build?).</p>
</div>
</blockquote>
<br>
Do you have it on the system or the NDK root? It needs to be
on the latter.<br>
Stefan<br>
<blockquote type="cite">
<div class="WordSection1">
<p class="MsoNormal"> </p>
<p class="MsoNormal">Anyway, I apparently don’t
understand why the jpeg plugin isn’t being selected to
build, as I don’t understand the magic that happened
during “./setup.sh” to setup all of my Android.mk’s
and build the other libraries.</p>
</div>
</blockquote>
</div>
</div>
</blockquote>
</blockquote>
I have not added a new lib myself. Please take a look how faad is
integrated and try to follow that. If you success, it would be great
if you could contribute the solution. On the other hand I wonder if
you could get away with adding the libjpeg-devel related files
(headers and pkg-config files) and copy the libjpeg library from the
phone to the ndk like we do for other media libs.<br>
<br>
Stefan<br>
<blockquote cite="mid:268adf47-5050-476e-b639-1a49614fb8ba@blur"
type="cite">
<blockquote style="border-left: 2px solid rgb(16, 16, 255);
margin-left: 5px; padding-left: 5px;">
<div>
<div bgcolor="#ffffff">
<blockquote type="cite">
<div class="WordSection1">
<p class="MsoNormal"> </p>
<p class="MsoNormal">Has anyone else built the jpeg
plugin? Or, I would greatly appreciate any insight or
tips on how to build it.</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal" style="margin-bottom: 12pt;">Regards,</p>
<p class="MsoNormal" style="margin-bottom: 12pt;">Ryan</p>
<p class="MsoNormal"> </p>
</div>
<pre><fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
gstreamer-android mailing list
<a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:gstreamer-android@lists.freedesktop.org">gstreamer-android@lists.freedesktop.org</a>
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://lists.freedesktop.org/mailman/listinfo/gstreamer-android" target="_BLANK">http://lists.freedesktop.org/mailman/listinfo/gstreamer-android</a>
</pre>
</blockquote>
<br>
</div>
</div>
</blockquote>
<pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
gstreamer-android mailing list
<a class="moz-txt-link-abbreviated" href="mailto:gstreamer-android@lists.freedesktop.org">gstreamer-android@lists.freedesktop.org</a>
<a class="moz-txt-link-freetext" href="http://lists.freedesktop.org/mailman/listinfo/gstreamer-android">http://lists.freedesktop.org/mailman/listinfo/gstreamer-android</a>
</pre>
</blockquote>
<br>
</body>
</html>