Live stream using rtspsrc issue.

rakeshgsharmag rakeshgsharmag at gmail.com
Wed Aug 30 07:40:30 UTC 2017


I have written an application & UI for capturing data from live ip based
cameras.
After some time doing start and stop suddenly from some stream shows error
and could not go into playing state.

Now the problem is if I run pipeline manually from some other terminal also
it through rtsp resource error untill I close my application.

In case of error I should be able to start it again but it does not happen
until application is close and start again.
I am closing pipeline properly and releasing all the resources.

Let me know how I can resolve this problem.

Error : 
[trd:0x7f4ed5077700][app:0x55f2a4b68100][cam:1]: request = SETUP stream 0 :
my_bus_callback:173

Failed to go into PLAYING state

[trd:0x7f4ed5077700][app:0x55f2a4b68100][cam:1]: Running failed :
start_connection:315

[trd:0x7f4ed5077700][app:0x55f2a4b68100][cam:1]: Change Source to PAUSED
state : stop_camera:343
ERROR from element rtsp-source: Could not write to resource.
Debugging info: gstrtspsrc.c(6408): gst_rtspsrc_setup_streams ():
/GstPipeline:capturepipeline/GstRTSPSrc:rtsp-source:
Error (500): Internal Server Error

[trd:0x7f4ed5077700][app:0x55f2a4b68100][cam:1]: GST_PROGRESS_TYPE_ERROR =
Progress Message : my_bus_callback:168

[trd:0x7f4ed5077700][app:0x55f2a4b68100][cam:1]: open = Open failed :
my_bus_callback:173

[trd:0x7f4ed5077700][app:0x55f2a4b68100][cam:1]: GST_PROGRESS_TYPE_ERROR =
Progress Message : my_bus_callback:168

[trd:0x7f4ed5077700][app:0x55f2a4b68100][cam:1]: request = PLAY failed :
my_bus_callback:173

[trd:0x7f4ed5077700][app:0x55f2a4b68100][cam:1]: Change Source to READY
state : stop_camera:351

[trd:0x7f4ed5077700][app:0x55f2a4b68100][cam:1]: request = Sending PAUSE
request : my_bus_callback:173

[trd:0x7f4ed5077700][app:0x55f2a4b68100][cam:1]: GST_PROGRESS_TYPE_ERROR =
Progress Message : my_bus_callback:168

[trd:0x7f4ed5077700][app:0x55f2a4b68100][cam:1]: request = PAUSE failed :
my_bus_callback:173

[trd:0x7f4ed5077700][app:0x55f2a4b68100][cam:1]: close = Closing Stream :
my_bus_callback:173

[trd:0x7f4ed5077700][app:0x55f2a4b68100][cam:1]: Change Source to NULL state
: stop_camera:359

[trd:0x7f4ed5077700][app:0x55f2a4b68100][cam:1]: GST_PROGRESS_TYPE_CANCELED
= Progress Message : my_bus_callback:165

[trd:0x7f4ed5077700][app:0x55f2a4b68100][cam:1]: close = Close canceled :
my_bus_callback:173

[trd:0x7f4ed5077700][app:0x55f2a4b68100][cam:1]: Change Pipeline to PAUSED
state : stop_camera:366

[trd:0x7f4ed5077700][app:0x55f2a4b68100][cam:1]: Change Pipeline to READY
state : stop_camera:374

[trd:0x7f4ed5077700][app:0x55f2a4b68100][cam:1]: open = Opening Stream :
my_bus_callback:173

[trd:0x7f4ed5077700][app:0x55f2a4b68100][cam:1]: connect = Connecting to
rtsp://172.16.16.101/ : my_bus_callback:173
** Message: received STREAM_STATUS
** Message: type:   2
** Message: source:
/GstPipeline:capturepipeline/GstSplitMuxSink:SQsplitmuxsink/GstMultiQueue:multiqueue.GstPad:src_0
** Message: owner: 
/GstPipeline:capturepipeline/GstSplitMuxSink:SQsplitmuxsink/GstMultiQueue:multiqueue
** Message: object: type GstTask, value 0x7f4f2402a5f0
** Message: joining Ipcam pool 0x7f4f04036c40
** Message: received STREAM_STATUS
** Message: type:   2
** Message: source:
/GstPipeline:capturepipeline/GstQueue:videoen-queue.GstPad:src
** Message: owner:  /GstPipeline:capturepipeline/GstQueue:videoen-queue
** Message: object: type GstTask, value 0x7f4f2402aa70
** Message: joining Ipcam pool 0x7f4f04036c40
** Message: received STREAM_STATUS
** Message: type:   2
** Message: source:
/GstPipeline:capturepipeline/GstQueue:videode-queue.GstPad:src
** Message: owner:  /GstPipeline:capturepipeline/GstQueue:videode-queue
** Message: object: type GstTask, value 0x7f4f0404f830
** Message: joining Ipcam pool 0x7f4f04036c40
** Message: received STREAM_STATUS
** Message: type:   2
** Message: source:
/GstPipeline:capturepipeline/GstQueue:video-queue.GstPad:src
** Message: owner:  /GstPipeline:capturepipeline/GstQueue:video-queue
** Message: object: type GstTask, value 0x7f4f0404f710
** Message: joining Ipcam pool 0x7f4f04036c40

[trd:0x7f4ed5077700][app:0x55f2a4b68100][cam:1]: close = Closing Stream :
my_bus_callback:173

[trd:0x7f4ed5077700][app:0x55f2a4b68100][cam:1]: Change Pipeline to NULL
state : stop_camera:382

[trd:0x7f4ed5077700][app:0x55f2a4b68100][cam:1]: GST_PROGRESS_TYPE_CANCELED
= Progress Message : my_bus_callback:165

[trd:0x7f4ed5077700][app:0x55f2a4b68100][cam:1]: close = Close canceled :
my_bus_callback:173
ERROR from element rtsp-source: Could not open resource for reading and
writing.

[trd:0x7f4ed5077700][app:0x55f2a4b68100][cam:1]: Close Loop :
stop_camera:393
Debugging info: gstrtspsrc.c(6842): gst_rtspsrc_retrieve_sdp ():
/GstPipeline:capturepipeline/GstRTSPSrc:rtsp-source:
Failed to connect. (Generic error)

[trd:0x7f4ed5077700][app:0x55f2a4b68100][cam:1]:  Unref Loop  :
stop_camera:395

[trd:0x7f4ed5077700][app:0x55f2a4b68100][cam:1]:  Remove Bus :
stop_camera:399

[trd:0x7f4ed5077700][app:0x55f2a4b68100][cam:1]: Unref Pipeline :
stop_camera:406

[trd:0x7f4ed5077700][app:0x55f2a4b68100][cam:1]: Total running time =
0.000000 : stop_camera:416

[trd:0x7f4ed5077700][app:0x55f2a4b68100][cam:1]:  Set Running = 0.000000 :
stop_camera:421




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


More information about the gstreamer-devel mailing list