Several problems in Gstreamer Android
Jacques Bride
jacques.bride at gmail.com
Tue Feb 19 13:05:11 PST 2013
Hello All
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
I went and see https://bugs.freedesktop.org/show_bug.cgi?id=59485 which
provides a new ffmpegclorspace library.
Unfortunately it's not a static version but a .so version.
Looking at the comments, I downloaded the tar.gz plugin-base package
containing the fix from :
http://cgit.freedesktop.org/gstreamer-sdk/gst-plugins-base/commit/?id=8599175207e044ad5a46edc81ed9166dd3175157
I also installed androgenizer from
http://cgit.collabora.com/git/android/androgenizer.git/
Unfortunately, I did not manage to run ./autogen.sh to create the configure
script, got message saying missing common/gst-autogen.sh....
I would be very grateful someone kindly share with us a fixed static
version of this lib please?
Jacques
2013/1/24 Andoni Morales <ylatuya at gmail.com>
> 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
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20130219/055a95c8/attachment.html>
More information about the gstreamer-devel
mailing list