[Live-devel] problem using openRTSP

Autuori Gianluigi Autuori.Gianluigi.Wintime at ansaldobreda.it
Thu May 12 04:55:26 PDT 2011


Hello, I'm using openRTSP under Linux
I'm capturing H264 stream from axis camera:
 
openRTSP -d 20 -4 -f 3 -w 640 -h 480 -b 400000
"rtsp://10.10.1.61/axis-media/media.amp?compression=35&fps=3" >video.avi
sometimes the video is grey
 
the output on the shell is:
************************************************************************
************************************************************************
**********************************
Sending request: OPTIONS
rtsp://10.10.1.61/axis-media/media.amp?compression=35&fps=3 RTSP/1.0
CSeq: 1
User-Agent: openRTSP (LIVE555 Streaming Media v2010.04.09)
 

Received OPTIONS response: RTSP/1.0 200 OK
CSeq: 1
Public: DESCRIBE, GET_PARAMETER, PAUSE, PLAY, SETUP, SET_PARAMETER,
TEARDOWN
Date: Thu, 12 May 2011 11:50:57 GMT
 

Sending request: DESCRIBE
rtsp://10.10.1.61/axis-media/media.amp?compression=35&fps=3 RTSP/1.0
CSeq: 2
Accept: application/sdp
User-Agent: openRTSP (LIVE555 Streaming Media v2010.04.09)
 

Received DESCRIBE response: RTSP/1.0 200 OK
CSeq: 2
Content-Type: application/sdp
Content-Base: rtsp://10.10.1.61/axis-media/media.amp/
Date: Thu, 12 May 2011 11:50:57 GMT
Content-Length: 496
 

Need to read 496 extra bytes
Read 496 extra bytes: v=0
o=- 1305201057626077 1305201057626077 IN IP4 10.10.1.61
s=Media Presentation
e=NONE
c=IN IP4 0.0.0.0
b=AS:50000
t=0 0
a=control:rtsp://10.10.1.61/axis-media/media.amp?compression=35&fps=3
a=range:npt=0.000000-
m=video 0 RTP/AVP 96
b=AS:50000
a=framerate:3.0
a=control:rtsp://10.10.1.61/axis-media/media.amp/trackID=1?compression=3
5&fps=3
a=rtpmap:96 H264/90000
a=fmtp:96 packetization-mode=1; profile-level-id=420029;
sprop-parameter-sets=Z0IAKeKQGQJvy4C3AQEBpB4kRUA=,aM48gA==
 
Opened URL
"rtsp://10.10.1.61/axis-media/media.amp?compression=35&fps=3", returning
a SDP description:
v=0
o=- 1305201057626077 1305201057626077 IN IP4 10.10.1.61
s=Media Presentation
e=NONE
c=IN IP4 0.0.0.0
b=AS:50000
t=0 0
a=control:rtsp://10.10.1.61/axis-media/media.amp?compression=35&fps=3
a=range:npt=0.000000-
m=video 0 RTP/AVP 96
b=AS:50000
a=framerate:3.0
a=control:rtsp://10.10.1.61/axis-media/media.amp/trackID=1?compression=3
5&fps=3
a=rtpmap:96 H264/90000
a=fmtp:96 packetization-mode=1; profile-level-id=420029;
sprop-parameter-sets=Z0IAKeKQGQJvy4C3AQEBpB4kRUA=,aM48gA==
 
Created receiver for "video/H264" subsession (client ports 55386-55387)
Sending request: SETUP
rtsp://10.10.1.61/axis-media/media.amp/trackID=1?compression=35&fps=3
RTSP/1.0
CSeq: 3
Transport: RTP/AVP;unicast;client_port=55386-55387
User-Agent: openRTSP (LIVE555 Streaming Media v2010.04.09)
 

Received SETUP response: RTSP/1.0 200 OK
CSeq: 3
Session: 9D3B4ABC; timeout=60
Transport:
RTP/AVP;unicast;client_port=55386-55387;server_port=50804-50805;ssrc=7BD
D6747;mode="PLAY"
Date: Thu, 12 May 2011 11:50:57 GMT
 

Setup "video/H264" subsession (client ports 55386-55387)
Sending request: PLAY
rtsp://10.10.1.61/axis-media/media.amp?compression=35&fps=3 RTSP/1.0
CSeq: 4
Session: 9D3B4ABC
Range: npt=0.000-10.000
User-Agent: openRTSP (LIVE555 Streaming Media v2010.04.09)
 

Received PLAY response: RTSP/1.0 200 OK
CSeq: 4
Session: 9D3B4ABC
Range: npt=0.145443-
RTP-Info:
url=rtsp://10.10.1.61/axis-media/media.amp/trackID=1?compression=35&fps=
3;seq=27911;rtptime=588695951
Date: Thu, 12 May 2011 11:50:57 GMT
 

Started playing session
Receiving streamed data (for up to 10.000000 seconds)...
 
Sending request: TEARDOWN
rtsp://10.10.1.61/axis-media/media.amp?compression=35&fps=3 RTSP/1.0
CSeq: 5
Session: 9D3B4ABC
User-Agent: openRTSP (LIVE555 Streaming Media v2010.04.09)
 

Received TEARDOWN response: RTSP/1.0 200 OK
CSeq: 5
Session: 9D3B4ABC
Date: Thu, 12 May 2011 11:51:07 GMT
************************************************************************
************************************************************************
**********
Is there something wrong?
 
thank you
Gianluigi

--------------------------------------------------------------------------------
Questo messaggio e-mail e ogni documento ad esso eventualmente allegato puo' avere carattere riservato ed essere tutelato da segreto. Esso,comunque, e'
ad esclusivo utilizzo del destinatario in indirizzo. Qualora non foste il destinatario del messaggio vi preghiamo di volerci avvertire immediatamente per e-mail o telefono e di cancellare il presente messaggio e ogni eventuale allegato dal vostro sistema. E' vietata la duplicazione o l'utilizzo per qualunque fine del messaggio e di ogni allegato, nonche' la loro divulgazione, distribuzione o inoltro a terzi senza l'espressa autorizzazione del mittente. In ragione del mezzo di trasmissione utilizzato, il mittente non assume alcuna responsabilita' sulla segretezza/riservatezza delle informazioni contenute nel messaggio e nei relativi allegati. 

This e-mail and any file transmitted with it may contain material that is confidential, privileged and/or attorney work product for the sole use of the intended recipient. If you are not the intended recipient of this e-mail, please do not read it, notify us immediately by e-mail or by telephone and then delete this message and any file attached from your system. You should not copy or use it for any purpose, disclose the contents of the same to any other person or forward it without express permission.
Considering the means of transmission, we do not undertake any liability with respect to the secrecy and confidentiality of the information contained in this e-mail and its attachments.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.live555.com/pipermail/live-devel/attachments/20110512/f33da281/attachment-0001.html>


More information about the live-devel mailing list