<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:x="urn:schemas-microsoft-com:office:excel" xmlns:p="urn:schemas-microsoft-com:office:powerpoint" xmlns:a="urn:schemas-microsoft-com:office:access" xmlns:dt="uuid:C2F41010-65B3-11d1-A29F-00AA00C14882" xmlns:s="uuid:BDC6E3F0-6DA3-11d1-A2A3-00AA00C14882" xmlns:rs="urn:schemas-microsoft-com:rowset" xmlns:z="#RowsetSchema" xmlns:b="urn:schemas-microsoft-com:office:publisher" xmlns:ss="urn:schemas-microsoft-com:office:spreadsheet" xmlns:c="urn:schemas-microsoft-com:office:component:spreadsheet" xmlns:odc="urn:schemas-microsoft-com:office:odc" xmlns:oa="urn:schemas-microsoft-com:office:activation" xmlns:html="http://www.w3.org/TR/REC-html40" xmlns:q="http://schemas.xmlsoap.org/soap/envelope/" xmlns:rtc="http://microsoft.com/officenet/conferencing" xmlns:D="DAV:" xmlns:Repl="http://schemas.microsoft.com/repl/" xmlns:mt="http://schemas.microsoft.com/sharepoint/soap/meetings/" xmlns:x2="http://schemas.microsoft.com/office/excel/2003/xml" xmlns:ppda="http://www.passport.com/NameSpace.xsd" xmlns:ois="http://schemas.microsoft.com/sharepoint/soap/ois/" xmlns:dir="http://schemas.microsoft.com/sharepoint/soap/directory/" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" xmlns:dsp="http://schemas.microsoft.com/sharepoint/dsp" xmlns:udc="http://schemas.microsoft.com/data/udc" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:sub="http://schemas.microsoft.com/sharepoint/soap/2002/1/alerts/" xmlns:ec="http://www.w3.org/2001/04/xmlenc#" xmlns:sp="http://schemas.microsoft.com/sharepoint/" xmlns:sps="http://schemas.microsoft.com/sharepoint/soap/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:udcs="http://schemas.microsoft.com/data/udc/soap" xmlns:udcxf="http://schemas.microsoft.com/data/udc/xmlfile" xmlns:udcp2p="http://schemas.microsoft.com/data/udc/parttopart" xmlns:wf="http://schemas.microsoft.com/sharepoint/soap/workflow/" xmlns:dsss="http://schemas.microsoft.com/office/2006/digsig-setup" xmlns:dssi="http://schemas.microsoft.com/office/2006/digsig" xmlns:mdssi="http://schemas.openxmlformats.org/package/2006/digital-signature" xmlns:mver="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns:mrels="http://schemas.openxmlformats.org/package/2006/relationships" xmlns:spwp="http://microsoft.com/sharepoint/webpartpages" xmlns:ex12t="http://schemas.microsoft.com/exchange/services/2006/types" xmlns:ex12m="http://schemas.microsoft.com/exchange/services/2006/messages" xmlns:pptsl="http://schemas.microsoft.com/sharepoint/soap/SlideLibrary/" xmlns:spsl="http://microsoft.com/webservices/SharePointPortalServer/PublishedLinksService" xmlns:Z="urn:schemas-microsoft-com:" xmlns:st="" xmlns="http://www.w3.org/TR/REC-html40">

<head>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 12 (filtered medium)">
<style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:Verdana;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
-->
</style>
<!--[if gte mso 9]><xml>
 <o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
 <o:shapelayout v:ext="edit">
  <o:idmap v:ext="edit" data="1" />
 </o:shapelayout></xml><![endif]-->
</head>

<body lang=EN-US link=blue vlink=purple>

<div class=WordSection1>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>Double check the SPS and PPS ? If they are wrong, you won’t see
video…<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p> </o:p></span></p>

<div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in'>

<p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span
style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>
live-devel-bounces@ns.live555.com [mailto:live-devel-bounces@ns.live555.com] <b>On
Behalf Of </b>doherty pete<br>
<b>Sent:</b> Thursday, January 13, 2011 12:31 AM<br>
<b>To:</b> live-devel@ns.live555.com<br>
<b>Subject:</b> [Live-devel] help rtsp vlc<o:p></o:p></span></p>

</div>

<p class=MsoNormal><o:p> </o:p></p>

