Xabier Rodriguez Calvar , thanks for your help ....<br><br>Could you please help me in Video Playback as well.<br><br>Anybody having in depth knowledge of Android and GStreamer on Android, please guide me in this project.<br>
<br>I shall be thankful.<br><br><br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
Message: 2<br>
Date: Wed, 08 Feb 2012 10:57:14 +0100<br>
From: Xabier Rodriguez Calvar &lt;<a href="mailto:calvaris@igalia.com">calvaris@igalia.com</a>&gt;<br>
Subject: Re: Error setting AudioSink in GstPlayer (Xabier Rodriguez<br>
        Calvar)<br>
To: <a href="mailto:gstreamer-android@lists.freedesktop.org">gstreamer-android@lists.freedesktop.org</a><br>
Message-ID: &lt;1328695034.2882.5.camel@localhost.localdomain&gt;<br>
Content-Type: text/plain; charset=&quot;iso-8859-15&quot;<br>
<br>
O M?r, 08-02-2012 ?s 09:21 +0530, Vikas Malhotra escribiu:<br>
&gt; Yes, I have not changed the code of GstPlayer.cpp and<br>
&gt; GstDriver.cpp....I am using it as it was. GstPlayer uses<br>
&gt; MediaPlayerInterface class and accesses its mAudioSink variable which<br>
&gt; is an object of type sp&lt;AudioSink&gt;. Actually my device is not rooted,<br>
&gt; I don&#39;t know if that may have caused the problem. I am trying to build<br>
&gt; the project as an application (.apk) file.<br>
<br>
I don&#39;t know too much about android APIs and what I say could be wrong,<br>
but it looks like for some reason, the system cannot instantiate the<br>
proper sync, so it is returning 0x0 (which is basically nothing), and<br>
you cannot set nothing as a sink. There must be something wrong with<br>
your setup. Maybe somebody with more knowledge on android can say<br>
something.<br>
<br>
Br.<br>
<br>
-------------- next part --------------<br>
A non-text attachment was scrubbed...<br>
Name: not available<br>
Type: application/pgp-signature<br>
Size: 198 bytes<br>
Desc: This is a digitally signed message part<br>
URL: &lt;<a href="http://lists.freedesktop.org/archives/gstreamer-android/attachments/20120208/c66c49c3/attachment-0001.pgp" target="_blank">http://lists.freedesktop.org/archives/gstreamer-android/attachments/20120208/c66c49c3/attachment-0001.pgp</a>&gt;<br>

<br>
------------------------------<br>
<br>
Message: 3<br>
Date: Wed, 08 Feb 2012 12:34:15 +0100<br>
From: Stefan Sauer &lt;<a href="mailto:ensonic@hora-obscura.de">ensonic@hora-obscura.de</a>&gt;<br>
Subject: Re: Error setting AudioSink in GstPlayer (Xabier Rodriguez<br>
        Calvar)<br>
