<div dir="ltr"><div><div><div>Can you help me in enabling debug output? What is the best way to enable it?<br></div>Are there some tutorials about use a debugger in android and how to debug an app?<br><br></div>Thanks<br></div>Cristian<br><div><div><div><div><div class="gmail_extra"><br><div class="gmail_quote">2016-01-13 21:27 GMT+01:00 Sebastian Dröge <span dir="ltr"><<a href="mailto:sebastian@centricular.com" target="_blank">sebastian@centricular.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On Mo, 2016-01-11 at 13:21 -0800, cristian.astorino wrote:<br>
> I've made some progress.<br>
> I modified Android.mk to include following plugins:<br>
><br>
>  coreelements adder app audioconvert audiorate audioresample<br>
> audiotestsrc gio typefindfunctions videoconvert videorate videoscale<br>
> videotestsrc volume autodetect videofilter<br>
> $(GSTREAMER_PLUGINS_PLAYBACK) $(GSTREAMER_PLUGINS_SYS)<br>
> $(GSTREAMER_PLUGINS_VIS) subparse alaw apetag audioparsers auparse dv<br>
> flv multipart taglib adpcmdec fragmented id3tag kate mxf openh264 pnm<br>
> rfbsrc schro gstsiren smoothstreaming  videoparsersbad gdp tcp rtsp<br>
> rtp rtpmanager soup udp dataurisrc sdp srtp faad mpegpsdemux<br>
> mpegtsdemux a52dec amrnb amrwbdec asf mad mpeg2dec realmedia x264<br>
> lame libav rtmp<br>
<br>
</span>I think the problematic plugin was androidmedia then, as expected.<br>
Without this one you won't have support for the (hardware) codecs that<br>
are available on the device and it would be good to understand why<br>
exactly it's failing.<br>
<span class=""><br>
> Now the call to System.loadLibrary("gstreamer_android"); returns and<br>
> the app start to execute other methods, but now there is another<br>
> error and I don't know how to debug it. Can you help me?<br>
><br>
> The error is: <br>
> <a href="tel:01-11%2022" value="+39011122">01-11 22</a>:35:00.660 28430-28527/it.boot.meteo A/libc: Fatal signal 11<br>
> (SIGSEGV) at 0x00000024 (code=1)<br>
<br>
</span>You'll have to enable GStreamer debug output to get more useful<br>
information about what goes wrong there, but as before there are also<br>
lots of SIGPIPE happening here.<br>
<br>
I think you a) need to enable more GStreamer debug output and b) run<br>
this in a debugger to see where exactly it's crashing.<br>
<div class="HOEnZb"><div class="h5"><br>
--<br>
Sebastian Dröge, Centricular Ltd · <a href="http://www.centricular.com" rel="noreferrer" target="_blank">http://www.centricular.com</a><br>
<br>
</div></div><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" rel="noreferrer" target="_blank">http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a><br>
<br></blockquote></div><br></div></div></div></div></div></div>