RTSP Streaming failing client side.

Tejas Ravichandran venkatakrishnan164 at gmail.com
Thu Nov 24 09:25:13 UTC 2016


client-side :
gst-launch-1.0 rtspsrc latency=50 location=rtsp://10.0.0.2:8554/test !
fakesink -v

the packets are getting transmitted for the above pipeline with fakesink.
unable to figure out the exact difference with the working pipeline with
videotestsrc and v4l2src .

On Wed, Nov 23, 2016 at 8:37 PM, Tejas Ravichandran <
venkatakrishnan164 at gmail.com> wrote:

> I am using the test launch sample application in gst-rtsp-server to for
> streaming  as below:
>
> server side:
> ./test-launch "videotestsrc ! videoscale ! "video/x-raw,width=720,height=576,format=I420"
> ! rtpvrawpay name=pay0 pt=96 "
>
> client-side :
> gst-launch-1.0 rtspsrc latency=50 location=rtsp://10.0.0.2:8554/test !
> rtpvrawdepay ! videoconvert ! ximagesink -v
>
>     The above pipeline works absolutely fine.
> However when i change the source without changing anything , i.e
> for the following pipeline...
>
> server side:
> ./test-launch "v4l2src device=/dev/video2 ! videoscale !
> "video/x-raw,width=720,height=576,format=I420" ! rtpvrawpay name=pay0
> pt=96 "
> client-side :
> gst-launch-1.0 rtspsrc latency=50 location=rtsp://10.0.0.2:8554/test !
> rtpvrawdepay ! videoconvert ! ximagesink -v
>
> It throws the following error:
>
> ERROR: from element /GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0/GstUDPSrc:udpsrc0:
> Internal data flow error.
> Additional debug info:
> gstbasesrc.c(2948): gst_base_src_loop (): /GstPipeline:pipeline0/
> GstRTSPSrc:rtspsrc0/GstUDPSrc:udpsrc0:
> streaming task paused, reason not-negotiated (-4)
> Execution ended after 0:00:00.006836897
> Setting pipeline to PAUSED ...
> Setting pipeline to READY ...
> Setting pipeline to NULL ...
> Freeing pipeline ...
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20161124/b72de343/attachment.html>


More information about the gstreamer-devel mailing list