<html><body><div style="color:#000; background-color:#fff; font-family:arial, helvetica, sans-serif;font-size:10pt"><div><span>Hi Stefan,</span></div><div><span><br></span></div><div><span>Instead of NDK, if we choose to build Gstreamer as a part of Android Source, can it be used to make Media Player (with video playback) ?</span></div><div><span><br></span></div><div><span>Regards,</span></div><div><span>Munish</span></div><div><span><br></span></div><div><br></div> <div style="font-size: 10pt; font-family: arial, helvetica, sans-serif; "> <div style="font-size: 12pt; font-family: 'times new roman', 'new york', times, serif; "> <font size="2" face="Arial"> <hr size="1"> <b><span style="font-weight:bold;">From:</span></b> Stefan Sauer <ensonic@hora-obscura.de><br> <b><span style="font-weight: bold;">To:</span></b> Munish Jindal <munish_iitd@yahoo.com>; Discussions about GStreamer on Android <gstreamer-android@lists.freedesktop.org>
<br> <b><span style="font-weight: bold;">Sent:</span></b> Wednesday, 14 December 2011 1:11 PM<br> <b><span style="font-weight: bold;">Subject:</span></b> Re: Building GStreamer error<br> </font> <br><div id="yiv1391882221">
<title></title>
<div>
On 12/13/2011 04:48 AM, Munish Jindal wrote:
<blockquote type="cite">
<div style="color: rgb(0, 0, 0); background-color: rgb(255, 255, 255); font-size: 10pt; font-family: arial, helvetica, sans-serif; ">
<div style="font-size: 10pt; font-family: arial, helvetica, sans-serif; "><span>Hi Mohmat,</span></div>
<div style="font-size: 10pt; font-family: arial, helvetica, sans-serif; "><span><br>
</span></div>
<div style="font-size: 10pt; font-family: arial, helvetica, sans-serif; "><span>Thanks for your reply. Using ndk-6b has solved
this problem. I am using 64-bit Ubuntu 11.10. </span></div>
<div style="font-size: 10pt; font-family: arial, helvetica, sans-serif; "><span><br>
</span></div>
<div><font class="yiv1391882221Apple-style-span" size="2">I
have successfully installed the gstreamer on Moto Xoom. But,
since I am new to Gstreamer, I am not sure how to build
media player using this build, any pointers
or reference code would be very helpful.</font></div>
</div>
</blockquote>
Hi,<br>
<br>
you should start reading the gstreamer docuemntation (also online at
<a rel="nofollow" class="yiv1391882221moz-txt-link-freetext" target="_blank" href="http://gstreamer.freedesktop.org">http://gstreamer.freedesktop.org</a>). In addition each source code
module has tests/examples that you can study. Right now the ndk can
be used to write an audio player. We still need to write a working
video sink for the android platform. Existing linux video sinks are
mostly unusuable as android does not provide the apis.<br>
<br>
Stefan<br>
<br>
<blockquote type="cite">
<div style="color: rgb(0, 0, 0); background-color: rgb(255, 255, 255); font-size: 10pt; font-family: arial, helvetica, sans-serif; ">
<div><font class="yiv1391882221Apple-style-span" size="2"><br>
</font></div>
<div><font class="yiv1391882221Apple-style-span" size="2">Regards,</font></div>
<div><font class="yiv1391882221Apple-style-span" size="2">Munish</font></div>
<div><font class="yiv1391882221Apple-style-span" size="2"><br>
</font></div>
<div style="font-size: 10pt; font-family: arial, helvetica, sans-serif; "><span><br>
</span></div>
<div style="font-size: 10pt; font-family: arial, helvetica, sans-serif; "><br>
</div>
<div style="font-size: 10pt; font-family: arial, helvetica, sans-serif; ">
<div style="font-size: 12pt; font-family: times, serif; "> <font face="Arial" size="2">
<hr size="1"> <b><span style="font-weight:bold;">From:</span></b>
Mike Albren <a rel="nofollow" class="yiv1391882221moz-txt-link-rfc2396E" ymailto="mailto:mike_albren@yahoo.com" target="_blank" href="mailto:mike_albren@yahoo.com"><mike_albren@yahoo.com></a><br>
<b><span style="font-weight:bold;">To:</span></b> Munish
Jindal <a rel="nofollow" class="yiv1391882221moz-txt-link-rfc2396E" ymailto="mailto:munish_iitd@yahoo.com" target="_blank" href="mailto:munish_iitd@yahoo.com"><munish_iitd@yahoo.com></a>; Discussions about
GStreamer on Android
<a rel="nofollow" class="yiv1391882221moz-txt-link-rfc2396E" ymailto="mailto:gstreamer-android@lists.freedesktop.org" target="_blank" href="mailto:gstreamer-android@lists.freedesktop.org"><gstreamer-android@lists.freedesktop.org></a> <br>
<b><span style="font-weight:bold;">Sent:</span></b>
Monday, 12 December 2011 8:13 PM<br>
<b><span style="font-weight:bold;">Subject:</span></b>
Re: Building GStreamer error<br>
</font> <br>
<div id="yiv1391882221">
<div>
<div style="color: rgb(0, 0, 0); background-color: rgb(255, 255, 255); font-size: 12pt; font-family: times, serif; ">
<div><span>Hi </span><span class="yiv1391882221Apple-style-span" style="font-size: 16px; font-family: times, serif; ">Munish
,</span></div>
<div><br>
<span class="yiv1391882221Apple-style-span" style="font-size: 16px; font-family: times, serif; "></span></div>
<div><span class="yiv1391882221Apple-style-span" style="font-size: 16px; font-family: times, serif; ">No
, I am still not able to solve it on Ubuntu 11.10
64 bits , But I installed Ubuntu 10.04 on vmware
player , The compilation went smooth on it using
ndk6b</span></div>
<div><br>
<span class="yiv1391882221Apple-style-span" style="font-size: 16px; font-family: times, serif; "></span></div>
<div><span class="yiv1391882221Apple-style-span" style="font-size: 16px; font-family: times, serif; ">I
hope this may help you.</span></div>
<div><br>
<span class="yiv1391882221Apple-style-span" style="font-size: 16px; font-family: times, serif; "></span></div>
<div><span class="yiv1391882221Apple-style-span" style="font-size: 16px; font-family: times, serif; ">Regards</span></div>
<div><span class="yiv1391882221Apple-style-span" style="font-size: 16px; font-family: times, serif; ">-Mohmat<br>
</span><span class="yiv1391882221Apple-style-span" style="font-size: 16px; font-family: times, serif; "></span></div>
<div><br>
</div>
<div style="font-size: 12pt; font-family: times, serif; ">
<div style="font-size: 12pt; font-family: times, serif; "> <font face="Arial" size="2">
<hr size="1"> <b><span style="
font-weight:bold;">From:</span></b> Munish Jindal
<a rel="nofollow" class="yiv1391882221moz-txt-link-rfc2396E" ymailto="mailto:munish_iitd@yahoo.com" target="_blank" href="mailto:munish_iitd@yahoo.com"><munish_iitd@yahoo.com></a><br>
<b><span style="font-weight:bold;">To:</span></b>
moh ab <a rel="nofollow" class="yiv1391882221moz-txt-link-rfc2396E" ymailto="mailto:moh081@yahoo.com" target="_blank" href="mailto:moh081@yahoo.com"><moh081@yahoo.com></a>; Discussions
about GStreamer on Android
<a rel="nofollow" class="yiv1391882221moz-txt-link-rfc2396E" ymailto="mailto:gstreamer-android@lists.freedesktop.org" target="_blank" href="mailto:gstreamer-android@lists.freedesktop.org"><gstreamer-android@lists.freedesktop.org></a>
<br>
<b><span style="font-weight:bold;">Sent:</span></b>
Monday, December 12, 2011 4:45 AM<br>
<b><span style="font-weight:bold;">Subject:</span></b>
Re: Building GStreamer error<br>
</font> <br>
<div id="yiv1391882221">
<div>
<div style="color: rgb(0, 0, 0); background-color: rgb(255, 255, 255); font-size: 10pt; font-family: arial, helvetica, sans-serif; ">
<div><span>Hi Moh,</span></div>
<div><span><br>
</span></div>
<div>Were you able to solve this error "<span class="yiv1391882221Apple-style-span" style="font-size: 16px; font-family: times, serif; ">pixel-a.o: relocation
R_ARM_MOVW_ABS_NC against `a local
symbol' can not be used when making a
shared object; recompile with -fPIC".</span></div>
<div><span class="yiv1391882221Apple-style-span" style="font-size: 16px; font-family: times, serif; "><br>
</span></div>
<div><span class="yiv1391882221Apple-style-span" style="font-size: 16px; font-family: times, serif; ">If yes, please let me know
the solution.</span></div>
<div><span class="yiv1391882221Apple-style-span" style="font-size: 16px; font-family: times, serif; "><br>
</span></div>
<div><span class="yiv1391882221Apple-style-span" style="font-size: 16px; font-family: times, serif; ">Regards,</span></div>
<div><span class="yiv1391882221Apple-style-span" style="font-size: 16px; font-family: times, serif; ">Munish</span></div>
<div><br>
</div>
<div style="font-size: 10pt; font-family: arial, helvetica, sans-serif; ">
<div style="font-size: 12pt; font-family: times, serif; "> <font face="Arial" size="2">
<hr size="1"> <b><span style="font-weight:bold;">From:</span></b>
moh ab <a rel="nofollow" class="yiv1391882221moz-txt-link-rfc2396E" ymailto="mailto:moh081@yahoo.com" target="_blank" href="mailto:moh081@yahoo.com"><moh081@yahoo.com></a><br>
<b><span style="font-weight:bold;">To:</span></b>
Discussions about GStreamer on Android
<a rel="nofollow" class="yiv1391882221moz-txt-link-rfc2396E" ymailto="mailto:gstreamer-android@lists.freedesktop.org" target="_blank" href="mailto:gstreamer-android@lists.freedesktop.org"><gstreamer-android@lists.freedesktop.org></a>
<br>
<b><span style="font-weight:bold;">Sent:</span></b>
Friday, 9 December 2011 6:33 AM<br>
<b><span style="font-weight:bold;">Subject:</span></b>
Re: Building GStreamer error<br>
</font> <br>
<div id="yiv1391882221">
<div>
<div style="color: rgb(0, 0, 0); background-color: rgb(255, 255, 255); font-size: 12pt; font-family: times, serif; ">
<div><span>Thanks , It solves the
problem , but I am running
into another one , I got this
new error</span></div>
<div><br>
<span></span></div>
<div><span>Compile thumb : x264
<= predict-a.S<br>
cc1: warning: switch
-mcpu=cortex-a8 conflicts with
-march= switch<br>
arm-linux-androideabi-gcc:
/opt/android-ndk-r7/platforms/android-9/arch-arm/usr/lib/crtbegin_dynamic.o:
linker input file unused
because linking not done<br>
arm-linux-androideabi-gcc:
/opt/android-ndk-r7/toolchains/arm-linux-androideabi-4.4.3/prebuilt/linux-x86/bin/../lib/gcc/arm-linux-androideabi/4.4.3/libgcc.a:
linker input file unused
because linking not done<br>
arm-linux-androideabi-gcc:
/opt/android-ndk-r7/platforms/android-9/arch-arm/usr/lib/crtend_android.o:
linker input file unused
because linking not done<br>
SharedLibrary : libx264.so<br>
/opt/android-ndk-r7/toolchains/arm-linux-androideabi-4.4.3/prebuilt/linux-x86/bin/../lib/gcc/arm-linux-androideabi/4.4.3/../../../../arm-linux-androideabi/bin/ld:
./obj/local/armeabi/objs-debug/x264/common/arm/pixel-a.o:
relocation R_ARM_MOVW_ABS_NC
against `a local symbol' can
not be used when making a
shared object; recompile with
-fPIC<br>
./obj/local/armeabi/objs-debug/x264/common/arm/pixel-a.o:
could not read symbols: Bad
value<br>
collect2: ld returned 1 exit
status<br>
make: ***
[obj/local/armeabi/libx264.so]
Error 1<br>
</span></div>
<div><br>
<span></span></div>
<div><br>
<span></span></div>
<div><span>Any one can help with
this Please?</span></div>
<div><br>
<span></span></div>
<div><span>Thanks<br>
</span></div>
<div><br>
</div>
<div style="font-size: 12pt; font-family: times, serif; ">
<div style="font-size: 12pt; font-family: times, serif; "> <font face="Arial" size="2">
<hr size="1"> <b><span style="
font-weight:bold;">From:</span></b>
Mark Howell
<a rel="nofollow" class="yiv1391882221moz-txt-link-rfc2396E" ymailto="mailto:mark-sub1@hypgnosys.org" target="_blank" href="mailto:mark-sub1@hypgnosys.org"><mark-sub1@hypgnosys.org></a><br>
<b><span style="
font-weight:bold;">To:</span></b>
<a rel="nofollow" class="yiv1391882221moz-txt-link-abbreviated" ymailto="mailto:gstreamer-android@lists.freedesktop.org" target="_blank" href="mailto:gstreamer-android@lists.freedesktop.org">gstreamer-android@lists.freedesktop.org</a>
<br>
<b><span style="
font-weight:bold;">Sent:</span></b>
Thursday, December 8, 2011
7:02:03 PM<br>
<b><span style="
font-weight:bold;">Subject:</span></b>
Re: Building GStreamer error<br>
</font> <br>
<div id="yiv1391882221">
<div> On 12/8/2011 4:26 PM,
moh ab wrote:<br>
<br>
[snip]<br>
<blockquote type="cite">
<div style="color: rgb(0, 0, 0); background-color: rgb(255, 255, 255); font-size: 12pt; font-family: times, serif; ">
<div><span><br>
arm-linux-androideabi-g++:
unrecognized
option
'-no-undefined'<br>
/opt/android-ndk-r7/toolchains/arm-linux-androideabi-4.4.3/prebuilt/linux-x86/bin/../lib/gcc/arm-linux-androideabi/4.4.3/../../../../arm-linux-androideabi/bin/ld:
warning: cannot
find entry symbol
xport-symbols-regex;
defaulting to
00005fe8<br>
Install :
libgstogg.so =>
libs/armeabi/libgstogg.so<br>
Compile arm :
gstomx <=
gstomx.c<br>
Compile arm :
gstomx <=
gstomx_util.c<br>
Compile arm :
gstomx <=
gstomx_interface.c<br>
Compile arm :
gstomx <=
gstomx_base_filter.c<br>
Compile arm :
gstomx <=
gstomx_base_videodec.c<br>
Compile arm :
gstomx <=
gstomx_base_videoenc.c<br>
Compile arm :
gstomx <=
gstomx_base_audiodec.c<br>
Compile arm :
gstomx <=
gstomx_dummy.c<br>
Compile arm :
gstomx <=
gstomx_volume.c<br>
Compile arm :
gstomx <=
gstomx_mpeg4dec.c<br>
Compile arm :
gstomx <=
gstomx_h263dec.c<br>
Compile arm :
gstomx <=
gstomx_h264dec.c<br>
Compile arm :
gstomx <=
gstomx_wmvdec.c<br>
Compile arm :
gstomx <=
gstomx_mpeg4enc.c<br>
Compile arm :
gstomx <=
gstomx_h264enc.c<br>
Compile arm :
gstomx <=
gstomx_h263enc.c<br>
Compile arm :
gstomx <=
gstomx_vorbisdec.c<br>
Compile arm :
gstomx <=
gstomx_mp3dec.c<br>
Compile arm :
gstomx <=
gstomx_base_sink.c<br>
Compile arm :
gstomx <=
gstomx_audiosink.c<br>
Compile arm :
gstomx <=
gstomx_conf.c<br>
/opt/3/jni/../gst-openmax/omx/gstomx_conf.c:2:
error: expected
expression before
';' token<br>
make: ***
[obj/local/armeabi/objs-debug/gstomx/gstomx_conf.o]
Error 1<br>
<br>
</span></div>
<div><br>
<span></span></div>
<div><span>Any Idea
about this ?</span></div>
</div>
</blockquote>
<br>
I had the same error at
one point. You will find
in the gstreamer-android
list archives someone
mentions a workaround.<br>
<br>
Edit
gstreamer_ndk_bundle/gst-openmax/omx/gstomx_conf.c
by hand to say:<br>
<br>
const char
*default_config;<br>
<br>
That worked for me.<br>
<br>
Cheers,<br>
<br>
Mark.<br>
</div>
</div>
<br>
_______________________________________________<br>
gstreamer-android mailing list<br>
<a rel="nofollow" ymailto="mailto:gstreamer-android@lists.freedesktop.org" target="_blank" href="mailto:gstreamer-android@lists.freedesktop.org">gstreamer-android@lists.freedesktop.org</a><br>
<a rel="nofollow" class="yiv1391882221moz-txt-link-freetext" target="_blank" href="http://lists.freedesktop.org/mailman/listinfo/gstreamer-android">http://lists.freedesktop.org/mailman/listinfo/gstreamer-android</a><br>
<br>
<br>
</div>
</div>
</div>
</div>
</div>
<br>
_______________________________________________<br>
gstreamer-android mailing list<br>
<a rel="nofollow" ymailto="mailto:gstreamer-android@lists.freedesktop.org" target="_blank" href="mailto:gstreamer-android@lists.freedesktop.org">gstreamer-android@lists.freedesktop.org</a><br>
<a rel="nofollow" target="_blank" href="http://lists.freedesktop.org/mailman/listinfo/gstreamer-android">http://lists.freedesktop.org/mailman/listinfo/gstreamer-android</a><br>
<br>
<br>
</div>
</div>
</div>
</div>
</div>
<br>
_______________________________________________<br>
gstreamer-android mailing list<br>
<a rel="nofollow" ymailto="mailto:gstreamer-android@lists.freedesktop.org" target="_blank" href="mailto:gstreamer-android@lists.freedesktop.org">gstreamer-android@lists.freedesktop.org</a><br>
<a rel="nofollow" target="_blank" href="http://lists.freedesktop.org/mailman/listinfo/gstreamer-android">http://lists.freedesktop.org/mailman/listinfo/gstreamer-android</a><br>
<br>
<br>
</div>
</div>
</div>
</div>
</div>
<br>
_______________________________________________<br>
gstreamer-android mailing list<br>
<a rel="nofollow" ymailto="mailto:gstreamer-android@lists.freedesktop.org" target="_blank" href="mailto:gstreamer-android@lists.freedesktop.org">gstreamer-android@lists.freedesktop.org</a><br>
<a rel="nofollow" target="_blank" href="http://lists.freedesktop.org/mailman/listinfo/gstreamer-android">http://lists.freedesktop.org/mailman/listinfo/gstreamer-android</a><br>
<br>
<br>
</div>
</div>
</div>
<pre><fieldset class="yiv1391882221mimeAttachmentHeader"></fieldset>
_______________________________________________
gstreamer-android mailing list
<a rel="nofollow" class="yiv1391882221moz-txt-link-abbreviated" ymailto="mailto:gstreamer-android@lists.freedesktop.org" target="_blank" href="mailto:gstreamer-android@lists.freedesktop.org">gstreamer-android@lists.freedesktop.org</a>
<a rel="nofollow" class="yiv1391882221moz-txt-link-freetext" target="_blank" href="http://lists.freedesktop.org/mailman/listinfo/gstreamer-android">http://lists.freedesktop.org/mailman/listinfo/gstreamer-android</a>
</pre>
</blockquote>
<br>
</div>
</div><br>_______________________________________________<br>gstreamer-android mailing list<br><a ymailto="mailto:gstreamer-android@lists.freedesktop.org" href="mailto:gstreamer-android@lists.freedesktop.org">gstreamer-android@lists.freedesktop.org</a><br><a href="http://lists.freedesktop.org/mailman/listinfo/gstreamer-android" target="_blank">http://lists.freedesktop.org/mailman/listinfo/gstreamer-android</a><br><br><br> </div> </div> </div></body></html>