Hi, Araceli<br>      I have written a program that send H.264 RTP packet stream to a IP/Ports. Vlc on a pc with the IP as a client reads a SDP file first and then receive h.264 RTP stream from the port where H.264 RTP packets been sent to. 
<br>Then I find:<br>vlc 0.8.5 can work well But vlc 0.8.6 stops after printing <br><span class="q">packetizer_h264 debug: found NAL_SPS<br>packetizer_h264 debug: found NAL_PPS
.<br><br>Further, I find vlc 0.8.5 can't play vidoe files, such avi files and H.264 AnnexB file with extension file name *.264, but vlc 0.8.6 is fine.<br><br>Best Regards<br>Jogging<br></span><br><div><span class="gmail_quote">
On 3/12/07, <b class="gmail_sendername">araceli manso</b> <<a href="mailto:lalaleli@hotmail.com">lalaleli@hotmail.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div style=""><div>
<p>Hi Jogging,</p>
<p>You´re welcome.<br>  I think that I didn´t  understand the mail  correctly. You mean that you can use vlc 0.8.5 as client and server to stream  h264, but you cannot use it as a player?</p>
<p>regards</p>
<p>Araceli</p>
<p><br> </p></div>
<div></div>
<blockquote style="border-left: 2px solid rgb(160, 198, 229); padding-left: 5px; margin-left: 5px; margin-right: 0px;"><font style="font-size: 11px; font-family: tahoma,sans-serif;"><span class="q">
<hr color="#a0c6e5" size="1">

<div></div>From:  <i>"jogging song" <<a href="mailto:joggingsong@gmail.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">joggingsong@gmail.com</a>></i><br>Reply-To:  <i><a href="mailto:vlc@videolan.org" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
vlc@videolan.org</a></i><br>To:  <i><a href="mailto:vlc@videolan.org" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">vlc@videolan.org</a></i><br>Subject:  <i>[vlc] Re: vlc stop when playing H.264 RTP stream
</i><br></span>Date:  <i>Sat, 10 Mar 2007 14:26:27 +0800</i></font><div><span class="e" id="q_11145e56a4ab152e_3"><font style="font-size: 11px; font-family: tahoma,sans-serif;"><br>
</font><div></div><font style="font-size: 11px; font-family: tahoma,sans-serif;"><br>Hi,<br>   Thanks, Araceli.<br>   I have installed 0.8.5 vlc and it works fine for playing H.264 RTP streams.<br>But unfortunately, I find 
0.8.5 vlc can't play H.264 bitstream file and other files such as avi file, but
</font><div></div><font style="font-size: 11px; font-family: tahoma,sans-serif;">0.8.6 can do this. I'm afraid that we<br>should report a bug. <br>   Do you have any vlc that can do these things at the same time? Can you share it with me?
<br>thanks<br><br>Jogging<br><br>
</font><div><span class="gmail_quote"></span></div><font style="font-size: 11px; font-family: tahoma,sans-serif;">On 3/10/07, <b class="gmail_sendername">araceli manso</b> <<a href="mailto:lalaleli@hotmail.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
lalaleli@hotmail.com</a>> wrote:
</font><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div></div>
<div>
<div></div>
<p><font style="font-size: 11px; font-family: tahoma,sans-serif;"><br><br></font></p></div>
<div></div>
<p><font style="font-size: 11px; font-family: tahoma,sans-serif;">Hello,</font></p>
<div></div>
<p><font style="font-size: 11px; font-family: tahoma,sans-serif;">        I have the same problem with the 0.8.6 version. But using the 0.8.5 and adding to the code the changeset 15736, I can stream h264. And using as client the 
0.8.6 I get the message "waiting for SPS.</font></p>
<div></div>
<p><font style="font-size: 11px; font-family: tahoma,sans-serif;">Please let me know if you find the way.</font></p>
<div></div>
<p><font style="font-size: 11px; font-family: tahoma,sans-serif;">Good luck</font></p>
<div></div>
<p><font style="font-size: 11px; font-family: tahoma,sans-serif;">Araceli<font color="#008000" size="2"></font></font></p>
<div></div>
<div></div>
<div></div>
<blockquote style="padding-left: 5px; margin-left: 5px; margin-right: 0px;"><font style="font-size: 11px; font-family: tahoma,sans-serif;"><font style="font-size: 11px; font-family: tahoma,sans-serif;">
<div></div></font>
</font><hr color="#a0c6e5" size="1">

<div></div>
<div></div>
<div></div><font style="font-size: 11px; font-family: tahoma,sans-serif;"><font style="font-size: 11px; font-family: tahoma,sans-serif;">From:  <i>"jogging song" <<a href="mailto:joggingsong@gmail.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">

