playibin2/souphttpsrc hangs when opening a uri

sundararaj reel sundararaj.reel at googlemail.com
Thu Apr 7 09:05:21 PDT 2011


Hi all,

I create a playbin2 element. Change state to READY and set uri
property and change playbin2's state to PLAYING. I find my code hangs
here. Here is the GST_DEBUG=5 log:

... snipped ...
0:00:03.468747771  6768  0x9095cf0 INFO              GST_STATES
gstelement.c:2220:gst_element_continue_state:<source> continue state
change READY to PAUSED, final PAUSED
0:00:03.468769282  6768  0x9095cf0 LOG               GST_STATES
gstelement.c:2772:gst_element_change_state_func:<source> default
handler tries setting state from READY to PAUSED (0013)
0:00:03.468788349  6768  0x9095cf0 DEBUG       GST_ELEMENT_PADS
gstelement.c:2697:gst_element_pads_activate:<source> pads_activate
with active 1
0:00:03.468806926  6768  0x9095cf0 LOG          GST_REFCOUNTING
gstobject.c:297:gst_object_ref:<source> 0x92141a0 ref 4->5
0:00:03.468828926  6768  0x9095cf0 LOG          GST_REFCOUNTING
gstobject.c:297:gst_object_ref:<source:src> 0x9212810 ref 1->2
0:00:03.468848482  6768  0x9095cf0 DEBUG               GST_PADS
gstpad.c:678:gst_pad_set_active:<source:src> activating pad from none
0:00:03.468866571  6768  0x9095cf0 DEBUG               GST_PADS
gstpad.c:877:gst_pad_activate_push:<source:src> trying to set
activated in push mode
0:00:03.468885638  6768  0x9095cf0 DEBUG               GST_PADS
gstpad.c:897:gst_pad_activate_push:<source:src> activating pad from
none
0:00:03.468903238  6768  0x9095cf0 DEBUG               GST_PADS
gstpad.c:601:pre_activate:<source:src> setting ACTIVATE_MODE 1, unset
flushing
0:00:03.468922793  6768  0x9095cf0 DEBUG                basesrc
gstbasesrc.c:2869:gst_base_src_activate_push:<source> Activating in
push mode
0:00:03.468939415  6768  0x9095cf0 DEBUG                basesrc
gstbasesrc.c:2637:gst_base_src_start:<source> starting source
0:00:03.470878838  6768  0x9095cf0 DEBUG            souphttpsrc
gstsouphttpsrc.c:1221:gst_soup_http_src_start:<source>
start("http://XXX.XXX.XXX.XXX:XXX")
====> STOPS here <=====


If uri is not a stream, for example a local file, then playback is fine.




If I use gst-launch playbin2 uri=<URL> then playback is okay, except
for an error (displayed 3 times)

GConf Error: Failed to contact configuration server; some possible
causes are that you need to enable TCP/IP networking for ORBit, or you
have stale NFS locks due to a system crash. See
http://projects.gnome.org/gconf/ for information. (Details -  1:
Failed to get connection to session: /bin/dbus-launch terminated
abnormally with the following error: No protocol specified
Autolaunch error: X11 initialization failed.
)


Any hints on what is going wrong?

-- 
Thanks,
Sundararaj


More information about the gstreamer-devel mailing list