gstvaapi and refused connection error rtspclientsink

larry_b_84 laurence.broadbent at gmail.com
Thu Jun 18 22:55:56 UTC 2020


Hi

I am trying to do something relatively simple - I hope. 

I am running on a raspberry pi and using the latest version of gstreamer.

My initial task I was trying to do was to create an RTSP 'repeater' using
gst-launch-1.0 rtspsrc rtspsrc location=rtsp://192.168.0.102:5540/ch0 !
rtspclientsink location=rtsp://127.0.0.1: 8554/test . 

However I keep getting the error message: 

ERROR: from element
/GstPipeline:pipeline0/GstRTSPClientSink:rtspclientsink0: Could not open
resource for reading and writing.

(Any comments on the above pipeline would be appreciated.)

So I have tried to change the pipeline to something that I know should work.
However I appear to have two issues gstvaapi wont work for obvious reasons
(arm processor) and secondly I'm getting a connection refused error. I have
pasted the error below. 

Many thanks

Laurence 

GST_DEBUG=2 gst-launch-1.0 videotestsrc ! queue ! x264enc ! rtspclientsink
location=rtsp://127.0.0.1:
8554/test
0:00:00.023146709  1982  0x1d87e00 ERROR                default
gstvaapi.c:254:plugin_init: Cannot create a VA display
Setting pipeline to PAUSED ...
Pipeline is PREROLLED ...
Progress: (open) Opening Stream
Progress: (connect) Connecting to rtsp://127.0.0.1:8554/test
Redistribute latency...
0:00:00.407364806  1981   0xad20f0 ERROR                default
gstrtspconnection.c:1006:gst_rtsp_connection_connect_with_response: failed
to connect: Could not connect to 127.0.0.1: Connection refused
0:00:00.407785998  1981   0xad20f0 ERROR         rtspclientsink
gstrtspclientsink.c:1992:gst_rtsp_conninfo_connect:<rtspclientsink0> Could
not connect to server. (Generic error)
0:00:00.407964753  1981   0xad20f0 WARN          rtspclientsink
gstrtspclientsink.c:3207:gst_rtsp_client_sink_connect_to_server:<rtspclientsink0>
error: Failed to connect. (Generic error)
0:00:00.409356012  1981   0xad20f0 WARN          rtspclientsink
gstrtspclientsink.c:3272:gst_rtsp_client_sink_open:<rtspclientsink0> Failed
to connect to server
ERROR: from element
/GstPipeline:pipeline0/GstRTSPClientSink:rtspclientsink0: Could not open
resource for reading and writing.
Additional debug info:
gstrtspclientsink.c(3207): gst_rtsp_client_sink_connect_to_server ():
/GstPipeline:pipeline0/GstRTSPClientSink:rtspclientsink0:
Failed to connect. (Generic error)
ERROR: pipeline doesn't want to preroll.
Setting pipeline to PAUSED ...
Setting pipeline to READY ...
Setting pipeline to NULL ...
Freeing pipeline ...



--
Sent from: http://gstreamer-devel.966125.n4.nabble.com/


More information about the gstreamer-devel mailing list