[gstreamer-bugs] [Bug 636967] New: [rtspsrc] can't connect to camera

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Fri Dec 10 06:50:07 PST 2010


https://bugzilla.gnome.org/show_bug.cgi?id=636967
  GStreamer | gst-plugins-good | 0.10.26

           Summary: [rtspsrc] can't connect to camera
    Classification: Desktop
           Product: GStreamer
           Version: 0.10.26
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: gst-plugins-good
        AssignedTo: gstreamer-bugs at lists.sourceforge.net
        ReportedBy: ikt011 at gmail.com
         QAContact: gstreamer-bugs at lists.sourceforge.net
      GNOME target: ---
     GNOME version: ---


Hi,

I have a SANYO network camera, and I can't open the live stream with gstreamer.
It isn't any problem with vlc and mplayer, but from gst command line or with
totem it doesn't work.

The error message is some kind of negotiation error. My pipeline is very basic:
gst-launch rtspsrc location="..." ! fakesink sync=true

The running with GST_DEBUG=rtspsrc*:4 said (copied only the last few line):

0:00:00.872411917 25571  0x9140a10 DEBUG                rtspsrc
gstrtspsrc.c:2096:pad_blocked:<rtspsrc0> pad udpsrc0:src blocked, activating
streams
0:00:00.872451887 25571  0x9140a10 DEBUG                rtspsrc
gstrtspsrc.c:3004:gst_rtspsrc_activate_streams:<rtspsrc0> activating streams
0:00:00.872477225 25571  0x9140a10 DEBUG                rtspsrc
gstrtspsrc.c:3038:gst_rtspsrc_activate_streams:<rtspsrc0> unblocking stream pad
0x912d500
0:00:00.872488089 25571  0x9140a10 DEBUG                rtspsrc
gstrtspsrc.c:2089:pad_unblocked:<rtspsrc0> pad udpsrc0:src unblocked
0:00:00.873733965 25571  0x9140a10 DEBUG                rtspsrc
gstrtspsrc.c:2197:request_pt_map:<rtspsrc0> getting pt map for pt 100 in
session 0
0:00:00.873775221 25571  0x9140a10 DEBUG                rtspsrc
gstrtspsrc.c:2197:request_pt_map:<rtspsrc0> getting pt map for pt 111 in
session 0
0:00:00.874099873 25571  0x915b780 DEBUG                rtspsrc
gstrtspsrc.c:2129:new_session_pad:<rtspsrc0> got new session pad
<rtpbin0:recv_rtp_src_0_916666413_111>
0:00:00.874202344 25571  0x915b780 DEBUG                rtspsrc
gstrtspsrc.c:2137:new_session_pad:<rtspsrc0> stream: 0, SSRC 916666413, PT 111
0:00:00.874524741 25571  0x915b780 DEBUG                rtspsrc
gstrtspsrc.c:2161:new_session_pad:<rtspsrc0> stream 0x912d500, container 0,
disabled 0, added 1
0:00:00.874581427 25571  0x915b780 DEBUG                rtspsrc
gstrtspsrc.c:2161:new_session_pad:<rtspsrc0> stream 0x9139df8, container 0,
disabled 0, added 0
WARNING: from element /GstPipeline:pipeline0/GstFakeSink:fakesink0: Internal
data flow problem.
Additional debug info:
gstbasesink.c(3446): gst_base_sink_chain_unlocked ():
/GstPipeline:pipeline0/GstFakeSink:fakesink0:
Received buffer without a new-segment. Assuming timestamps start from 0.
0:00:00.876290079 25571  0x913cbc8 DEBUG                rtspsrc
gstrtspsrc.c:1991:gst_rtspsrc_handle_src_query:<rtspsrc0> pad
rtspsrc0:recv_rtp_src_0_916666413_111 received query latency
0:00:00.876448753 25571  0x913cbc8 DEBUG                rtspsrc
gstrtspsrc.c:1875:gst_rtspsrc_handle_src_event:<rtspsrc0> pad
rtspsrc0:recv_rtp_src_0_916666413_111 received event latency
0:00:02.872857920 25571  0x915b780 DEBUG                rtspsrc
gstrtspsrc.c:2129:new_session_pad:<rtspsrc0> got new session pad
<rtpbin0:recv_rtp_src_0_916666413_100>
0:00:02.872891925 25571  0x915b780 DEBUG                rtspsrc
gstrtspsrc.c:2137:new_session_pad:<rtspsrc0> stream: 0, SSRC 916666413, PT 100
0:00:02.872983894 25571  0x915b780 DEBUG                rtspsrc
gstrtspsrc.c:2161:new_session_pad:<rtspsrc0> stream 0x912d500, container 0,
disabled 0, added 1
0:00:02.872995240 25571  0x915b780 DEBUG                rtspsrc
gstrtspsrc.c:2161:new_session_pad:<rtspsrc0> stream 0x9139df8, container 0,
disabled 0, added 0
0:00:02.873853281 25571  0x9140a10 DEBUG                rtspsrc
gstrtspsrc.c:6060:gst_rtspsrc_handle_message:<rtspsrc0> got error from udpsrc0
0:00:02.873868277 25571  0x9140a10 DEBUG                rtspsrc
gstrtspsrc.c:6074:gst_rtspsrc_handle_message:<rtspsrc0> combined flows:
not-linked
ERROR: from element
/GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0/GstUDPSrc:udpsrc0: Internal data
flow error.
Additional debug info:
gstbasesrc.c(2563): gst_base_src_loop ():
/GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0/GstUDPSrc:udpsrc0:
streaming task paused, reason not-linked (-1)
Execution ended after 2709004271 ns.
Setting pipeline to PAUSED ...

The full log with -v is here:
http://pastebin.com/ZdShuFnP

The full log with gst-debug=3,rtspsrc*:4 is here:
http://pastebin.com/YwnHpNEs

And the rtsp messages are here:
http://pastebin.com/a1Cgcwkq

Regards,
Tibor

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.




More information about the Gstreamer-bugs mailing list