<div></div>joggingsong@gmail.com</a>></i><br>Reply-To:  <i><a href="mailto:vlc@videolan.org" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">vlc@videolan.org</a></i><br>To:  <i><a href="mailto:vlc@videolan.org" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">

<div></div>vlc@videolan.org</a></i><br>Subject:  <i>[vlc] Re: vlc stop when playing H.264 RTP stream</i><br>Date:  <i>Fri, 9 Mar 2007 21:24:27 +0800</i></font>
</font><div><span><font style="font-size: 11px; font-family: tahoma,sans-serif;"><font style="font-size: 11px; font-family: tahoma,sans-serif;"></font></font></span></div><font style="font-size: 11px; font-family: tahoma,sans-serif;">
<br>
</font><div></div></blockquote></blockquote></span></div><div><span class="e" id="q_11145e56a4ab152e_5">
<div></div><font style="font-size: 11px; font-family: tahoma,sans-serif;"><br>I have saved the RTP payloads in file and vlc can play the file without problem. So the RTP payloads is ok.<br>But when payloads are sent to vlc in RTP packets, vlc fails to play the stream.
<div></div><br>Now the stream consists of one I frame and 299 P frames. We find that if I frame is repeated in the stream, vlc encounters the second
<div></div></font>
<div></div><font style="font-size: 11px; font-family: tahoma,sans-serif;"><br>I frame and will play normally.<br><br>First, i think the sps and pps in the sdp file is different from the sps and pps in rtp packet streams. vlc receives the sps and pps again and think the new ones are used to update the old ones. But I review the sps and pps in sdp file and am sure they are  correct.
<div></div></font>
<div></div><font style="font-size: 11px; font-family: tahoma,sans-serif;"><br><br>And I have downloaded the vlc source code from the websites and find vlc is very complex to understand and it is difficult to find the process for RTP packet operations.
<div></div><br><br>Thanks<br>jogging<br><br>
<div></div></font>
<div><span class="gmail_quote"></span></div><font style="font-size: 11px; font-family: tahoma,sans-serif;">On 3/9/07, <b class="gmail_sendername">Chris Dobbs</b> <<a href="mailto:chris_dobbs@dobbscr.karoo.co.uk" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">

<div></div>chris_dobbs@dobbscr.karoo.co.uk</a>> wrote:
<div></div></font>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div></div>
<div></div>
<div></div>
<div></div>
<div></div>
<div></div>
<div></div>
<div></div>
<div></div>
<div></div>
<div></div>
<div></div>
<div></div>
<div></div>
<div></div>
<div></div>
<div></div>
<div><font style="font-size: 11px; font-family: tahoma,sans-serif;"><font face="Arial" size="2">Can u verify without using VLC that your H264 </font></font></div><font style="font-size: 11px; font-family: tahoma,sans-serif;">

