<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">Mazahir, <br>
<br>
You might want to ask this on the gstreamer TI forums as well
since you're using, I'm assuming, an TI SoC. A while back, I know
for the Davinci H.264 encoders the SPS was sent only once at the
begin of the encode, so any clients that connected later just
missed out and wouldn't connect without a good sdp file. I believe
with some tweaking the encoder can be forced to send it out
periodically so you wouldn't have to define it in your sdp file.
Post your question there as well. It's at <a
href="https://gstreamer.ti.com/gf/project/gstreamer_ti/forum/?action=ForumBrowse&forum_id=187">https://gstreamer.ti.com/gf/project/gstreamer_ti/forum/?action=ForumBrowse&forum_id=187</a><br>
<br>
Emile<br>
<br>
On 8/16/2012 2:41 AM, Mazahir Poonawalla wrote:<br>
</div>
<blockquote
cite="mid:CAGKnx=1aoPSng1HLfJNxKMD+4wWK7jfHKPoQy8RvAPOQiYH+fQ@mail.gmail.com"
type="cite">Hi,
<div><br>
</div>
<div>I applied the sprop-parameter-sets as well. Now my sdp file
is:</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><font color="#006600">a=cliprect:0,0,480,640</font></div>
<div><font color="#006600">a=framesize:96 640-480</font></div>
<div><font color="#006600">a=tool:Gstreamer</font></div>
<div><font color="#006600">a=fmtp:96 profile-level-id=0;
sprop-parameter-sets=(string)\"Z2QAKK2EBUViuKxUdCAqKxXFYqOhAVFYrisVHQgKisVxWKjoQFRWK4rFR0ICorFcVio6ECSFITk8nyfk/k/J8nm5s00IEkKQnJ5Pk/J/J+T5PNzZprQFAeyA\\,aO48sA\\=\\=\"</font></div>
</div>
<div><br>
</div>
<div>However nothing is being displayed and I still get the same
warning when I double click on the sdp file:</div>
<div><br>
</div>
<div>
<div><font color="#ff0000">packetizer_h264 warning: waiting for
SPS/PPS</font></div>
<div><br>
</div>
<div class="gmail_quote">On 16 August 2012 15:07, Mazahir
Poonawalla <span dir="ltr"><<a moz-do-not-send="true"
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,
<div><br>
</div>
<div>Thanks for the reply. </div>
<div><br>
</div>
<div>the caps after applying the below plugin are:</div>
<div><br>
</div>
<div><font color="#006600">caps = application/x-rtp,
media=(string)video, clock-rate=(int)90000,
encoding-name=(string)H264,
sprop-parameter-sets=(string)\"Z2QAKK2EBUViuKxUdCAqKxXFYqOhAVFYrisVHQgKisVxWKjoQFRWK4rFR0ICorFcVio6ECSFITk8nyfk/k/J8nm5s00IEkKQnJ5Pk/J/J+T5PNzZprQFAeyA\\,aO48sA\\=\\=\",
payload=(int)96, ssrc=(uint)3815007218,
clock-base=(uint)3201629907, seqnum-base=(uint)59072</font><br>
<br>
What exactly do i need to put in the sdp file. Can you
give me an example. </div>
<div>Thanks,<br>
Mazahir</div>
<div>
<div>
<div class="h5"><br>
<div class="gmail_quote">On 16 August 2012 14:56,
Rapsey <span dir="ltr"><<a
moz-do-not-send="true"
href="mailto:rapsey@gmail.com" target="_blank">rapsey@gmail.com</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">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">
<div>
<div>On Thu, Aug 16, 2012 at 9:41 AM,
Mazahir Poonawalla <span dir="ltr"><<a
moz-do-not-send="true"
href="mailto:mazahir.poonawalla@ideaforge.co.in"
target="_blank">mazahir.poonawalla@ideaforge.co.in</a>></span>
wrote:<br>
</div>
</div>
<blockquote class="gmail_quote"
style="margin:0 0 0 .8ex;border-left:1px
#ccc solid;padding-left:1ex">
<div>
<div>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><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,</p>
<p
style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif;margin:0px"><b>Mazahir
Poonawalla</b></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>
</div>
</div>
_______________________________________________<br>
gstreamer-devel mailing list<br>
<a moz-do-not-send="true"
href="mailto:gstreamer-devel@lists.freedesktop.org"
target="_blank">gstreamer-devel@lists.freedesktop.org</a><br>
<a moz-do-not-send="true"
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 moz-do-not-send="true"
href="mailto:gstreamer-devel@lists.freedesktop.org"
target="_blank">gstreamer-devel@lists.freedesktop.org</a><br>
<a moz-do-not-send="true"
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>
<br clear="all">
<div><br>
</div>
-- <br>
<p
style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif;margin:0px">Thank
you & Regards,</p>
<p
style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif;margin:0px"><b>Mazahir
Poonawalla</b></p>
</div>
</div>
<p
style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif;margin:0px"><span
style="font-size:9pt">ideaForge Technology Pvt. Ltd. |
Board: +91 22 2767 0001; </span><span
style="font-size:12px">+91 22 2767 0707</span> <span
style="font-size:9pt">| <a moz-do-not-send="true"
href="mailto:mazahir.poonawalla@ideaforge.co.in"
style="color:rgb(17,85,204)" target="_blank"><span
style="color:blue">mazahir.poonawalla@ideaforge.co.in</span></a> |<a
moz-do-not-send="true"
href="http://www.ideaforge.co.in/"
style="color:rgb(17,85,204)" target="_blank"><span
style="color:blue">www.ideaforge.co.in</span></a></span></p>
<font color="#d60093" face="Wingdings"><span
style="font-size:11px"><br>
</span></font>
<p style="margin:0px"><b
style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px"><span
style="font-size:9pt;font-family:Webdings;color:green">P</span></b><b
style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px"><span
style="font-size:9pt;font-family:Webdings"> </span></b><b
style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px"><span
style="font-size:9pt;color:green">Please consider
the environment before printing this e-mail</span></b></p>
<br>
</div>
</blockquote>
</div>
<br>
<br clear="all">
<div><br>
</div>
-- <br>
<p
style="margin:0px;color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">Thank
you & Regards,</p>
<p
style="margin:0px;color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)"><b>Mazahir
Poonawalla</b></p>
<p
style="margin:0px;color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)"><span
style="font-size:9pt">ideaForge Technology Pvt. Ltd. |
Board: +91 22 2767 0001; </span><span style="font-size:12px">+91
22 2767 0707</span> <span style="font-size:9pt">| <a
moz-do-not-send="true"
href="mailto:mazahir.poonawalla@ideaforge.co.in"
style="color:rgb(17,85,204)" target="_blank"><span
style="color:blue">mazahir.poonawalla@ideaforge.co.in</span></a> |<a
moz-do-not-send="true" href="http://www.ideaforge.co.in/"
style="color:rgb(17,85,204)" target="_blank"><span
style="color:blue">www.ideaforge.co.in</span></a></span></p>
<font color="#d60093" face="Wingdings"><span
style="font-size:11px"><br>
</span></font>
<p style="margin:0px;background-color:rgb(255,255,255)"><b
style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px"><span
style="font-size:9pt;font-family:Webdings;color:green">P</span></b><b
style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px"><span
style="font-size:9pt;font-family:Webdings"> </span></b><b
style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px"><span
style="font-size:9pt;color:green">Please consider the
environment before printing this e-mail</span></b></p>
<br>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
gstreamer-devel mailing list
<a class="moz-txt-link-abbreviated" href="mailto:gstreamer-devel@lists.freedesktop.org">gstreamer-devel@lists.freedesktop.org</a>
<a class="moz-txt-link-freetext" href="http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel">http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a>
</pre>
</blockquote>
<br>
<br>
<pre class="moz-signature" cols="72">--
Emile Semmes
Owner / Software Consultant
e6 Group, LLC
Office: (630) 376-0626
<a class="moz-txt-link-abbreviated" href="http://www.e6group.com">www.e6group.com</a>
Skype: Emile.Semmes
LinkedIn: <a class="moz-txt-link-freetext" href="http://www.linkedin.com/pub/emile-semmes/3/646/570">http://www.linkedin.com/pub/emile-semmes/3/646/570</a>
Guru.com: <a class="moz-txt-link-freetext" href="http://www.guru.com/freelancers/e6group">http://www.guru.com/freelancers/e6group</a>
m
</pre>
</body>
</html>