<div dir="ltr">You could simply try the following pipeline and let the uridecodebin negotiate the format:<div><br></div><div>gst-launch-1.0 uridecodebin uri=rtsp://<a href="http://127.0.0.1:8554/h264">127.0.0.1:8554/h264</a> ! queue ! v4l2sink device=/dev/video1</div><div><br></div><div><br></div></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div>abçs,</div>Pedro Lacerda</div></div></div></div></div>
<br><div class="gmail_quote">2015-10-01 11:37 GMT-03:00 Jhonata Poma <span dir="ltr"><<a href="mailto:jpoma@movia.biz" target="_blank">jpoma@movia.biz</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>Hello, i've got a local server streaming h264 video over rtsp.</div><div>I can connect to the stream and see it using:</div><div><br></div><div>gst-launch-1.0 -v rtspsrc location=rtsp://<a href="http://127.0.0.1:8554/h264" target="_blank">127.0.0.1:8554/h264</a> ! rtph264depay ! avdec_h264 ! autovideosink sync=false<br></div><div><br></div><div>What I aim to do, is sinking on a dummy device created using v4l2loopback on /dev/video1</div><div>so: /dev/video0 will provide the stream and /dev/video1 will be used by motion to detect movements.</div><div><br></div><div>I'm trying to do it by:</div><div><br></div><div>gst-launch-1.0 -v rtspsrc location=rtsp://<a href="http://127.0.0.1:8554/h264" target="_blank">127.0.0.1:8554/h264</a> ! decodebin name=demux \</div><div>demux. ! queue ! videoconvert ! video/x-raw,format=\(string\)YUY2 ! v4l2sink device=/dev/video1</div><div><br></div><div>unfortunately, I get only grey images with some outlines of the subject. I guess I'm converting it in a wrong way. </div><div><br></div><div>Any hints?</div><span class="HOEnZb"><font color="#888888"><div><br></div><div>J</div></font></span></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" rel="noreferrer" target="_blank">http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a><br>
<br></blockquote></div><br></div>