Solving rtspsrc connectivity

Sergio Basurco sergio.b at coherentsynchro.com
Thu Mar 12 02:50:18 PDT 2015


Hi Tim,

This seems to be the same issue as 
https://bugzilla.gnome.org/show_bug.cgi?id=736760, should I put this 
info there?

This is from the Gstreamer Zerano build, from March 12th, 2015:

$ gst-launch-1.0.exe --version
gst-launch-1.0 version 1.5.0
GStreamer 1.5.0 (GIT)
Unknown package origin


$ ./gst-launch-1.0.exe rtspsrc --gst-debug-level=3 location="rtsp:/
/192.168.1.8/rtsp_tunnel?h26x=4&line=1&inst=1" ! decodebin ! autovideosink

WARNING: no real random source present!
Setting pipeline to PAUSED ...
Pipeline is live and does not need PREROLL ...
Progress: (open) Opening Stream
Progress: (connect) Connecting to 
rtsp://192.168.1.8/rtsp_tunnel?h26x=4&line=1&i
nst=1
Progress: (open) Retrieving server options
Progress: (open) Retrieving media info
Progress: (request) SETUP stream 0
Progress: (open) Opened Stream
Setting pipeline to PLAYING ...
New clock: GstSyste0m:C0l0o:c0k0
48182P6r6o2g5r ess:  9(7r3e6ques t )  0S9e2n8dEi5n8g0  PLAYF IrXeMqEu e s t
             P rdoegfraeuslst:  g(srteuqtuielsst.)c :S3e7n0d9i:nggs 
tP_LpAaYd _rc
erqeuaetset_
tream_idP_riongtreersnsa:l :(<rfeaqkueessrtc)0 :Ssernct> PLA YC 
rreeaqtuiensgt
andom stream-id, consider implementing a deterministic way of creating a 
stream-
id
0:00:00.492501753  9736   0928E5A8 WARN                  udpsrc 
gstudpsrc.c:650:
gst_udpsrc_create:<udpsrc0> error: receive error -1: Error receiving 
message: An
  existing connection was forcibly closed by the remote host.
0:00:00.499083415 ERROR: from element 
/GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0
/GstUDPSrc:udpsrc0: Could not read from resource.
  9736Additional debug info:
gstudpsrc.c(650): gst_udpsrc_create (): 
/GstPipeline:pipeline0/GstRTSPSrc:rtspsr
c0/GstUDPSrc:udpsrc0:
receive error -1: Error receiving message: An existing connection was 
forcibly c
losed by the remote host.
    0E9x2e8cEu5tAi8o n enWdAeRdN  a f t er 0 : 0 0 : 0 0 . 0 2 9 2 5 
4b9a5s1e
rc gSsettbtaisnegs rpci.pce:l2i9n4e3 :tgos tP_AbUaSsEeD_ s.r.c._
oop:<udpsrc0> error: Internal data flow error.
0:00:00.515551757  9736   0928E5A8 WARN                 basesrc 
gstbasesrc.c:294
3:gst_base_src_loop:<udpsrc0> error: streaming task paused, reason error 
(-5)
Setting pipeline to READY ...
Setting pipeline to NULL ...
0:00:00.522410523  9736   0928F9E0 WARN            d3dvideosink 
d3dhelpers.c:109
7:d3d_set_window_handle:<autovideosink0-actual-sink-d3dvideo> Window 
HWND alread
y set to: 0
0:00:00.532482543  9736   02DEA5B0 WARN                 rtspsrc 
gstrtspsrc.c:566
4:gst_rtspsrc_try_send:<rtspsrc0> receive interrupted
0:00:00.536554576  9736   02DEA5B0 WARN                 rtspsrc 
gstrtspsrc.c:725
5:gst_rtspsrc_close:<rtspsrc0> TEARDOWN interrupted
Freeing pipeline ...


El 10-Mar-15 a las 11:09 AM, Tim Müller escribió:
> On Tue, 2015-03-10 at 10:45 +0100, Sergio Basurco wrote:
>
>> 0:00:00.349627706 Additional debug info:
>> gstudpsrc.c(548): gst_udpsrc_create ():
>> /GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0/GstUDPSrc:udpsrc1:
>> get available bytes failed
>>    8464   07E47438 WARN    Execution ended after 0:00:00.002203245
>>                basesrc gstbasesrc.c:2865:gst_base_src_loop:<udpsrc1>
>> error: streaming task paused, reason error (-5)
>
> For what it's worth, we don't use get_available_bytes() any more in git
> master, so you could try building from git (or backport the patches) to
> see if it works better without.
>
>   Cheers
>    -Tim
>

-- 
Sergio Basurco,
Coherent Synchro


More information about the gstreamer-devel mailing list