[Live-devel] help rtsp vlc

doherty pete nishizawa23 at gmail.com
Thu Jan 13 00:30:33 PST 2011


i write rtsp server myself,and play with vlc: vlc -vvv
rtsp://192.168.0.107:5554/TestSession
and log is

Sending request: OPTIONS rtsp://192.168.0.107:5554/TestSession RTSP/1.0
CSeq: 1
User-Agent: VLC media player (LIVE555 Streaming Media v2010.02.10)


Received OPTIONS response: RTSP/1.0 200 OK
CSeq: 1
Server:Vstream Streaming Server V1.0
Public:DESCRIBE,SETUP,TEARDOWN,PLAY


Sending request: DESCRIBE rtsp://192.168.0.107:5554/TestSession RTSP/1.0
CSeq: 2
Accept: application/sdp
User-Agent: VLC media player (LIVE555 Streaming Media v2010.02.10)

Received DESCRIBE response: RTSP/1.0 200 OK
CSeq: 2
Server: RTSP Service
Content-Base: rtsp://192.168.0.107:5554/TestSession
Content-Type: application/sdp
Content-Length: 363

Need to read 363 extra bytes
Read 363 extra bytes: v=0
o=- 2231677159 2231677159 IN IP4 192.168.0.107
s=TestSession
c=IN IP4 192.168.0.100
t=0 0
a=control:*
m=video 0 RTP/AVP 96
b=AS:0
a=rtpmap:96 H264/90000
a=fmtp:96
profile-level-id=000064;sprop-parameter-sets=AAABZ2QADKw07BQfsBEAAAMAAAQAAAwAejxQpOA==,AAABao6csiw==;
packetization-mode=1;
a=cliprect:0,0,240,320
a=mpeg4-esid:201
a=control:trackID=1

[0x90b3e40] live555 demux debug: RTP subsession 'video/H264'
Sending request: SETUP rtsp://192.168.0.107:5554/TestSession/trackID=1
 RTSP/1.0
CSeq: 3
Transport: RTP/AVP;unicast;client_port=48228-48229
User-Agent: VLC media player (LIVE555 Streaming Media v2010.02.10)


Received SETUP response: RTSP/1.0 200 OK
CSeq: 3
Session: 2231770760
Transport:
RTP/AVP;unicast;source=192.168.0.107;server_port=8000-8001;client_port=48228-48229;ssrc:2231769018


[0x8e6a5a0] main input debug: selecting program id=0
[0x90b3e40] live555 demux debug: setup start: 0.000000 stop:0.000000
Sending request: PLAY rtsp://192.168.0.107:5554/TestSession RTSP/1.0
CSeq: 4
Session: 2231770760
Range: npt=0.000-
User-Agent: VLC media player (LIVE555 Streaming Media v2010.02.10)

Received PLAY response: RTSP/1.0 200 OK
CSeq: 4
Session:2231770760
RTP-Info:url=rtsp://192.168.0.107:5554/TestSession/trackID=1


[0x90b3e40] live555 demux debug: play start: 0.000000 stop:0.000000
[0x90b3e40] main demux debug: using access_demux module "live555"
[0x90b3e40] main demux debug: TIMER module_need() : 15.626 ms - Total 15.626
ms / 1 intvls (Avg 15.626 ms)
[0x90b4b08] main decoder debug: looking for decoder module: 31 candidates
[0x8e64278] qt4 interface debug: Updating the geometry
[0x8e64278] qt4 interface debug: Updating the geometry
[0x8e64278] qt4 interface debug: Updating the geometry
[0x8e64278] qt4 interface debug: Updating the geometry
[0x8e64278] qt4 interface debug: Updating the geometry
[0x90b4b08] avcodec decoder debug: libavcodec initialized (interface
0x341401)
[0x90b4b08] avcodec decoder debug: ffmpeg codec (H264 - MPEG-4 AVC (part
10)) started

[0x90b4b08] main decoder debug: using decoder module "avcodec"
[0x90b4b08] main decoder debug: TIMER module_need() : 276.835 ms - Total
276.835 ms / 1 intvls (Avg 276.835 ms)
[0x90cd650] main packetizer debug: looking for packetizer module: 21
candidates
[0x90cd650] packetizer_h264 packetizer debug: found NAL_PPS (pps_id=0
sps_id=0)
[0x90cd650] packetizer_h264 packetizer debug: found NAL_SPS (sps_id=0)
[0x90cd650] main packetizer debug: using packetizer module "packetizer_h264"
[0x90cd650] main packetizer debug: TIMER module_need() : 8.889 ms - Total
8.889 ms / 1 intvls (Avg 8.889 ms)
[0x90b4b08] main decoder debug: thread (decoder) created at priority 0
(input/decoder.c:315)
[0x90b4b08] main decoder debug: thread started
[0x8e6a5a0] main input debug: `rtsp://192.168.0.107:5554/TestSession'
successfully opened
[0x8e64278] qt4 interface debug: Updating the geometry
[0x8e64278] qt4 interface debug: Updating the geometry
[0x90b3e40] live555 demux warning: no data received in 10s. Switching to TCP
[0x90b4b08] avcodec decoder debug: ffmpeg codec (H264 - MPEG-4 AVC (part
10)) stopped
opped
[0x90b4b08] main decoder debug: removing module "avcodec"
[0x90b4b08] main decoder debug: killing decoder fourcc `h264', 0 PES in FIFO
[0x90cd650] main packetizer debug: removing module "packetizer_h264"
[0x8e6a5a0] main input debug: Program doesn't contain anymore ES
Sending request: TEARDOWN rt sp://192.168.0.107:5554/TestSession RTSP/1.0
CSeq: 5
Session: 2231770760
User-Agent: VLC media player (LIVE555 Streaming Media v2010.02.10)


[0x90b3e40] live555 demux warning: no data received in 10s. Switching to TCP

i got the client port 48228-48229,48228 is the rtp port and 48299 is the
rtcp port, right?
i have send the rtp data to port 48288,but why vlc said no data received?
is the RTP not cerrect?
-- 
pete_doherty
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.live555.com/pipermail/live-devel/attachments/20110113/c686b24c/attachment-0001.html>


More information about the live-devel mailing list