</font><div></div><font style="font-size: 11px; font-family: tahoma,sans-serif;">frames are ok? i.e play it from file or something. VLC will play h264 from file
</font><div></div>
<div></div><font style="font-size: 11px; font-family: tahoma,sans-serif;">so maby try that first.</font></blockquote>
<div></div>
<div><span></span></div>
<div></div>
<div></div>
<div></div>
<div></div>
<div><font face="Arial" size="2"></font> </div>
<div></div>
<div></div>
<div></div>
<div><font face="Arial" size="2">Your SDP looks ok although I'm not familiar </font></div>with the specific h263 fmtp options, try just having
<div></div>
<div></div>
<div></div>
<div></div>
<div></div>
<div><font face="Arial" size="2">fmtp:96</font></div>
<div></div>
<div></div>
<div></div>
<div><font face="Arial" size="2"></font> </div>
<div></div>
<div></div>
<div></div>
<div><font face="Arial" size="2">your SDP states you are streaming to port 1100 so </font></div>make sure your streamer is in fact doing this (obvious I know
<div></div>
<div></div>but...)
<div></div>
<div></div>
<div></div>
<div></div>
<div></div>
<div><font face="Arial" size="2"></font> </div>
<div></div>
<div></div>
<div></div>
<div><font face="Arial" size="2">Run up ethereal and capture the first couple of </font></div>packet and see if they look ok. Check that your RTP header payload type is in
<div></div>
<div></div>fact 96 and not the non-dynamic one (forget which number this is for
<div></div>
<div></div>H264...35?)
<div></div>
<div></div><span>
<div></div>
<div></div>
<div></div>
<div><font face="Arial" size="2"></font> </div>
<div></div>
<div></div>
<div></div>
<div><font face="Arial" size="2">-Chris</font></div></span>
<div></div>
<div><span></span></div>
<div></div>
<blockquote style="padding-right: 0px; padding-left: 5px; margin-left: 5px; margin-right: 0px;">
<div></div>
<div></div>  
<div></div>
<div style="font-family: arial; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; font-size-adjust: none; font-stretch: normal;">----- Original Message ----- </div>
<div></div>
<div></div>  
<div></div>
<div style="background: rgb(228, 228, 228) none repeat scroll 0% 50%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial; font-family: arial; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; font-size-adjust: none; font-stretch: normal;">
</div>
<div></div><b>From:</b>
<div></div>
<div></div>  <a title="joggingsong@gmail.com" href="mailto:joggingsong@gmail.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">jogging
</a><div></div>
<div></div><a title="joggingsong@gmail.com" href="mailto:joggingsong@gmail.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">  song</a>
<div></div>
<div></div>
<div></div>
<div></div>  
<div></div>
<div style="font-family: arial; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"><b>To:</b> <a title="vlc@videolan.org" href="mailto:vlc@videolan.org" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
</a></div>
<div></div><a href="mailto:vlc@videolan.org" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">vlc@videolan.org</a>
<div></div>
<div></div>
<div></div>
<div></div>  
<div></div>
<div style="font-family: arial; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"><b>Sent:</b> Friday, March 09, 2007 2:54 
</div>
<div></div>AM
<div></div>
<div></div>
<div></div>
<div></div>  
<div></div>
<div style="font-family: arial; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"><b>Subject:</b> [vlc] Re: vlc stop when playing 
</div>
<div></div>  H.264 RTP stream
<div></div>
<div></div>
<div></div>
<div></div>  
<div></div>
<div><font face="Arial" size="2"></font><font face="Arial" size="2"></font><br></div>Thanks, Chris<br>     
<div></div>
<div></div>  Payload type in RTP header is 96.<br>  Before it is about to receive RTP
<div></div>
<div></div>  stream, vlc need a SDP.  I'm not sure whether the sdp file is
<div></div>
<div></div>  right.<br>v=0<br>m=video 1100 RTP/AVP 96<br>b=AS:247<br>a=rtpmap:96 H264/90000
<div></div>
<div></div>  <br>a=fmtp:96 packetization-mode=1;profile-level-id=42001E;<br><br>I read the
<div></div>
<div></div>  RFC3984, and change it to the following.<br><br>v=0<br>m=video 1100 RTP/AVP
<div></div>
<div></div>  96<br>b=AS:247<br>a=rtpmap:96 H264/90000<br>a=fmtp:96
<div></div>
<div></div>  packetization-mode=0;profile-level-id=42001E;sprop-parameteter-sets=Z0IAHpZ0Ficg,aM44gA==
<div></div>
<div></div>  <br><br>It still doesn't work.<br><br>The RTP stream consists of RTP of 300
<div></div>
<div></div>  frames. And only the first frame is an IDR frame(I frame), which has a sps and
<div></div>
<div></div>  pps.<br>All other frame is P frame.<br><br>But VLC stops after printing the
<div></div>
<div></div>  following things: <br>packetizer_h264 debug: found NAL_SPS<br>packetizer_h264
<div></div>
<div></div>  debug: found NAL_PPS <br>I don't know why it stops after recognizing sps and
<div></div>
<div></div>  pps.<br><br><br>And i think sps and pps already are in sdp file, so I don't
<div></div>
<div></div>  send sps and pps.<br>Vlc will print "waiting for
<div></div>
<div></div>  sps".<br><br>Thanks<br>jogging<br><br><br>
<div></div>
<div></div>  
<div></div>
<div><span class="gmail_quote">On 3/8/07, <b class="gmail_sendername"><a href="mailto:chris.2.dobbs@bt.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">chris.2.dobbs@bt.com</a></b> <<a href="mailto:chris.2.dobbs@bt.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
 </a></span></div>
