Several problems in Gstreamer Android
Andoni Morales
ylatuya at gmail.com
Thu Jan 24 02:57:11 PST 2013
2013/1/24 FoxKisaraki <sakurazuka2001 at yahoo.com.tw>:
> Hello everyone, I'm new in this forum
>
> I've been developing gstreamer application for a while on MS Windows
>
> Now I'm trying to develop some gstreamer applicatoin on Android.
>
> I had downloaded SDK & Tutorials from
> http://docs.gstreamer.com/display/GstSDK/Installing+for+Android+development
>
> and try to run Toturial 1~3, so far everything seems fine.
>
> Now I want to modify code in Toturial3, which made it play .ts ( H.264 + MP3
> ), but met problems below:
>
> 1. in plugin.mk, I have to remove ffmpeg from
> GSTREAMER_PLUGINS_CODECS_RESTRICTED otherwise I will fail to build project,
> and due to lack of ffmpeg, I can't use ffdec_h264 & ffdec_mp3.
Hi,
This is now fixed. Please, refer to the following bug reports which
provide the required elements to fix the link with ffmpeg until the
next release:
https://bugs.freedesktop.org/show_bug.cgi?id=59485
https://bugs.freedesktop.org/show_bug.cgi?id=59250
>
> 2. some elements seems had different name from plugin.mk, for example, if I
> try to use mpegtsdemux in my pipeline, I will get error "no element
> mpegtsdemux", however I can use tsdemux instead of it.
With the SDK we don't provide mpegtsdemux anymore as it's being
replaced by tsdemux, which should be the preferred one now.
>
> 3. The tutorials built gstreamer cores and elements need in a single file
> gstreamer-android.so, deu to reason 2, I want to use gst-inspect to figure
> out what elements actually named in adb shell, but I can't find gst-inspect
> in anywhere ( seems not provided by Gstreamer Android SDK ), also, I can't
> try gst-launch for test pipeline either.
We also provide a tarball with the shared libraries and the gstreamer
tools. You can find them here with the "runtime" suffix:
http://www.freedesktop.org/software/gstreamer-sdk/data/packages/android/arm/
Make sure you download the debug version which includes GStreamer logs.
Cheers,
Andoni
>
> 4. I tried a pipeline : filesrc location=/data/app/test.ts ! typefind !
> tsdemux name=demux ! queue ! amcviddec-omxgoogleh264decoder !
> ffmpegcolorspace !autovideosink demux. ! queue ! mad ! autoaudiosink
> , but I get errors:"error received from element demux : could not
> demultiplex stream" and "Internal data stream error". I guess either I use
> wrong demuxer or wrong decoder, but since I had no gst-launch, it's quite
> difficult to debug.
>
> Anyone meets the same question?
> Thanks for reading this.
>
>
>
> --
> View this message in context: http://gstreamer-devel.966125.n4.nabble.com/Several-problems-in-Gstreamer-Android-tp4658132.html
> Sent from the GStreamer-devel mailing list archive at Nabble.com.
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
--
Andoni Morales Alastruey
LongoMatch:The Digital Coach
http://www.longomatch.ylatuya.es
More information about the gstreamer-devel
mailing list