[gst-devel] RTSP playback failing under ARM

Chris Winter elwintro at gmail.com
Thu Apr 30 20:34:57 CEST 2009


Hi guys,

I'm trying to decode an RTSP stream from m.youtube.com on an
openembedded-based ARM system, and, from what I can tell,
there seems to be an issue with linking the RTP depayloaders
in the pipeline (I'm using gst-launch), which ultimately results in
an "Internal data flow error" from one of the udpsrc elements
within the pipeline. I can see that the RTP packets are being
received on the network interface, but the pipeline is not
processing them.

Here are the specifics of my embedded setup:

TI OMAP3530 Cortex-A8 CPU
Linux kernel version 2.6.22.18
CodeSourcery's 2007q3 gnueabi cross-compiler toolchain (GCC 4.2.1)
All Gstreamer sources are being pulled and built directly from git as
of yesterday

I have built Gstreamer from git on a Fedora 10 desktop, and I am
able to play rtsp streams from m.youtube.com perfectly, so
my suspicion is that I've encountered a problem which is specific
to ARM, or my embedded platform's build of Gstreamer (or something
else) is wonky.

Here is the gst-launch command I used on both my embedded
platform and my Fedora 10 desktop:

GST_DEBUG=*:3,rtp*:5,rtsp*:5 gst-launch rtspsrc
location="rtsp://ewan.rtsp-youtube.l.google.com/CkELENy73wIaOAkNHBGWSDl4oBMYESARFEIJbXYtZ29vZ2xlSARSBXdhdGNoWglDbGlja0xpbmtgqqug0Nj3uroLDA==/0/0/0/video.3gp"
name=d d. ! rtpmp4adepay ! fakesink d. ! rtpmp4vdepay ! fakesink

The stream I'm trying to play is known, a priori, to be MPEG-4 SP/
AAC encoded, but I have removed the codecs from my pipeline to
help narrow down the issue (I see the same problem whether the
codecs are included or not).

I have attached the GST_DEBUG output from the above gst-launch
command running on my ARM platform, but included below is a
snippet which seems to me to be most relevant.

Any thoughts or suggestions would be most appreciated.

--
Chris