To: <a href="mailto:gstreamer-android@lists.freedesktop.org">gstreamer-android@lists.freedesktop.org</a><br>
Message-ID: &lt;<a href="mailto:4F325DB7.3050908@hora-obscura.de">4F325DB7.3050908@hora-obscura.de</a>&gt;<br>
Content-Type: text/plain; charset=&quot;iso-8859-1&quot;<br>
<br>
On 02/08/2012 04:51 AM, Vikas Malhotra wrote:<br>
&gt; Yes, I have not changed the code of GstPlayer.cpp and<br>
&gt; GstDriver.cpp....I am using it as it was. GstPlayer uses<br>
&gt; MediaPlayerInterface class and accesses its mAudioSink variable which<br>
&gt; is an object of type sp&lt;AudioSink&gt;. Actually my device is not rooted,<br>
&gt; I don&#39;t know if that may have caused the problem. I am trying to build<br>
&gt; the project as an application (.apk) file.<br>
<br>
What GstPlayer are you talking about? You are aware that the if you went<br>
for the NDK build the andoid API won&#39;t now about gstreamer at all?<br>
<br>
Stefan<br>
<br>
&gt;<br>
&gt; Please help.<br>
&gt;<br>
&gt;     ----------------------------------------------------------------------<br>
&gt;<br>
&gt;     Message: 1<br>
&gt;     Date: Tue, 07 Feb 2012 15:40:13 +0100<br>
&gt;     From: Xabier Rodriguez Calvar &lt;<a href="mailto:xrcalvar@igalia.com">xrcalvar@igalia.com</a><br>
&gt;     &lt;mailto:<a href="mailto:xrcalvar@igalia.com">xrcalvar@igalia.com</a>&gt;&gt;<br>
&gt;     Subject: Re: Error setting AudioSink in GstPlayer<br>
&gt;     To: <a href="mailto:gstreamer-android@lists.freedesktop.org">gstreamer-android@lists.freedesktop.org</a><br>
&gt;     &lt;mailto:<a href="mailto:gstreamer-android@lists.freedesktop.org">gstreamer-android@lists.freedesktop.org</a>&gt;<br>
&gt;     Message-ID: &lt;1328625613.2797.31.camel@localhost.localdomain&gt;<br>
&gt;     Content-Type: text/plain; charset=&quot;iso-8859-15&quot;<br>
&gt;<br>
&gt;     O Dom, 05-02-2012 ?s 10:50 +0530, Vikas Malhotra escribiu:<br>
&gt;     &gt; I&#39;ve been working on getting GStreamer NDK Build working on my<br>
&gt;     Android<br>
&gt;     &gt; 2.3.4 device.<br>
&gt;     &gt; I have successfully built the GStreamer source but I am getting<br>
&gt;     error<br>
&gt;     &gt; while setting the AudioSink to the audioflingersink element in<br>
&gt;     &gt; GstPlayer using mAudioSink variable.<br>
&gt;     &gt;<br>
&gt;     &gt; Below given is the log showing the value = 0 (log was added by me in<br>
&gt;     &gt; GstPlayer&#39;s function setDataSource)<br>
&gt;     &gt;<br>
&gt;     &gt; 02-05 10:36:15.540: V/GstPlayer(2485): GstPlayer calling<br>
&gt;     GstDriver ::<br>
&gt;     &gt; setAudioSink() with mAudioSink value = 0x0<br>
&gt;     &gt;<br>
&gt;     &gt; Due to this I am not able to play any sound, and video is also not<br>
&gt;     &gt; playing. Please help me to solve the problem.<br>
&gt;<br>
&gt;     Are yoy sure you are setting something valid? It looks like you<br>
&gt;     have no<br>
&gt;     element to set and that&#39;s causing a problem.<br>
&gt;<br>
&gt;     Br.<br>
&gt;<br>
&gt;     -------------- next part --------------<br>
&gt;     A non-text attachment was scrubbed...<br>
&gt;     Name: not available<br>
&gt;     Type: application/pgp-signature<br>
&gt;     Size: 198 bytes<br>
&gt;     Desc: This is a digitally signed message part<br>
&gt;     URL:<br>
&gt;     &lt;<a href="http://lists.freedesktop.org/archives/gstreamer-android/attachments/20120207/e4a34e17/attachment-0001.pgp" target="_blank">http://lists.freedesktop.org/archives/gstreamer-android/attachments/20120207/e4a34e17/attachment-0001.pgp</a>&gt;<br>

&gt;<br>
&gt;     ------------------------------<br>
&gt;<br>
&gt;     _______________________________________________<br>
&gt;     gstreamer-android mailing list<br>
&gt;     <a href="mailto:gstreamer-android@lists.freedesktop.org">gstreamer-android@lists.freedesktop.org</a><br>
&gt;     &lt;mailto:<a href="mailto:gstreamer-android@lists.freedesktop.org">gstreamer-android@lists.freedesktop.org</a>&gt;<br>
&gt;     <a href="http://lists.freedesktop.org/mailman/listinfo/gstreamer-android" target="_blank">http://lists.freedesktop.org/mailman/listinfo/gstreamer-android</a><br>
&gt;<br>
&gt;<br>
&gt;     End of gstreamer-android Digest, Vol 10, Issue 3<br>
&gt;     ************************************************<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; --<br>
&gt;<br>
&gt; --------------------------------------<br>
&gt; Vikas<br>
&gt; Bachelor of Engineering<br>
&gt; Computer Science and Engineering<br>
&gt;<br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; gstreamer-android mailing list<br>
&gt; <a href="mailto:gstreamer-android@lists.freedesktop.org">gstreamer-android@lists.freedesktop.org</a><br>
&gt; <a href="http://lists.freedesktop.org/mailman/listinfo/gstreamer-android" target="_blank">http://lists.freedesktop.org/mailman/listinfo/gstreamer-android</a><br>
<br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: &lt;<a href="http://lists.freedesktop.org/archives/gstreamer-android/attachments/20120208/a96c6557/attachment.htm" target="_blank">http://lists.freedesktop.org/archives/gstreamer-android/attachments/20120208/a96c6557/attachment.htm</a>&gt;<br>

<br>
------------------------------<br>
<br>
_______________________________________________<br>
gstreamer-android mailing list<br>
<a 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>
End of gstreamer-android Digest, Vol 10, Issue 4<br>
************************************************<br>
</blockquote></div><br><br clear="all"><br>-- <br><br>--------------------------------------<br>Vikas<br>Bachelor of Engineering<br>Computer Science and Engineering<br><a href="http://www.vikaspec.co.cc" target="_blank"></a><br>