android rtsp & h264 client SIGFPE

James Nute newten82 at gmail.com
Tue Dec 16 16:20:48 PST 2014


I'm trying to modify android tutorial #3 (congo 2013.6 SDK) to play an rtsp
stream pipeline but I keep crashing when I press play in the app..

12-16 18:55:14.038: W/GStreamer+rtph264depay(10182): 0:00:02.062668043
0x7c7d1200
gstrtph264depay.c:298:gst_rtp_h264_depay_negotiate:<rtph264depay0>
overriding property setting based on caps
12-16 18:55:14.083: W/GStreamer+codecparsers_h264(10182): 0:00:02.108722834
0x7c7d1200 gsth264parser.c:1681:gst_h264_parse_pps failed to read SE
12-16 18:55:14.083: W/GStreamer+codecparsers_h264(10182): 0:00:02.108870001
0x7c7d1200 gsth264parser.c:1688:gst_h264_parse_pps error parsing "Picture
parameter set"
12-16 18:55:14.083: W/GStreamer+h264parse(10182): 0:00:02.108994709
0x7c7d1200 gsth264parse.c:491:gst_h264_parse_process_nal:<h264parse0>
failed to parse PPS:
12-16 18:55:14.083: W/GStreamer+codecparsers_h264(10182): 0:00:02.109859834
0x7c7d1200 gsth264parser.c:1759:gst_h264_parser_parse_slice_hdr couldn't
find associated picture parameter set with id: 0
12-16 18:55:14.128: A/libc(10182): Fatal signal 8 (SIGFPE) at 0x000027c6
(code=-6), thread 10342 (eglglessink-ren)

On my dev linux box I can run the following pipeline and display the stream
with out any trouble:
gst-launch-0.10 -v rtspsrc location=rtsp://
192.168.1.150/unicast/h264:video_stream_1.ini ! rtph264depay ! decodebin2 !
autovideosink sync=false

My goal was to duplicate on Android.
I only modified the android tutorial #3 from:
data->pipeline = gst_parse_launch("videotestsrc ! warptv ! ffmpegcolorspace
! autovideosink", &error);

to:
data->pipeline = gst_parse_launch("rtspsrc location=rtsp://
192.168.1.150/unicast/h264:video_stream_1.ini rtph264depay ! decodebin2 !
autovideosink", &error);

and also modified the Android.mk to include the extra plugin deps
GSTREAMER_PLUGINS         := $(GSTREAMER_PLUGINS_CORE)
$(GSTREAMER_PLUGINS_SYS) $(GSTREAMER_PLUGINS_PLAYBACK)
$(GSTREAMER_PLUGINS_CODECS) $(GSTREAMER_PLUGINS_EFFECTS) rtsp rtp
uridecodebin udp ffmpeg mpegtsmux

I can see the activity light on the IP camera is active so I know something
is streaming when I press play. Just not sure what is causing the floating
point exception.

Thanks for your help.
James Nute
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-android/attachments/20141216/533c87e9/attachment.html>


More information about the gstreamer-android mailing list