Anyone used RTSP select-stream?

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Anyone used RTSP select-stream?

killerrats
Administrator
         | queue | rtph264depay | h264parse | tee ----------------------- |
rtspsrc                                                                                               [RECBIN]
         | queue | rtpjitterbuffer | rtpmp4gdepay | aacpars | faad |  tee |


RECBIN
---------
queue |
            mux | appsink
queue |


I'm trying to figure out how to use it. Each tee goes to one of the queue then each queue goes to mux.
Seldomly it will say this error below. I says each of the tee is joined to one of the queue's. I wondered if I use select-stream it would detect a problem in the select stream it would immediately quit the stream. Has anyone worked with this function? trying to reproduce is hard to do.

--------------
the problem occurs seldomly:

1:23:35.752675852   852   0E2A80A8 WARN                 rtspsrc gstrtspsrc.c:5483:gst_rtspsrc_loop:<source> error: Internal data
 flow error.

1:23:35.753399606   852   0E2A80A8 WARN                 rtspsrc gstrtspsrc.c:5483:gst_rtspsrc_loop:<source> error: streaming tas
k paused, reason not-linked (-1)
---------------
------------------------------
Gstreamer 1.16.2
------------------------------
Windows
Reply | Threaded
Open this post in threaded view
|

Re: Anyone used RTSP select-stream?

Gst-Geek
Are you checking for caps compatibility before linking ??

It looks like the linking not happening properly.

~ Vinod
Reply | Threaded
Open this post in threaded view
|

Re: Anyone used RTSP select-stream?

killerrats
Administrator
This post was updated on .
correction on pipeline:

         | queue | rtph264depay | h264parse | tee ------|
rtspsrc                                                                      [RECBIN]
         | queue | rtpmp4gdepay | aacpars | faad |  tee |


RECBIN
---------
queue |
            mux | appsink
queue |

the rtspsrc "pad-added" element signal i use to appropriately assign each side the caps. audio to the bottom and video to top. it will work for quit awhile but for some reason comes up seldom.

I use the ghost caps and the linking before running the pipeline.
------------------------------
Gstreamer 1.16.2
------------------------------
Windows
Reply | Threaded
Open this post in threaded view
|

Re: Anyone used RTSP select-stream?

killerrats
Administrator
I think i figured it out i set a property of rtspsrc -> tcp-timeout = 5000000 and i think that messed with it. I also put rtspsrc -> latency = 100 and seems to not do it anymore.
------------------------------
Gstreamer 1.16.2
------------------------------
Windows