Impossible to play a rtsp stream

Dominik Schröder dominik.schroeder at bh-elektronik.de
Mon Jul 16 04:57:34 PDT 2012


Hello

 

After much time trying to get gstreamer working on a Marvell PXA168 SoC I
had success (post on gstreamer-embedded list). The problem was a wrong
configured glib.

At the moment, I can play a local stored mpeg4 .avi file. The problem is to
play a rtsp stream.

If I try: gst-launch -v rtspsrc location=rtsp://172.16.10.151:5544/cif !
qtdemux name=t ! queue ! h264dec ! fastoverlaysink t.

I get the following error output:

 

set up. fb_vinfo.xres=1024, fb_vinfo.yres=768

Setting pipeline to PAUSED ...

/GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0/GstRTPDec:rtpdec0: latency = 3000

/GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0/GstUDPSrc:udpsrc0: timeout =
5000000

/GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0/GstUDPSrc:udpsrc3: timeout =
5000000

Pipeline is live and does not need PREROLL ...

Setting pipeline to PLAYING ...

/GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0/GstUDPSrc:udpsrc0: timeout = 0

/GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0/GstUDPSrc:udpsrc3: timeout = 0

/GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0.GstGhostPad:recv_rtp_src_0_804805
146_96: caps = application/x-rtp, media=(string)audio, payload=(int)96,
clock-rate=(int)44100, encoding-name=(string)MPEG4-GENERIC,
encoding-params=(string)2, streamtype=(string)5,
profile-level-id=(string)15, mode=(string)AAC-hbr, config=(string)1210,
sizelength=(string)13, indexlength=(string)3, indexdeltalength=(string)3,
profile=(string)1, clock-base=(guint)93719075, seqnum-base=(guint)2426,
npt-start=(guint64)0, play-speed=(double)1, play-scale=(double)1

/GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0.GstGhostPad:recv_rtp_src_0_804805
146_96.GstProxyPad:proxypad0: caps = application/x-rtp, media=(string)audio,
payload=(int)96, clock-rate=(int)44100, encoding-name=(string)MPEG4-GENERIC,
encoding-params=(string)2, streamtype=(string)5,
profile-level-id=(string)15, mode=(string)AAC-hbr, config=(string)1210,
sizelength=(string)13, indexlength=(string)3, indexdeltalength=(string)3,
profile=(string)1, clock-base=(guint)93719075, seqnum-base=(guint)2426,
npt-start=(guint64)0, play-speed=(double)1, play-scale=(double)1

New clock: GstSystemClock

/GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0.GstGhostPad:recv_rtp_src_1_374124
5092_97: caps = application/x-rtp, media=(string)video, payload=(int)97,
clock-rate=(int)90000, encoding-name=(string)H264,
packetization-mode=(string)1, profile-level-id=(string)42c015,
sprop-parameter-sets=(string)\"Z0LAFZJEBQE/ywgAAB9IAAXcAHixdQ\\=\\=\\,aM48gA
\\=\\=\", clock-base=(guint)103611026, seqnum-base=(guint)12174,
npt-start=(guint64)0, play-speed=(double)1, play-scale=(double)1

/GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0.GstGhostPad:recv_rtp_src_1_374124
5092_97.GstProxyPad:proxypad1: caps = application/x-rtp,
media=(string)video, payload=(int)97, clock-rate=(int)90000,
encoding-name=(string)H264, packetization-mode=(string)1,
profile-level-id=(string)42c015,
sprop-parameter-sets=(string)\"Z0LAFZJEBQE/ywgAAB9IAAXcAHixdQ\\=\\=\\,aM48gA
\\=\\=\", clock-base=(guint)103611026, seqnum-base=(guint)12174,
npt-start=(guint64)0, play-speed=(double)1, play-scale=(double)1

ERROR: from element
/GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0/GstUDPSrc:udpsrc3: Internal data
flow error.

Additional debug info:

gstbasesrc.c(2330): gst_base_src_loop ():
/GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0/GstUDPSrc:udpsrc3:

streaming task paused, reason not-linked (-1)

Execution ended after 19472924 ns.

Setting pipeline to PAUSED ...

Setting pipeline to READY ...

/GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0.GstGhostPad:recv_rtp_src_1_374124
5092_97: caps = NULL

/GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0.GstGhostPad:recv_rtp_src_0_804805
146_96: caps = NULL

/GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0.GstGhostPad:recv_rtp_src_1_374124
5092_97: caps = NULL

/GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0/GstRTPDec:rtpdec0.GstPad:recv_rtp
_src_1_3741245092_97: caps = NULL

/GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0.GstGhostPad:recv_rtp_src_0_804805
146_96: caps = NULL

/GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0/GstRTPDec:rtpdec0.GstPad:recv_rtp
_src_0_804805146_96: caps = NULL

Setting pipeline to NULL ...

....Thread exit =1 Overlay1VS->_is_error_set=0...

ov1_main_thread: Exiting overlaysink thread...

FREEING pipeline ...

------ FB display frame count = 0

 

I have gstreamer-0.10.22, gst-plugins-good-0.10.14 and gst-plugins-0.10.22
installed on my system.

Can anybody help me with this problem?

 

Thanks in advance and best regards

 

Dominik Schröder

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20120716/f100b418/attachment.html>


More information about the gstreamer-devel mailing list