<div dir="ltr"><div>Hello All<br><br>On Android and Gstreamer SDK, I also met the already exposed problem with av_malloc defined both in ffmpeg and ffmpegcolorspace. I run ubuntu 12.04 and I wish to create an android player for H264using ffmpeg usiing tutorial5 <br>
<br>I went and see <a href="https://bugs.freedesktop.org/show_bug.cgi?id=59485">https://bugs.freedesktop.org/show_bug.cgi?id=59485</a> which provides a new ffmpegclorspace library.<br><br>Unfortunately it's not a static version but a .so version. <br>
Looking at the comments, I downloaded the tar.gz plugin-base package containing the fix from :<br><a href="http://cgit.freedesktop.org/gstreamer-sdk/gst-plugins-base/commit/?id=8599175207e044ad5a46edc81ed9166dd3175157">http://cgit.freedesktop.org/gstreamer-sdk/gst-plugins-base/commit/?id=8599175207e044ad5a46edc81ed9166dd3175157</a><br>
I also installed androgenizer from <br><a href="http://cgit.collabora.com/git/android/androgenizer.git/">http://cgit.collabora.com/git/android/androgenizer.git/</a><br><br>Unfortunately, I did not manage to run ./autogen.sh to create the configure script, got message saying missing common/gst-autogen.sh....<br>
<br>I would be very grateful someone kindly share with us a fixed static version of this lib please?<br><br></div>Jacques<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">2013/1/24 Andoni Morales <span dir="ltr"><<a href="mailto:ylatuya@gmail.com" target="_blank">ylatuya@gmail.com</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">2013/1/24 FoxKisaraki <<a href="mailto:sakurazuka2001@yahoo.com.tw">sakurazuka2001@yahoo.com.tw</a>>:<br>
> Hello everyone, I'm new in this forum<br>
><br>
> I've been developing gstreamer application for a while on MS Windows<br>
><br>
> Now I'm trying to develop some gstreamer applicatoin on Android.<br>
><br>
> I had downloaded SDK & Tutorials from<br>
> <a href="http://docs.gstreamer.com/display/GstSDK/Installing+for+Android+development" target="_blank">http://docs.gstreamer.com/display/GstSDK/Installing+for+Android+development</a><br>
><br>
> and try to run Toturial 1~3, so far everything seems fine.<br>
><br>
> Now I want to modify code in Toturial3, which made it play .ts ( H.264 + MP3<br>
> ), but met problems below:<br>
><br>
> 1. in <a href="http://plugin.mk" target="_blank">plugin.mk</a>, I have to remove ffmpeg from<br>
> GSTREAMER_PLUGINS_CODECS_RESTRICTED otherwise I will fail to build project,<br>
> and due to lack of ffmpeg, I can't use ffdec_h264 & ffdec_mp3.<br>
Hi,<br>
<br>
This is now fixed. Please, refer to the following bug reports which<br>
provide the required elements to fix the link with ffmpeg until the<br>
next release:<br>
<a href="https://bugs.freedesktop.org/show_bug.cgi?id=59485" target="_blank">https://bugs.freedesktop.org/show_bug.cgi?id=59485</a><br>
<a href="https://bugs.freedesktop.org/show_bug.cgi?id=59250" target="_blank">https://bugs.freedesktop.org/show_bug.cgi?id=59250</a><br>
<br>
><br>
> 2. some elements seems had different name from <a href="http://plugin.mk" target="_blank">plugin.mk</a>, for example, if I<br>
> try to use mpegtsdemux in my pipeline, I will get error "no element<br>
> mpegtsdemux", however I can use tsdemux instead of it.<br>
<br>
With the SDK we don't provide mpegtsdemux anymore as it's being<br>
replaced by tsdemux, which should be the preferred one now.<br>
<br>
><br>
> 3. The tutorials built gstreamer cores and elements need in a single file<br>
> gstreamer-android.so, deu to reason 2, I want to use gst-inspect to figure<br>
> out what elements actually named in adb shell, but I can't find gst-inspect<br>
> in anywhere ( seems not provided by Gstreamer Android SDK ), also, I can't<br>
> try gst-launch for test pipeline either.<br>
<br>
We also provide a tarball with the shared libraries and the gstreamer<br>
tools. You can find them here with the "runtime" suffix:<br>
<a href="http://www.freedesktop.org/software/gstreamer-sdk/data/packages/android/arm/" target="_blank">http://www.freedesktop.org/software/gstreamer-sdk/data/packages/android/arm/</a><br>
Make sure you download the debug version which includes GStreamer logs.<br>
<br>
Cheers,<br>
Andoni<br>
><br>
> 4. I tried a pipeline : filesrc location=/data/app/test.ts ! typefind !<br>
> tsdemux name=demux ! queue ! amcviddec-omxgoogleh264decoder !<br>
> ffmpegcolorspace !autovideosink demux. ! queue ! mad ! autoaudiosink<br>
> , but I get errors:"error received from element demux : could not<br>
> demultiplex stream" and "Internal data stream error". I guess either I use<br>
> wrong demuxer or wrong decoder, but since I had no gst-launch, it's quite<br>
> difficult to debug.<br>
><br>
> Anyone meets the same question?<br>
> Thanks for reading this.<br>
><br>
><br>
<span class="HOEnZb"><font color="#888888">><br>
> --<br>
> View this message in context: <a href="http://gstreamer-devel.966125.n4.nabble.com/Several-problems-in-Gstreamer-Android-tp4658132.html" target="_blank">http://gstreamer-devel.966125.n4.nabble.com/Several-problems-in-Gstreamer-Android-tp4658132.html</a><br>
> Sent from the GStreamer-devel mailing list archive at Nabble.com.<br>
> _______________________________________________<br>
> gstreamer-devel mailing list<br>
> <a href="mailto:gstreamer-devel@lists.freedesktop.org">gstreamer-devel@lists.freedesktop.org</a><br>
> <a href="http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" target="_blank">http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a><br>
<br>
<br>
<br>
--<br>
Andoni Morales Alastruey<br>
<br>
LongoMatch:The Digital Coach<br>
<a href="http://www.longomatch.ylatuya.es" target="_blank">http://www.longomatch.ylatuya.es</a><br>
_______________________________________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.freedesktop.org">gstreamer-devel@lists.freedesktop.org</a><br>
<a href="http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" target="_blank">http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a><br>
</font></span></blockquote></div><br></div>