0:00:08.546630859  1482   0x11df88 DEBUG           rtpptdemux
gstrtpptdemux.c:319:gst_rtp_pt_demux_chain:<rtpptdemux1> received
buffer for pt 97
0:00:08.547332763  1482   0x11df88 DEBUG               rtpbin
gstrtpbin.c:1859:pt_map_requested:<rtpbin0> payload map requested for
pt 97 in session 1
0:00:08.547546386  1482   0x11df88 DEBUG               rtpbin
gstrtpbin.c:621:get_pt_map: searching pt 97 in cache
0:00:08.547729492  1482   0x11df88 DEBUG           rtpptdemux
gstrtpptdemux.c:281:gst_rtp_pt_demux_get_caps: pt 97, got caps
application/x-rtp, media=(string)audio, payload=(int)96,
clock-rate=(int)22050, encoding-name=(string)MP4A-LATM,
encoding-params=(string)1, profile-level-id=(string)40,
cpresent=(string)0, config=(string)400027103fc0,
clock-base=(guint)392225275, seqnum-base=(guint)9730,
npt-start=(guint64)0, npt-stop=(guint64)212916000366,
play-speed=(double)1,
play-scale=(double)1c:641:gst_element_add_pad:<rtpptdemux1> adding pad
'src_97'
0:00:08.549102783  1482   0x11df88 DEBUG           rtpptdemux
gstrtpptdemux.c:356:gst_rtp_pt_demux_chain: emitting new-payload-type
for pt 97
0:00:08.549316406  1482   0x11df88 DEBUG               rtpbin
gstrtpbin.c:1823:new_payload_found: new payload pad 97
0:00:08.550781250  1482   0x11df88 INFO              GST_PADS
gstpad.c:1849:gst_pad_link_prepare: trying to link rtpptdemux1:src_97
and recv_rtp_src_1_1416963488_97:proxypad8
0:00:08.551300048  1482   0x11df88 INFO              GST_PADS
gstpad.c:2022:gst_pad_link: linked rtpptdemux1:src_97 and
recv_rtp_src_1_1416963488_97:proxypad8, successful
0:00:08.551757812  1482   0x11df88 INFO      GST_ELEMENT_PADS
gstelement.c:641:gst_element_add_pad:<rtpbin0> adding pad
'recv_rtp_src_1_1416963488_97'
0:00:08.551971435  1482   0x11df88 DEBUG              rtspsrc
gstrtspsrc.c:1740:new_session_pad:<d> got new session pad
<rtpbin0:recv_rtp_src_1_1416963488_97>
0:00:08.552368164  1482   0x11df88 DEBUG              rtspsrc
gstrtspsrc.c:1748:new_session_pad:<d> stream: 1, SSRC 1416963488, PT
97
0:00:08.567047119  1482   0x11df88 INFO              GST_PADS
gstpad.c:1849:gst_pad_link_prepare: trying to link
rtpbin0:recv_rtp_src_1_1416963488_97 and
recv_rtp_src_1_1416963488_97:proxypad9
0:00:08.567901611  1482   0x11df88 INFO              GST_PADS
gstpad.c:2022:gst_pad_link: linked
rtpbin0:recv_rtp_src_1_1416963488_97 and
recv_rtp_src_1_1416963488_97:proxypad9, successful
0:00:08.568298339  1482   0x11df88 INFO      GST_ELEMENT_PADS
gstelement.c:641:gst_element_add_pad:<d> adding pad
'recv_rtp_src_1_1416963488_97'
0:00:08.568511963  1482   0x11df88 INFO          GST_PIPELINE
./grammar.y:405:gst_parse_found_pad: trying delayed linking d:(NULL)
to rtpmp4vdepay0:(NULL)
0:00:08.568664550  1482   0x11df88 INFO      GST_ELEMENT_PADS
gstutils.c:1338:gst_element_link_pads: trying to link element d:(any)
to element rtpmp4vdepay0:(any)
0:00:08.568878173  1482   0x11df88 INFO              GST_PADS
gstutils.c:792:gst_pad_check_link: trying to link
d:recv_rtp_src_1_1416963488_97 and rtpmp4vdepay0:sink
0:00:08.571655273  1482   0x11df88 INFO      GST_ELEMENT_PADS
gstutils.c:959:gst_element_get_compatible_pad:<rtpmp4vdepay0> Could
not find a compatible pad to link to d:recv_rtp_src_1_1416963488_97
0:00:08.571899414  1482   0x11df88 INFO              GST_PADS
gstutils.c:792:gst_pad_check_link: trying to link rtpmp4vdepay0:sink
and d:recv_rtp_src_1_1416963488_97
0:00:08.572021484  1482   0x11df88 INFO              GST_PADS
gstutils.c:807:gst_pad_check_link: Src pad rtpmp4vdepay0:sink is not
source pad, failed
0:00:08.572662353  1482   0x11df88 INFO      GST_ELEMENT_PADS
gstelement.c:884:gst_element_get_static_pad: no such pad 'stream%d' in
element "d"
0:00:08.572845459  1482   0x11df88 INFO      GST_ELEMENT_PADS
gstutils.c:959:gst_element_get_compatible_pad:<d> Could not find a
compatible pad to link to rtpmp4vdepay0:sink
0:00:08.573059082  1482   0x11df88 DEBUG              rtspsrc
gstrtspsrc.c:1773:new_session_pad:<d> stream 0xed080, container 0,
disabled 0, added 0
0:00:08.573242187  1482   0x11df88 DEBUG           rtpptdemux
gstrtpptdemux.c:368:gst_rtp_pt_demux_chain: emitting
payload-type-changed for pt 97
0:00:08.574462890  1482   0x10f538 DEBUG           rtpsession
gstrtpsession.c:1471:gst_rtp_session_chain_recv_rtp:<rtpsession1>
process returned not-linked
0:00:08.574676513  1482   0x10f538 INFO               basesrc
gstbasesrc.c:2282:gst_base_src_loop:<udpsrc4> pausing after
gst_pad_push() = not-linked
0:00:08.574951172  1482   0x10f538 WARN               basesrc
gstbasesrc.c:2334:gst_base_src_loop:<udpsrc4> error: Internal data
flow error.
0:00:08.575073242  1482   0x10f538 WARN               basesrc
gstbasesrc.c:2334:gst_base_src_loop:<udpsrc4> error: streaming task
paused, reason not-linked (-1)
0:00:08.575408935  1482   0x10f538 INFO      GST_ERROR_SYSTEM
gstelement.c:1677:gst_element_message_full:<udpsrc4> posting message:
Internal data flow error.
0:00:08.575805664  1482   0x10f538 DEBUG              rtspsrc
gstrtspsrc.c:5133:gst_rtspsrc_handle_message:<d> got error from
udpsrc4
0:00:08.575958252  1482   0x10f538 DEBUG              rtspsrc
gstrtspsrc.c:5147:gst_rtspsrc_handle_message:<d> combined flows: ok
0:00:08.576141357  1482   0x10f538 INFO      GST_ERROR_SYSTEM
gstelement.c:1700:gst_element_message_full:<udpsrc4> posted error
message: Internal data flow error.
0:00:08.576354980  1482   0x10f538 DEBUG           rtpsession
gstrtpsession.c:1333:gst_rtp_session_event_recv_rtp_sink:<rtpsession1>
received event eos
-------------- next part --------------
A non-text attachment was scrubbed...
Name: rtsp_arm.txt.gz
Type: application/x-gzip
Size: 98392 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20090430/40cac6ce/attachment.bin>


More information about the gstreamer-devel mailing list