<div dir="ltr">Hi, <div><br></div><div>There are several pipelines that I can used to read rtsp data stream and play directly:</div><div>gst-launch-1.0 playbin uri=<span style="font-family:monospace,monospace;font-size:12.8000001907349px">rtspaddress</span></div><span style="font-family:monospace,monospace;font-size:12.8000001907349px">gst-launch-1.0 rtspsrc location=rtspaddress ! decodebin ! autovideosink</span><div><font face="monospace, monospace"><span style="font-size:12.8000001907349px">gst-launch-1.0 uridecodebin uri=</span></font><span style="font-family:monospace,monospace;font-size:12.8000001907349px">rtspaddress</span><font face="monospace, monospace"><span style="font-size:12.8000001907349px"> ! autovideosink</span></font><br></div><div><br></div>And videotestsrc works, too:<br class=""><span style="font-family:monospace,monospace;font-size:12.8000001907349px">gst-launch-1.0 videotestsrc ! v4l2sink</span><br><div><font face="monospace, monospace"><span style="font-size:12.8000001907349px"><br></span></font></div><div><font face="monospace, monospace"><span style="font-size:12.8000001907349px"><br></span></font></div><div><font face="monospace, monospace"><span style="font-size:12.8000001907349px">I just cannot connect rtsp stream to v4l2sink</span></font></div><div><font face="monospace, monospace"><span style="font-size:12.8000001907349px"><br></span></font></div><div><font face="monospace, monospace"><span style="font-size:12.8000001907349px">Thanks,</span></font></div><div><font face="monospace, monospace"><span style="font-size:12.8000001907349px">Russell</span></font></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Feb 11, 2015 at 5:23 PM, Sérgio Agostinho <span dir="ltr"><<a href="mailto:sergio.r.agostinho@gmail.com" target="_blank">sergio.r.agostinho@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi Russel, <div><br></div><div>If you do</div><div><br></div><div><span style="font-size:12.8000001907349px"><font face="monospace, monospace">gst-launch-1.0 videotestsrc ! v4l2sink</font></span><br></div><div><span style="font-size:12.8000001907349px"><br></span></div><div><span style="font-size:12.8000001907349px">do you see video on your v4l2device? Also, if you do </span></div><div><span style="font-size:12.8000001907349px"><br></span></div><div><span style="font-size:12.8000001907349px"><font face="monospace, monospace">gst-launch-1.0 rtspsrc location=rtspaddress ! decodebin ! autovideosink</font></span><span style="font-size:12.8000001907349px"><br></span></div><div><span style="font-size:12.8000001907349px"><br></span></div><div><span style="font-size:12.8000001907349px">Do you see your rtsp video stream playing on a window?</span></div><div><span style="font-size:12.8000001907349px"><br></span></div><div><span style="font-size:12.8000001907349px">Cheers</span></div><div><span style="font-size:12.8000001907349px"><br></span></div></div><div class="gmail_extra"><br><div class="gmail_quote"><div><div class="h5">2015-02-11 7:50 GMT+01:00 Russell <span dir="ltr"><<a href="mailto:danrenjian@gmail.com" target="_blank">danrenjian@gmail.com</a>></span>:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5"><div dir="ltr">Hi,<div><br></div><div>I was trying this pipeline to feed rtsp stream into a v4l2 virtual loopback device:</div><div>gst-launch-1.0 rtspsrc location=rtspaddress ! decodebin ! v4l2sink<br></div><div><br></div><div>Terminal gave this output and stops, and there are no video in the v4l2 device:</div><div><div>Progress: (request) Sending PLAY request</div><div>Progress: (request) Sending PLAY request</div><div>Progress: (request) Sent PLAY request</div></div><div><br></div><div><br></div><div>So I am implementing the pipeline in c to see what happened. decodebin and v4l2sink are added and linked on on pad-added event. Eventually I found the v4l2sink element stay in READY state while the other two are PLAYING. I have set v4l2sink to PLAYING asynchronously but the state does not change.</div><div><br></div><div>What is the matter here? and where I can find any detailed reason why v4l2sink cannot go to PLAYING state?</div><div><br></div><div>Thanks in advance.</div><div><br></div><div>Sincerely,</div><div>Russell</div></div>
<br></div></div>_______________________________________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.freedesktop.org" target="_blank">gstreamer-devel@lists.freedesktop.org</a><br>
<a href="http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" target="_blank">http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a><br>
<br></blockquote></div><br></div>
<br>_______________________________________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.freedesktop.org">gstreamer-devel@lists.freedesktop.org</a><br>
<a href="http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" target="_blank">http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a><br>
<br></blockquote></div><br></div>