<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
    <title></title>
  </head>
  <body bgcolor="#ffffff" text="#000000">
    On 12/13/2011 04:48 AM, Munish Jindal wrote:
    <blockquote
      cite="mid:1323748092.28418.YahooMailNeo@web95213.mail.in2.yahoo.com"
      type="cite">
      <div style="color: rgb(0, 0, 0); background-color: rgb(255, 255,
        255); font-family: arial,helvetica,sans-serif; font-size: 10pt;">
        <div style="font-family: arial,helvetica,sans-serif; font-size:
          10pt;"><span>Hi Mohmat,</span></div>
        <div style="font-family: arial,helvetica,sans-serif; font-size:
          10pt;"><span><br>
          </span></div>
        <div style="font-family: arial,helvetica,sans-serif; font-size:
          10pt;"><span>Thanks for your reply. Using ndk-6b has solved
            this problem. I am using 64-bit Ubuntu 11.10.&nbsp;</span></div>
        <div style="font-family: arial,helvetica,sans-serif; font-size:
          10pt;"><span><br>
          </span></div>
        <div><font class="Apple-style-span" size="2">I
            have&nbsp;successfully&nbsp;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&nbsp;reference&nbsp;code would be very helpful.</font></div>
      </div>
    </blockquote>
    Hi,<br>
    <br>
    you should start reading the gstreamer docuemntation (also online at
    <a class="moz-txt-link-freetext" 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
      cite="mid:1323748092.28418.YahooMailNeo@web95213.mail.in2.yahoo.com"
      type="cite">
      <div style="color: rgb(0, 0, 0); background-color: rgb(255, 255,
        255); font-family: arial,helvetica,sans-serif; font-size: 10pt;">
        <div><font class="Apple-style-span" size="2"><br>
          </font></div>
        <div><font class="Apple-style-span" size="2">Regards,</font></div>
        <div><font class="Apple-style-span" size="2">Munish</font></div>
        <div><font class="Apple-style-span" size="2"><br>
          </font></div>
        <div style="font-family: arial,helvetica,sans-serif; font-size:
          10pt;"><span><br>
          </span></div>
        <div style="font-family: arial,helvetica,sans-serif; font-size:
          10pt;"><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 face="Arial"
              size="2">
              <hr size="1"> <b><span style="font-weight: bold;">From:</span></b>
              Mike Albren <a class="moz-txt-link-rfc2396E" href="mailto:mike_albren@yahoo.com">&lt;mike_albren@yahoo.com&gt;</a><br>
              <b><span style="font-weight: bold;">To:</span></b> Munish
              Jindal <a class="moz-txt-link-rfc2396E" href="mailto:munish_iitd@yahoo.com">&lt;munish_iitd@yahoo.com&gt;</a>; Discussions about
              GStreamer on Android
              <a class="moz-txt-link-rfc2396E" href="mailto:gstreamer-android@lists.freedesktop.org">&lt;gstreamer-android@lists.freedesktop.org&gt;</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="yiv1955056499">
              <div>
                <div style="color: rgb(0, 0, 0); background-color:
                  rgb(255, 255, 255); font-size: 12pt; font-family:
                  'times new roman','new york',times,serif;">
                  <div><span>Hi </span><span
                      class="yiv1955056499Apple-style-span"
                      style="font-size: 16px; font-family: times,serif;">Munish
                      ,</span></div>
                  <div><br>
                    <span class="yiv1955056499Apple-style-span"
                      style="font-size: 16px; font-family: times,serif;"></span></div>
                  <div><span class="yiv1955056499Apple-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="yiv1955056499Apple-style-span"
                      style="font-size: 16px; font-family: times,serif;"></span></div>
                  <div><span class="yiv1955056499Apple-style-span"
                      style="font-size: 16px; font-family: times,serif;">I
                      hope this may help you.</span></div>
                  <div><br>
                    <span class="yiv1955056499Apple-style-span"
                      style="font-size: 16px; font-family: times,serif;"></span></div>
                  <div><span class="yiv1955056499Apple-style-span"
                      style="font-size: 16px; font-family: times,serif;">Regards</span></div>
                  <div><span class="yiv1955056499Apple-style-span"
                      style="font-size: 16px; font-family: times,serif;">-Mohmat<br>
                    </span><span class="yiv1955056499Apple-style-span"
                      style="font-size: 16px; font-family: times,serif;"></span></div>
                  <div><br>
                  </div>
                  <div style="font-size: 12pt; font-family: 'times new
                    roman','new york',times,serif;">
                    <div style="font-size: 12pt; font-family: 'times new
                      roman','new york',times,serif;"> <font
                        face="Arial" size="2">
                        <hr size="1"> <b><span style="font-weight:
                            bold;">From:</span></b> Munish Jindal
                        <a class="moz-txt-link-rfc2396E" href="mailto:munish_iitd@yahoo.com">&lt;munish_iitd@yahoo.com&gt;</a><br>
                        <b><span style="font-weight: bold;">To:</span></b>
                        moh ab <a class="moz-txt-link-rfc2396E" href="mailto:moh081@yahoo.com">&lt;moh081@yahoo.com&gt;</a>; Discussions
                        about GStreamer on Android
                        <a class="moz-txt-link-rfc2396E" href="mailto:gstreamer-android@lists.freedesktop.org">&lt;gstreamer-android@lists.freedesktop.org&gt;</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="yiv1955056499">
                        <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 &nbsp;solve this error "<span
                                class="yiv1955056499Apple-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="yiv1955056499Apple-style-span"
                                style="font-size: 16px; font-family:
                                times,serif;"><br>
                              </span></div>
                            <div><span
                                class="yiv1955056499Apple-style-span"
                                style="font-size: 16px; font-family:
                                times,serif;">If yes, please let me know
                                the solution.</span></div>
                            <div><span
                                class="yiv1955056499Apple-style-span"
                                style="font-size: 16px; font-family:
                                times,serif;"><br>
                              </span></div>
                            <div><span
                                class="yiv1955056499Apple-style-span"
                                style="font-size: 16px; font-family:
                                times,serif;">Regards,</span></div>
                            <div><span
                                class="yiv1955056499Apple-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 class="moz-txt-link-rfc2396E" href="mailto:moh081@yahoo.com">&lt;moh081@yahoo.com&gt;</a><br>
                                  <b><span style="font-weight: bold;">To:</span></b>
                                  Discussions about GStreamer on Android
                                  <a class="moz-txt-link-rfc2396E" href="mailto:gstreamer-android@lists.freedesktop.org">&lt;gstreamer-android@lists.freedesktop.org&gt;</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="yiv1955056499">
                                  <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&nbsp; : x264
                                          &lt;= 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&nbsp; : 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&nbsp; 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 class="moz-txt-link-rfc2396E" href="mailto:mark-sub1@hypgnosys.org">&lt;mark-sub1@hypgnosys.org&gt;</a><br>
                                            <b><span style="font-weight:
                                                bold;">To:</span></b>
                                            <a class="moz-txt-link-abbreviated" 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="yiv1955056499">
                                            <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&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; :
                                                      libgstogg.so =&gt;
