loadLibrary gstreamer_android

cristian.astorino cristian.astorino at gmail.com
Mon Jan 11 13:21:24 PST 2016


I've made some progress.
I modified Android.mk to include following plugins:

 coreelements adder app audioconvert audiorate audioresample audiotestsrc
gio typefindfunctions videoconvert videorate videoscale videotestsrc volume
autodetect videofilter $(GSTREAMER_PLUGINS_PLAYBACK)
$(GSTREAMER_PLUGINS_SYS) $(GSTREAMER_PLUGINS_VIS) subparse alaw apetag
audioparsers auparse dv flv multipart taglib adpcmdec fragmented id3tag
kate mxf openh264 pnm rfbsrc schro gstsiren smoothstreaming
videoparsersbad gdp tcp rtsp rtp rtpmanager soup udp dataurisrc sdp srtp
faad mpegpsdemux mpegtsdemux a52dec amrnb amrwbdec asf mad mpeg2dec
realmedia x264 lame libav rtmp

Now the call to System.loadLibrary("gstreamer_android"); returns and the
app start to execute other methods, but now there is another error and I
don't know how to debug it. Can you help me?

The error is:
01-11 22:35:00.660 28430-28527/it.boot.meteo A/libc: Fatal signal 11
(SIGSEGV) at 0x00000024 (code=1)

Complete logcat: http://pastebin.com/LVVn5VHG

Regards
Cristian

2016-01-11 22:03 GMT+01:00 Sebastian Dröge-3 [via GStreamer-devel] <
ml-node+s966125n4675214h26 at n4.nabble.com>:

> On So, 2016-01-10 at 09:18 -0800, cristian.astorino wrote:
> > Done, but it continues to raise SIGPIPE: http://pastebin.com/pPt8VUUK
> >
> > this is the piece of code modified:
> > [...]
> >
> > I then rebuilt the library with: ndk-build -B V=1
> >
> > What to do now?
>
> Did you check if your changes also ended up being in the .c file inside
> your project? And also best to make sure that you clean the project
> properly first, sometimes ndk-build is behaving a bit weird and you're
> actually using an older version of the binary.
>
> Basically if it still causes SIGPIPE that means that something else
> inside Android is un-ignoring the signal again, in which case we have a
> problem. You would have to try running the application in a debugger to
> see where exactly the SIGPIPE comes from.
>
> --
> Sebastian Dröge, Centricular Ltd · http://www.centricular.com
>
>
> _______________________________________________
> gstreamer-devel mailing list
> [hidden email] <http:///user/SendEmail.jtp?type=node&node=4675214&i=0>
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>
> *signature.asc* (968 bytes) Download Attachment
> <http://gstreamer-devel.966125.n4.nabble.com/attachment/4675214/0/signature.asc>
>
>
> ------------------------------
> If you reply to this email, your message will be added to the discussion
> below:
>
> http://gstreamer-devel.966125.n4.nabble.com/loadLibrary-gstreamer-android-tp4675192p4675214.html
> To unsubscribe from loadLibrary gstreamer_android, click here
> <http://gstreamer-devel.966125.n4.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=4675192&code=Y3Jpc3RpYW4uYXN0b3Jpbm9AZ21haWwuY29tfDQ2NzUxOTJ8MTEyMjIxMjM1>
> .
> NAML
> <http://gstreamer-devel.966125.n4.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>




--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/loadLibrary-gstreamer-android-tp4675192p4675215.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20160111/3d7c4df6/attachment-0001.html>


More information about the gstreamer-devel mailing list