<p class=MsoNormal>i write rtsp server myself,and play with vlc: vlc -vvv <a
href="rtsp://192.168.0.107:5554/TestSession">rtsp://192.168.0.107:5554/TestSession</a><br>
and log is<br>
<br>
Sending request: OPTIONS <a href="rtsp://192.168.0.107:5554/TestSession">rtsp://192.168.0.107:5554/TestSession</a> RTSP/1.0<br>
CSeq: 1<br>
User-Agent: VLC media player (LIVE555 Streaming Media v2010.02.10)<br>
<br>
<br>
Received OPTIONS response: RTSP/1.0 200 OK<br>
CSeq: 1<br>
Server:Vstream Streaming Server V1.0<br>
Public:DESCRIBE,SETUP,TEARDOWN,PLAY<br>
<br>
<br>
Sending request: DESCRIBE <a href="rtsp://192.168.0.107:5554/TestSession">rtsp://192.168.0.107:5554/TestSession</a> RTSP/1.0<br>
CSeq: 2<br>
Accept: application/sdp<br>
User-Agent: VLC media player (LIVE555 Streaming Media v2010.02.10)<br>
<br>
Received DESCRIBE response: RTSP/1.0 200 OK<br>
CSeq: 2<br>
Server: RTSP Service<br>
Content-Base: <a href="rtsp://192.168.0.107:5554/TestSession">rtsp://192.168.0.107:5554/TestSession</a><br>
Content-Type: application/sdp<br>
Content-Length: 363<o:p></o:p></p>

<div>

