<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2745.2800" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Can u verify without using VLC that your H264
frames are ok? i.e play it from file or something. VLC will play h264 from file
so maby try that first.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Your SDP looks ok although I'm not familiar
with the specific h263 fmtp options, try just having</FONT></DIV>
<DIV><FONT face=Arial size=2>fmtp:96</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>your SDP states you are streaming to port 1100 so
make sure your streamer is in fact doing this (obvious I know
but...)</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Run up ethereal and capture the first couple of
packet and see if they look ok. Check that your RTP header payload type is in
fact 96 and not the non-dynamic one (forget which number this is for
H264...35?)</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>-Chris</FONT></DIV>
<BLOCKQUOTE
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
<DIV
style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B>
<A title=joggingsong@gmail.com href="mailto:joggingsong@gmail.com">jogging
song</A> </DIV>
<DIV style="FONT: 10pt arial"><B>To:</B> <A title=vlc@videolan.org
href="mailto:vlc@videolan.org">vlc@videolan.org</A> </DIV>
<DIV style="FONT: 10pt arial"><B>Sent:</B> Friday, March 09, 2007 2:54
AM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> [vlc] Re: vlc stop when playing
H.264 RTP stream</DIV>
<DIV><FONT face=Arial size=2></FONT><FONT face=Arial
size=2></FONT><BR></DIV>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="PADDING-LEFT: 1ex; MARGIN: 0pt 0pt 0pt 0.8ex; BORDER-LEFT: rgb(204,204,204) 1px solid">
<DIV>
<DIV dir=ltr align=left><SPAN><FONT face=Arial color=#0000ff size=2>Not sure
what that erro msg means but here are a f</FONT></SPAN><SPAN><FONT
face=Arial color=#0000ff size=2>ew quick things to
check:</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN><FONT face=Arial color=#0000ff size=2>1. Are
you setting the RTP payload to 96 in your stream?</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN><FONT face=Arial color=#0000ff 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 face=Arial color=#0000ff 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 face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN><FONT face=Arial color=#0000ff 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 face=Arial color=#0000ff
size=2>-Chris</FONT></SPAN></DIV><BR>
<DIV lang=en-us dir=ltr align=left>
<HR>
<FONT face=Tahoma size=2><B>From:</B> <A
onclick="return top.js.OpenExtLink(window,event,this)"
href="mailto:vlc-bounce@videolan.org"
target=_blank>vlc-bounce@videolan.org</A> [mailto:<A
onclick="return top.js.OpenExtLink(window,event,this)"
href="mailto:vlc-bounce@videolan.org"
target=_blank>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
onclick="return top.js.OpenExtLink(window,event,this)"
href="mailto:vlc@videolan.org"
target=_blank>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></BLOCKQUOTE></BODY></HTML>