<html><body><div style="color:#000; background-color:#fff; font-family:arial, helvetica, sans-serif;font-size:10pt"><div><div><font class="Apple-style-span" face="arial, helvetica, sans-serif" size="2">Dear,</font></div><div><font class="Apple-style-span" face="arial, helvetica, sans-serif" size="2"><br></font></div><div><font class="Apple-style-span" face="arial, helvetica, sans-serif" size="2">I would like firstly to tell that I am new to this.</font></div><div><font class="Apple-style-span" face="arial, helvetica, sans-serif" size="2">What I need is to stream over <span id="misspell-0" class="mark">RTP</span>/<span id="misspell-1" class="mark">RTSP</span> and use <span id="misspell-2" class="mark">SDP</span> for communicating the stream information. After reading about this I find out that it is possible to run a Gstreamer H264 stream and using <span id="misspell-4" class="mark">RTSP</span>, <span id="misspell-5" class="mark">SDP</span> file can be
 sent so that the client can receive the stream using the information in this file only. Is this right?</font></div><div><font class="Apple-style-span" face="arial, helvetica, sans-serif" size="2"><br></font></div><div><font class="Apple-style-span" face="arial, helvetica, sans-serif" size="2">After long time searching, I found the example "test-<span id="misspell-6" class="mark">sdp</span>.c" at&nbsp;</font><a href="http://cgit.freedesktop.org/gstreamer/gst-rtsp-server/">http://cgit.freedesktop.org/gstreamer/gst-rtsp-server/</a></div><div><font class="Apple-style-span" face="arial, helvetica, sans-serif" size="2"><br></font></div><div><font class="Apple-style-span" face="arial, helvetica, sans-serif" size="2">So I try firstly to run this&nbsp;</font></div><div><font class="Apple-style-span" face="arial, helvetica, sans-serif" size="2"><span id="misspell-7" class="mark">gst</span>-launch v4l2<span id="misspell-8" class="mark">src</span> !
 video/x-raw-<span id="misspell-9" class="mark">yuv</span>, width=640, <span id="misspell-10" class="mark">hight</span>=480, <span id="misspell-11" class="mark">framerate</span>=30/1 ! <span id="misspell-12" class="mark">ffmpegcolorspace</span> ! x264enc ! <span id="misspell-13" class="mark">rtph</span>264pay ! <span id="misspell-14" class="mark">udpsink</span> port=5000 host=127.0.0.1</font></div><div><font class="Apple-style-span" face="arial, helvetica, sans-serif" size="2"><br></font></div><div><font class="Apple-style-span" face="arial, helvetica, sans-serif" size="2">while this is running, I run the <span id="misspell-15" class="mark">RTSP</span> server:</font></div><div><font class="Apple-style-span" face="arial, helvetica, sans-serif" size="2">./test-<span id="misspell-16" class="mark">sdp</span> <span id="misspell-17" class="mark">sdpfile</span>.<span id="misspell-18" class="mark">sdp</span>&nbsp;</font></div><div><font class="Apple-style-span"
 face="arial, helvetica, sans-serif" size="2"><br></font></div><div><font class="Apple-style-span" face="arial, helvetica, sans-serif" size="2">I created <span id="misspell-19" class="mark">sdpfile</span>.<span id="misspell-20" class="mark">sdp</span> already based on the gstreamer stream. (Where am I supposed to put this file, at the server or client machines?)</font></div><div><font class="Apple-style-span" face="arial, helvetica, sans-serif" size="2"><br></font></div><div><font class="Apple-style-span" face="arial, helvetica, sans-serif" size="2">at the client:</font></div><div><font class="Apple-style-span" face="arial, helvetica, sans-serif" size="2"><span id="misspell-22" class="mark">vlc</span> rtsp://127.0.0.1:8554/test</font></div><div><font class="Apple-style-span" face="arial, helvetica, sans-serif" size="2"><br></font></div><div><font class="Apple-style-span" face="arial, helvetica, sans-serif" size="2">but it didn't work for me! Am I dong
 right here? or there is something I don't understand....</font></div><div><font class="Apple-style-span" face="arial, helvetica, sans-serif" size="2">I also would like to ask you about these lines at test-<span id="misspell-23" class="mark">sdp</span>.c&nbsp;</font></div><div><font class="Apple-style-span" face="arial, helvetica, sans-serif" size="2"><br></font></div><div><font class="Apple-style-span" face="arial, helvetica, sans-serif" size="2"><span id="misspell-24" class="mark">str</span> = g_<span id="misspell-25" class="mark">strdup</span>_<span id="misspell-26" class="mark">printf</span> ( "( <span id="misspell-27" class="mark">filesrc</span> location=%s ! <span id="misspell-28" class="mark">sdpdemux</span> name=<span id="misspell-29" class="mark">dynpay</span>0 )", <span id="misspell-30" class="mark">argv</span>[1]);</font></div><div><font class="Apple-style-span" face="arial, helvetica, sans-serif" size="2">&nbsp; <span id="misspell-31"
 class="mark">gst</span>_<span id="misspell-32" class="mark">rtsp</span>_media_factory_set_launch (factory, <span id="misspell-33" class="mark">str</span>);</font></div><div><font class="Apple-style-span" face="arial, helvetica, sans-serif" size="2"><br></font></div><div><font class="Apple-style-span" face="arial, helvetica, sans-serif" size="2">how I should understand it? I spent a lot of time thinking about it but it seem nothing works! Thank you...</font></div><div><font class="Apple-style-span" face="arial, helvetica, sans-serif" size="2"><br></font></div><div><font class="Apple-style-span" face="arial, helvetica, sans-serif" size="2">Kind regards</font></div><div><font class="Apple-style-span" face="arial, helvetica, sans-serif" size="2"><br></font></div><div><font class="Apple-style-span" face="arial, helvetica, sans-serif" size="2"><span id="misspell-34" class="mark">Ibra</span></font></div></div></div></body></html>