<p class=MsoNormal><span style='font-family:"Verdana","sans-serif";color:#333333'><br
clear=all>
</span>Need to read 363 extra bytes<br>
Read 363 extra bytes: v=0<br>
o=- 2231677159 2231677159 IN IP4 192.168.0.107<br>
s=TestSession<br>
c=IN IP4 192.168.0.100<br>
t=0 0<br>
a=control:*<br>
m=video 0 RTP/AVP 96<br>
b=AS:0<br>
a=rtpmap:96 H264/90000<br>
a=fmtp:96
profile-level-id=000064;sprop-parameter-sets=AAABZ2QADKw07BQfsBEAAAMAAAQAAAwAejxQpOA==,AAABao6csiw==;
packetization-mode=1;<br>
a=cliprect:0,0,240,320<br>
a=mpeg4-esid:201<br>
a=control:trackID=1<br>
<br>
[0x90b3e40] live555 demux debug: RTP subsession 'video/H264'<br>
Sending request: SETUP <a
href="rtsp://192.168.0.107:5554/TestSession/trackID=1">rtsp://192.168.0.107:5554/TestSession/trackID=1</a> RTSP/1.0<br>
CSeq: 3<br>
Transport: RTP/AVP;unicast;client_port=48228-48229<br>
User-Agent: VLC media player (LIVE555 Streaming Media v2010.02.10)<br>
<br>
<br>
Received SETUP response: RTSP/1.0 200 OK<br>
CSeq: 3<br>
Session: 2231770760<br>
Transport: RTP/AVP;unicast;source=192.168.0.107;server_port=8000-8001;client_port=48228-48229;ssrc:2231769018<br>
<br>
<br>
[0x8e6a5a0] main input debug: selecting program id=0<br>
[0x90b3e40] live555 demux debug: setup start: 0.000000 stop:0.000000<br>
Sending request: PLAY <a href="rtsp://192.168.0.107:5554/TestSession">rtsp://192.168.0.107:5554/TestSession</a> RTSP/1.0<br>
CSeq: 4<br>
Session: 2231770760<br>
Range: npt=0.000-<br>
User-Agent: VLC media player (LIVE555 Streaming Media v2010.02.10)<br>
<br>
Received PLAY response: RTSP/1.0 200 OK<br>
CSeq: 4<br>
Session:2231770760<br>
RTP-Info:url=rtsp://<a
href="http://console.mxlogic.com/redir/?kPhOYqemm67zqoV5xCXZPo0d4QsFYyUZR-hKeivvvoM4_ioNZaiH39NSNkd3zAjt-jLuZXTLuVKVI-hDOW7CvfbAaJMJZ0l2D7Oc---_OVJBZVVYSyCqem3hPtVdNUSCUrdbolApYKxVDPPiWq82vDH6y2cWb6y0OvoTfM-u0USyrjdFzAm4NPZPp9TpfIyx">192.168.0.107:5554/TestSession/trackID=1</a><br>
<br>
<br>
[0x90b3e40] live555 demux debug: play start: 0.000000 stop:0.000000<br>
[0x90b3e40] main demux debug: using access_demux module "live555"<br>
[0x90b3e40] main demux debug: TIMER module_need() : 15.626 ms - Total 15.626 ms
/ 1 intvls (Avg 15.626 ms)<br>
[0x90b4b08] main decoder debug: looking for decoder module: 31 candidates<br>
[0x8e64278] qt4 interface debug: Updating the geometry<br>
[0x8e64278] qt4 interface debug: Updating the geometry<br>
[0x8e64278] qt4 interface debug: Updating the geometry<br>
[0x8e64278] qt4 interface debug: Updating the geometry<br>
[0x8e64278] qt4 interface debug: Updating the geometry<br>
[0x90b4b08] avcodec decoder debug: libavcodec initialized (interface 0x341401)<br>
[0x90b4b08] avcodec decoder debug: ffmpeg codec (H264 - MPEG-4 AVC (part 10))
started<br>
<br>
[0x90b4b08] main decoder debug: using decoder module "avcodec"<br>
[0x90b4b08] main decoder debug: TIMER module_need() : 276.835 ms - Total
276.835 ms / 1 intvls (Avg 276.835 ms)<br>
[0x90cd650] main packetizer debug: looking for packetizer module: 21 candidates<br>
[0x90cd650] packetizer_h264 packetizer debug: found NAL_PPS (pps_id=0 sps_id=0)<br>
[0x90cd650] packetizer_h264 packetizer debug: found NAL_SPS (sps_id=0)<br>
[0x90cd650] main packetizer debug: using packetizer module
"packetizer_h264"<br>
[0x90cd650] main packetizer debug: TIMER module_need() : 8.889 ms - Total 8.889
ms / 1 intvls (Avg 8.889 ms)<br>
[0x90b4b08] main decoder debug: thread (decoder) created at priority 0
(input/decoder.c:315)<br>
[0x90b4b08] main decoder debug: thread started<br>
[0x8e6a5a0] main input debug: `rtsp://<a
href="http://console.mxlogic.com/redir/?5cQsL6zBBxxUSCehopK_sS03hd7av8KftvArzADTTSc1fQCcviAGMdTVeZXTLuZXCXCPV6vbEupYYKgGT2TQ1kasv8PXXX_bCSnTDDPqapEVod7dTAT7zqrxIQJxmhDOW7CvfdbFEw9-uIq88PEIq839Zzs_3VU3zqpJcSCehoj7fTdYY_wTF1X4HtI">192.168.0.107:5554/TestSession</a>'
successfully opened<br>
[0x8e64278] qt4 interface debug: Updating the geometry<br>
[0x8e64278] qt4 interface debug: Updating the geometry<br>
[0x90b3e40] live555 demux warning: no data received in 10s. Switching to TCP<br>
[0x90b4b08] avcodec decoder debug: ffmpeg codec (H264 - MPEG-4 AVC (part 10))
stopped<br>
opped<br>
[0x90b4b08] main decoder debug: removing module "avcodec"<br>
[0x90b4b08] main decoder debug: killing decoder fourcc `h264', 0 PES in FIFO<br>
[0x90cd650] main packetizer debug: removing module "packetizer_h264"<br>
[0x8e6a5a0] main input debug: Program doesn't contain anymore ES<br>
Sending request: TEARDOWN rt <a href="sp://192.168.0.107:5554/TestSession">sp://192.168.0.107:5554/TestSession</a> RTSP/1.0<br>
CSeq: 5<br>
Session: 2231770760<br>
User-Agent: VLC media player (LIVE555 Streaming Media v2010.02.10)<br>
<br>
<br>
[0x90b3e40] live555 demux warning: no data received in 10s. Switching to TCP<br>
<br>
i got the client port 48228-48229,48228 is the rtp port and 48299 is the rtcp
port, right?<br>
i have send the rtp data to port 48288,but why vlc said no data received?<o:p></o:p></p>

</div>

<div>

<p class=MsoNormal><span style='font-family:"Verdana","sans-serif";color:#333333'>is the RTP
not cerrect?<br>
</span>-- <br>
pete_doherty<o:p></o:p></p>

</div>

</div>

</body>

</html>