sdp for h264 video needs profile-level-id and sprop-parameter-sets parameters. This is generated by the h264 encoder. How exactly you get it out of the gst graph I'm not sure, but playback wil not work without it.<div>
<br></div><div><br></div><div>Sergej<br><br><div class="gmail_quote">On Thu, Aug 16, 2012 at 9:41 AM, Mazahir Poonawalla <span dir="ltr"><<a href="mailto:mazahir.poonawalla@ideaforge.co.in" target="_blank">mazahir.poonawalla@ideaforge.co.in</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi All,<div><br></div><div>I am having troubles streaming video to vlc player. Please help.</div><div><br></div><div>I am using leopard board to stream composite In video with gstreamer. I use the following plugin:</div>
<div>
<br></div><div><div><font color="#006600">gst-launch -v -e v4l2src always-copy=FALSE input-src=composite chain-ipipe=true ! video/x-raw-yuv,format=\(fourcc\)NV12, width=640, height=480 ! queue ! dmaiaccel ! dmaienc_h264 encodingpreset=2 ratecontrol=2 intraframeinterval=23 idrinterval=46 targetbitrate=3000000 ! rtph264pay ! udpsink port=3000 host=192.168.1.102 sync=false enable-last-buffer=false</font></div>
<div><br></div><div>I have created an sdp file on my client side:</div><div><br></div><div><div><font color="#006600">v=0</font></div><div><font color="#006600">o=- 2110055936 1 IN IP4 192.168.1.102</font></div><div><font color="#006600">s=Gstreamer</font></div>
<div><font color="#006600">i=Streaming via network test</font></div><div><font color="#006600">c=IN IP4 192.168.1.101</font></div><div><font color="#006600">t=0 0</font></div><div><font color="#006600">a=type:broadcast</font></div>
<div><font color="#006600">m=video 3000 RTP/AVP 96</font></div><div><font color="#006600">a=rtpmap:96 H264/90000</font></div></div><div><br></div><div>when I double click on this file in vlc, nothing is being played. Though I feel something is being received because when I check the message window, I get the following warning:</div>
<div><br></div><div><div><font color="#ff0000">packetizer_h264 warning: waiting for SPS/PPS</font></div></div><div><br></div><div>Can any one please help as to what is going wrong? What changes I need to make in my SDP file.</div>
<span class="HOEnZb"><font color="#888888">
<div><br></div><div>-- </div><p style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif;margin:0px">Thank you & Regards,<u></u><u></u></p><p style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif;margin:0px">
<b>Mazahir Poonawalla</b><u></u><u></u></p><p style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif;margin:0px"><br></p><br>
</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" target="_blank">http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a><br>
<br></blockquote></div><br></div>