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 <<a href="mailto:calvaris@igalia.com">calvaris@igalia.com</a>><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: <1328695034.2882.5.camel@localhost.localdomain><br>
Content-Type: text/plain; charset="iso-8859-15"<br>
<br>
O M?r, 08-02-2012 ?s 09:21 +0530, Vikas Malhotra escribiu:<br>
> Yes, I have not changed the code of GstPlayer.cpp and<br>
> GstDriver.cpp....I am using it as it was. GstPlayer uses<br>
> MediaPlayerInterface class and accesses its mAudioSink variable which<br>
> is an object of type sp<AudioSink>. Actually my device is not rooted,<br>
> I don't know if that may have caused the problem. I am trying to build<br>
> the project as an application (.apk) file.<br>
<br>
I don'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: <<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>><br>
<br>
------------------------------<br>
<br>
Message: 3<br>
Date: Wed, 08 Feb 2012 12:34:15 +0100<br>
From: Stefan Sauer <<a href="mailto:ensonic@hora-obscura.de">ensonic@hora-obscura.de</a>><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: <<a href="mailto:4F325DB7.3050908@hora-obscura.de">4F325DB7.3050908@hora-obscura.de</a>><br>
Content-Type: text/plain; charset="iso-8859-1"<br>
<br>
On 02/08/2012 04:51 AM, Vikas Malhotra wrote:<br>
> Yes, I have not changed the code of GstPlayer.cpp and<br>
> GstDriver.cpp....I am using it as it was. GstPlayer uses<br>
> MediaPlayerInterface class and accesses its mAudioSink variable which<br>
> is an object of type sp<AudioSink>. Actually my device is not rooted,<br>
> I don't know if that may have caused the problem. I am trying to build<br>
> 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't now about gstreamer at all?<br>
<br>
Stefan<br>
<br>
><br>
> Please help.<br>
><br>
> ----------------------------------------------------------------------<br>
><br>
> Message: 1<br>
> Date: Tue, 07 Feb 2012 15:40:13 +0100<br>
> From: Xabier Rodriguez Calvar <<a href="mailto:xrcalvar@igalia.com">xrcalvar@igalia.com</a><br>
> <mailto:<a href="mailto:xrcalvar@igalia.com">xrcalvar@igalia.com</a>>><br>
> Subject: Re: Error setting AudioSink in GstPlayer<br>
> To: <a href="mailto:gstreamer-android@lists.freedesktop.org">gstreamer-android@lists.freedesktop.org</a><br>
> <mailto:<a href="mailto:gstreamer-android@lists.freedesktop.org">gstreamer-android@lists.freedesktop.org</a>><br>
> Message-ID: <1328625613.2797.31.camel@localhost.localdomain><br>
> Content-Type: text/plain; charset="iso-8859-15"<br>
><br>
> O Dom, 05-02-2012 ?s 10:50 +0530, Vikas Malhotra escribiu:<br>
> > I've been working on getting GStreamer NDK Build working on my<br>
> Android<br>
> > 2.3.4 device.<br>
> > I have successfully built the GStreamer source but I am getting<br>
> error<br>
> > while setting the AudioSink to the audioflingersink element in<br>
> > GstPlayer using mAudioSink variable.<br>
> ><br>
> > Below given is the log showing the value = 0 (log was added by me in<br>
> > GstPlayer's function setDataSource)<br>
> ><br>
> > 02-05 10:36:15.540: V/GstPlayer(2485): GstPlayer calling<br>
> GstDriver ::<br>
> > setAudioSink() with mAudioSink value = 0x0<br>
> ><br>
> > Due to this I am not able to play any sound, and video is also not<br>
> > playing. Please help me to solve the problem.<br>
><br>
> Are yoy sure you are setting something valid? It looks like you<br>
> have no<br>
> element to set and that's causing a problem.<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:<br>
> <<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>><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>
> <mailto:<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 3<br>
> ************************************************<br>
><br>
><br>
><br>
><br>
><br>
> --<br>
><br>
> --------------------------------------<br>
> Vikas<br>
> Bachelor of Engineering<br>
> Computer Science and Engineering<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>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <<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>><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>