RTSP Streaming failing client side.

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

RTSP Streaming failing client side.

tejas95
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 ...


_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: RTSP Streaming failing client side.

tejas95
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 <[hidden email]> 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 ...



_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel