<br>Thanks folks..<div>I had my setup running in a day- composite video encoded in .264 and played over network on VLC player.</div><div><br></div><div>Thanks a lot</div><div>N.Kartik</div><div>Senior Developer | Renu Electronics Pvt. Ltd.<br>
<div class="gmail_quote">On Sun, Aug 19, 2012 at 12:16 PM, Emile Semmes <span dir="ltr"><<a href="mailto:emile.semmes@e6group.com" target="_blank">emile.semmes@e6group.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000">
<div>... Right after I sent this, I realized
you just copy/pasted your sprop-parameter-sets string into your
sdp. You need to take out the Gstreamer formating and escape
characters for it to work, ie.
<div><br>
<div><font color="#006600">a=fmtp:96
sprop-parameter-sets=Z2QAKK2EBUViuKxUdCAqKxXFYqOhAVFYrisVHQgKisVxWKjoQFRWK4rFR0ICorFcVio6ECSFITk8nyfk/k/J8nm5s00IEkKQnJ5Pk/J/J+T5PNzZprQFAeyA\,aO48sA\=\=</font></div>
</div>
<div><br>
</div>
Regards,<br>
Emile<div><div class="h5"><br>
<br>
On 8/18/2012 11:39 PM, Emile Semmes wrote:<br>
</div></div></div><div><div class="h5">
<blockquote type="cite">
<div>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" target="_blank">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 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
<a href="tel:192.168.1.102" value="+911921681102" target="_blank">192.168.1.102</a></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 <a href="tel:192.168.1.101" value="+911921681101" target="_blank">192.168.1.101</a></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 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><br>
<div class="gmail_quote">On 16 August 2012 14:56,
Rapsey <span dir="ltr"><<a 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 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
<a href="tel:192.168.1.102" value="+911921681102" target="_blank">192.168.1.102</a></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 <a href="tel:192.168.1.101" value="+911921681101" target="_blank">192.168.1.101</a></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 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" 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>
<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: <a href="tel:%2B91%2022%202767%200001" value="+912227670001" target="_blank">+91 22 2767 0001</a>; </span><span style="font-size:12px"><a href="tel:%2B91%2022%202767%200707" value="+912227670707" target="_blank">+91 22 2767 0707</a></span> <span style="font-size:9pt">| <a 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 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="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"><span style="font-size:9pt">ideaForge Technology Pvt. Ltd. |
Board: <a href="tel:%2B91%2022%202767%200001" value="+912227670001" target="_blank">+91 22 2767 0001</a>; </span><span style="font-size:12px"><a href="tel:%2B91%2022%202767%200707" value="+912227670707" target="_blank">+91 22 2767 0707</a></span> <span style="font-size:9pt">| <a 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 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>
<br>
<fieldset></fieldset>
<br>
<pre>_______________________________________________
gstreamer-devel mailing list
<a href="mailto:gstreamer-devel@lists.freedesktop.org" target="_blank">gstreamer-devel@lists.freedesktop.org</a>
<a href="http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" target="_blank">http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a>
</pre>
</blockquote>
<br>
<br>
<pre cols="72">--
Emile Semmes
Owner / Software Consultant
e6 Group, LLC
Office: (630) 376-0626
<a href="http://www.e6group.com" target="_blank">www.e6group.com</a>
Skype: Emile.Semmes
LinkedIn: <a href="http://www.linkedin.com/pub/emile-semmes/3/646/570" target="_blank">http://www.linkedin.com/pub/emile-semmes/3/646/570</a>
Guru.com: <a href="http://www.guru.com/freelancers/e6group" target="_blank">http://www.guru.com/freelancers/e6group</a>
m
</pre>
<br>
<fieldset></fieldset>
<br>
<pre>_______________________________________________
gstreamer-devel mailing list
<a href="mailto:gstreamer-devel@lists.freedesktop.org" target="_blank">gstreamer-devel@lists.freedesktop.org</a>
<a href="http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" target="_blank">http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a>
</pre>
</blockquote>
<br>
<br>
</div></div><span class="HOEnZb"><font color="#888888"><pre cols="72">--
Emile Semmes
e6 Group, LLC
<a href="http://www.e6group.com" target="_blank">www.e6group.com</a>
LinkedIn: <a href="http://www.linkedin.com/pub/emile-semmes/3/646/570" target="_blank">http://www.linkedin.com/pub/emile-semmes/3/646/570</a>
Guru.com: <a href="http://www.guru.com/freelancers/e6group" target="_blank">http://www.guru.com/freelancers/e6group</a>
</pre>
</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><br clear="all"><div><br></div>-- <br>Believe in your dreams, they have a strange way of coming true!!!<br>
</div>