Thanks, Chris<br> Payload type in RTP header is 96.<br> Before it is about to receive RTP stream, vlc need a SDP. I'm not sure whether the sdp file is right.<br>v=0<br>m=video 1100 RTP/AVP 96<br>b=AS:247<br>a=rtpmap:96 H264/90000
<br>
a=fmtp:96 packetization-mode=1;profile-level-id=42001E;<br><br>I read the RFC3984, and change it to the following.<br><br>v=0<br>m=video 1100 RTP/AVP 96<br>b=AS:247<br>a=rtpmap:96 H264/90000<br>a=fmtp:96 packetization-mode=0;profile-level-id=42001E;sprop-parameteter-sets=Z0IAHpZ0Ficg,aM44gA==
<br><br>It still doesn't work.<br><br>The RTP stream consists of RTP of 300 frames. And only the first frame is an IDR frame(I frame), which has a sps and pps.<br>All other frame is P frame.<br><br>But VLC stops after printing the following things:
<br>packetizer_h264 debug: found NAL_SPS<br>packetizer_h264 debug: found NAL_PPS
<br>I don't know why it stops after recognizing sps and pps.<br><br><br>And i think sps and pps already are in sdp file, so I don't send sps and pps.<br>Vlc will print "waiting for sps".<br><br>Thanks<br>
jogging<br><br><br><div><span class="gmail_quote">On 3/8/07, <b class="gmail_sendername"><a href="mailto:chris.2.dobbs@bt.com">chris.2.dobbs@bt.com</a></b> <<a href="mailto:chris.2.dobbs@bt.com">chris.2.dobbs@bt.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>
<div dir="ltr" align="left"><span><font color="#0000ff" face="Arial" size="2">Not sure what that erro msg means but here are a
f</font></span><span><font color="#0000ff" face="Arial" size="2">ew quick things to check:</font></span></div>
<div dir="ltr" align="left"><span><font color="#0000ff" face="Arial" size="2">1. Are you setting the RTP payload to 96 in your
stream?</font></span></div>
<div dir="ltr" align="left"><span><font color="#0000ff" face="Arial" size="2">2. Are you setting correct timestamp framing intervals in
your stream , think u need to increment rtp timestamp by 30Ms every time u start
sending a new frame. Keep this timestamp constant for frames spanning several
packets.</font></span></div>
<div dir="ltr" align="left"><span><font color="#0000ff" face="Arial" size="2">3. Are you keeping the RTP SSRC at constant value all
the way through?</font></span></div>
<div dir="ltr" align="left"><span><font color="#0000ff" face="Arial" size="2"></font></span> </div>
<div dir="ltr" align="left"><span><font color="#0000ff" face="Arial" size="2">Can you post the first few packets here?- use ethereal
or something to capture and I'll take a look.</font></span></div>
<div dir="ltr" align="left"><span><font color="#0000ff" face="Arial" size="2">-Chris</font></span></div><br>
<div dir="ltr" align="left" lang="en-us">
<hr>
<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)">vlc-bounce@videolan.org</a>] <b>On Behalf Of </b>jogging
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</a><br><b>Subject:</b> [vlc] vlc stop when playing H.264 RTP
stream<br></font><br></div><div><span class="e" id="q_11132224a08a9d78_1">
<div></div>hi,<br> Now I use VLC to play H.264 RTP stream.I
encounter some problems. Before it is about to receive RTP streams, VLC
read a SDP like this,<br>v=0<br>m=video 1100 RTP/AVP
96<br>b=AS:247<br>a=rtpmap:96 H264/90000<br>a=fmtp:96
packetization-mode=1;profile-level-id=42001E;<br><br>Then I send RTP packets,
and VLC recieve them.But VLC stops after printing the following
things:<br>packetizer_h264 debug: found NAL_SPS<br>packetizer_h264 debug: found
NAL_PPS <br><br>Can anyone help me?Thanks<br>Best
Regards<br>jogging<br><br><br><br></span></div></div>
</blockquote></div><br>