libs/armeabi/libgstogg.so<br>
                                                      Compile arm&nbsp;&nbsp;&nbsp; :
                                                      gstomx &lt;=
                                                      gstomx.c<br>
                                                      Compile arm&nbsp;&nbsp;&nbsp; :
                                                      gstomx &lt;=
                                                      gstomx_util.c<br>
                                                      Compile arm&nbsp;&nbsp;&nbsp; :
                                                      gstomx &lt;=
                                                      gstomx_interface.c<br>
                                                      Compile arm&nbsp;&nbsp;&nbsp; :
                                                      gstomx &lt;=
                                                      gstomx_base_filter.c<br>
                                                      Compile arm&nbsp;&nbsp;&nbsp; :
                                                      gstomx &lt;=
                                                      gstomx_base_videodec.c<br>
                                                      Compile arm&nbsp;&nbsp;&nbsp; :
                                                      gstomx &lt;=
                                                      gstomx_base_videoenc.c<br>
                                                      Compile arm&nbsp;&nbsp;&nbsp; :
                                                      gstomx &lt;=
                                                      gstomx_base_audiodec.c<br>
                                                      Compile arm&nbsp;&nbsp;&nbsp; :
                                                      gstomx &lt;=
                                                      gstomx_dummy.c<br>
                                                      Compile arm&nbsp;&nbsp;&nbsp; :
                                                      gstomx &lt;=
                                                      gstomx_volume.c<br>
                                                      Compile arm&nbsp;&nbsp;&nbsp; :
                                                      gstomx &lt;=
                                                      gstomx_mpeg4dec.c<br>
                                                      Compile arm&nbsp;&nbsp;&nbsp; :
                                                      gstomx &lt;=
                                                      gstomx_h263dec.c<br>
                                                      Compile arm&nbsp;&nbsp;&nbsp; :
                                                      gstomx &lt;=
                                                      gstomx_h264dec.c<br>
                                                      Compile arm&nbsp;&nbsp;&nbsp; :
                                                      gstomx &lt;=
                                                      gstomx_wmvdec.c<br>
                                                      Compile arm&nbsp;&nbsp;&nbsp; :
                                                      gstomx &lt;=
                                                      gstomx_mpeg4enc.c<br>
                                                      Compile arm&nbsp;&nbsp;&nbsp; :
                                                      gstomx &lt;=
                                                      gstomx_h264enc.c<br>
                                                      Compile arm&nbsp;&nbsp;&nbsp; :
                                                      gstomx &lt;=
                                                      gstomx_h263enc.c<br>
                                                      Compile arm&nbsp;&nbsp;&nbsp; :
                                                      gstomx &lt;=
                                                      gstomx_vorbisdec.c<br>
                                                      Compile arm&nbsp;&nbsp;&nbsp; :
                                                      gstomx &lt;=
                                                      gstomx_mp3dec.c<br>
                                                      Compile arm&nbsp;&nbsp;&nbsp; :
                                                      gstomx &lt;=
                                                      gstomx_base_sink.c<br>
                                                      Compile arm&nbsp;&nbsp;&nbsp; :
                                                      gstomx &lt;=
                                                      gstomx_audiosink.c<br>
                                                      Compile arm&nbsp;&nbsp;&nbsp; :
                                                      gstomx &lt;=
                                                      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 moz-do-not-send="true"
                                            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 class="moz-txt-link-freetext" 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 moz-do-not-send="true" 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 moz-do-not-send="true" 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 moz-do-not-send="true" 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 moz-do-not-send="true" 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 moz-do-not-send="true"
              ymailto="mailto:gstreamer-android@lists.freedesktop.org"
              href="mailto:gstreamer-android@lists.freedesktop.org">gstreamer-android@lists.freedesktop.org</a><br>
            <a moz-do-not-send="true"
              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>
      <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>