<div></div><a href="mailto:chris.2.dobbs@bt.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">chris.2.dobbs@bt.com</a> > wrote:
<div></div>
<div></div>  
<div></div>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div></div>
<div></div>    
<div></div>
<div></div>    
<div></div>
<div dir="ltr" align="left"><span><font color="#0000ff" face="Arial" size="2">Not sure </font></span></div>    what that erro msg means but here are a f<span><font color="#0000ff" face="Arial" size="2">ew quick things to
<div></div>
<div></div>check:</font></span>
<div></div>
<div></div>
<div></div>
<div></div>    
<div></div>
<div dir="ltr" align="left"><span><font color="#0000ff" face="Arial" size="2">1. Are </font></span></div>    you setting the RTP payload to 96 in your stream?
<div></div>
<div></div>
<div></div>
<div></div>    
<div></div>
<div dir="ltr" align="left"><span><font color="#0000ff" face="Arial" size="2">2. Are </font></span></div>    you setting correct timestamp framing intervals in your stream , think u
<div></div>
<div></div>    need to increment rtp timestamp by 30Ms every time u start sending a new
<div></div>
<div></div>    frame. Keep this timestamp constant for frames spanning several
<div></div>
<div></div>    packets.
<div></div>
<div></div>
<div></div>
<div></div>    
<div></div>
<div dir="ltr" align="left"><span><font color="#0000ff" face="Arial" size="2">3. Are </font></span></div>    you keeping the RTP SSRC at constant value all the way
<div></div>
<div></div>    through?
<div></div>
<div></div>
<div></div>
<div></div>    
<div></div>
<div dir="ltr" align="left"><span><font color="#0000ff" face="Arial" size="2"></font></span> </div>
<div></div>
<div></div>    
<div></div>
<div dir="ltr" align="left"><span><font color="#0000ff" face="Arial" size="2">Can you </font></span></div>    post the first few packets here?- use ethereal or something to capture
<div></div>
<div></div>    and I'll take a look.
<div></div>
<div></div>
<div></div>
<div></div>    
<div></div>
<div dir="ltr" align="left"><span><font color="#0000ff" face="Arial" size="2">-Chris</font></span></div><br>
<div></div>
<div></div>    
<div></div>
<div dir="ltr" align="left" lang="en-us"></div>    
<div></div>
<hr>

<div></div>
<div></div>
<div></div>    <font face="Tahoma" size="2"><b>From:</b> <a href="mailto:vlc-bounce@videolan.org" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">vlc-bounce@videolan.org</a> [mailto:<a href="mailto:vlc-bounce@videolan.org" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">

<div></div>
<div></div>
<div></div>vlc-bounce@videolan.org</a>] <b>On Behalf Of </b>jogging
<div></div></font>
<div></div><font face="Tahoma" size="2">    song<br><b>Sent:</b> 08 March 2007 12:52<br><b>To:</b> <a href="mailto:vlc@videolan.org" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">vlc@videolan.org
<div></div></a><br><b>Subject:</b> [vlc] vlc stop when
<div></div></font>
<div></div><font face="Tahoma" size="2">    playing H.264 RTP stream<br></font><br>
<div></div>
<div></div>
<div></div>
<div></div>    
<div></div>
<div><span></span></div>    
<div></div>
<div></div>hi,<br>    Now I use VLC to play H.264 RTP
<div></div>
<div></div>    stream.I encounter some problems. Before it is about to receive RTP
<div></div>
<div></div>    streams,  VLC read a SDP like this,<br>v=0<br>m=video 1100 RTP/AVP
<div></div>
<div></div>    96<br>b=AS:247<br>a=rtpmap:96 H264/90000<br>a=fmtp:96
<div></div>
<div></div>    packetization-mode=1;profile-level-id=42001E;<br><br>Then I send RTP
<div></div>
<div></div>    packets, and VLC recieve them.But VLC stops after printing the following
<div></div>
<div></div>    things:<br>packetizer_h264 debug: found NAL_SPS<br>packetizer_h264 debug:
<div></div>
<div></div>    found NAL_PPS <br><br>Can anyone help me?Thanks<br>Best
<div></div>
<div></div>    Regards<br>jogging<br><br><br><br>
<div></div>
<div></div>
<div></div>
<div></div></blockquote>
<div></div>
<div></div><br></blockquote>
<div></div>
<div></div>
<div></div>
<div></div>
<div></div>
<div></div>
<div></div></span></div></blockquote><div><span class="e" id="q_11145e56a4ab152e_7"><span>
<div></div>
<div></div><br>
<div></div>
<div></div>
<div></div>
<div></div><br></span>
<div></div><span><br clear="all">
<hr>
Recibe ofertas de empleo adaptadas a tu perfil. <a href="http://g.msn.com/8HMBESES/2752??PS=47575" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
<div></div>Introduce tu CV en MSN Empleo.</a>
<div></div>
<div></div>--
<div></div>This is the vlc mailing-list, see <a href="http://www.videolan.org/vlc/" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://www.videolan.org/vlc/</a>
<div></div>To unsubscribe, please read <a href="http://www.videolan.org/support/lists.html" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://www.videolan.org/support/lists.html</a>
<div></div>
<div></div></span>
<div></div><br>
<div></div>
<div></div><br></span></div></div><span class="ad"><br clear="all"><hr>Coches nuevos, coches de ocasión, coches de Km 0 <a href="http://g.msn.com/8HMBESES/2746??PS=47575" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
Si piensas en cambiar de coche, MSN Motor.</a> 

-- 
This is the vlc mailing-list, see <a href="http://www.videolan.org/vlc/" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://www.videolan.org/vlc/</a>
To unsubscribe, please read <a href="http://www.videolan.org/support/lists.html" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://www.videolan.org/support/lists.html</a>

</span></blockquote></div><br>