[Live-devel] Vbrick

S ts msts06 at gmail.com
Tue Dec 12 13:22:58 PST 2006


Hi,
I am trying to use openRTSP to record a video stream from vbrick in fedora
linux.
For a quicktime stream I use the command:
openRTSP -q -f 30 -h 240 -w 320 -V  rtsp://vbrick>tst.mov

The output is:
Sending request: OPTIONS rtsp://vbrick RTSP/1.0
CSeq: 1
User-Agent: ./openRTSP (LIVE555 Streaming Media v2006.12.08)


Received OPTIONS response: RTSP/1.0 200 OK
CSeq: 1
Public: OPTIONS, DESCRIBE, SETUP, TEARDOWN, PLAY, PAUSE


Sending request: DESCRIBE rtsp://vbrick RTSP/1.0
CSeq: 2
Accept: application/sdp
User-Agent: ./openRTSP (LIVE555 Streaming Media v2006.12.08)


Received DESCRIBE response: RTSP/1.0 200 OK
Server: VBrick VB6000 Server
CSeq: 2
Content-Length: 1106
Content-Type: application/sdp
Content-Base: rtsp://vbrick/


Need to read 1106 extra bytes
Read 1106 extra bytes: v=0
o=- 5699360993 1 IN IP4 192.168.0.0
s=vbrickvideo1
c=IN IP4 0.0.0.0
b=AS:1328
t=0 0
a=control:rtsp://vbrick
a=tool:VBrick
a=ISMA-compliance:1,1.0,1
a=mpeg4-iod:
"data:application/mpeg4-iod;base64,AoIvAE//AQ/3AQOBOgABQJxkYXRhOmFwcGxpY2F0aW9uL21wZWc0LW9kLWF1O2Jhc2U2NCxBVllCS2dVZkF5WUEzaUFBYndRTklCRUJRQUFBRkNSQUFCSlBnQVlRQUVRQUFWK1FBQUFBQUNBQUFBQUFBd0VvQXA4REpBQnZBQVFOUUJVQUgwQUFBZzBBQUFIMEFBWVFBRVFBQUx1QUFBQzdnQ0FnQUFBQUF3PT0EDQEFAADIAAAAAAAAAAAGCQEAAAAAAAAAAANpAAJARmRhdGE6YXBwbGljYXRpb24vbXBlZzQtYmlmcy1hdTtiYXNlNjQsd0JBU2dUQXFCVzBtRUVIOEFBQUIvQUFBQkVLQ0tDbjQEEgINAAAUAAAAAAAAAAAFAwAAYAYJAQAAAAAAAAAA"
m=video 0 RTP/AVP 96
b=AS:1200
a=rtpmap:96 MP4V-ES/90000
a=control:trackID=11
a=cliprect:0,0,240,352
a=fmtp:96
profile-level-id=247;config=000001B0f7000001B50d0f0000010000000120008C5D4C285820F0A31F
a=mpeg4-esid:222
m=audio 0 RTP/AVP 97
b=AS:128
a=rtpmap:97 mpeg4-generic/48000/2
a=control:trackID=12
a=fmtp:97 streamtype=5; profile-level-id=15; mode=AAC-hbr; config=1190;
SizeLength=13; IndexLength=3; IndexDeltaLength=3; Profile=1
a=mpeg4-esid:111

Opened URL "rtsp://vbrick", returning a SDP description:
v=0
o=- 5699360993 1 IN IP4 192.168.0.0
s=vbrickvideo1
c=IN IP4 0.0.0.0
b=AS:1328
t=0 0
a=control:rtsp://vbrick
a=tool:VBrick
a=ISMA-compliance:1,1.0,1
a=mpeg4-iod:
"data:application/mpeg4-iod;base64,AoIvAE//AQ/3AQOBOgABQJxkYXRhOmFwcGxpY2F0aW9uL21wZWc0LW9kLWF1O2Jhc2U2NCxBVllCS2dVZkF5WUEzaUFBYndRTklCRUJRQUFBRkNSQUFCSlBnQVlRQUVRQUFWK1FBQUFBQUNBQUFBQUFBd0VvQXA4REpBQnZBQVFOUUJVQUgwQUFBZzBBQUFIMEFBWVFBRVFBQUx1QUFBQzdnQ0FnQUFBQUF3PT0EDQEFAADIAAAAAAAAAAAGCQEAAAAAAAAAAANpAAJARmRhdGE6YXBwbGljYXRpb24vbXBlZzQtYmlmcy1hdTtiYXNlNjQsd0JBU2dUQXFCVzBtRUVIOEFBQUIvQUFBQkVLQ0tDbjQEEgINAAAUAAAAAAAAAAAFAwAAYAYJAQAAAAAAAAAA"
m=video 0 RTP/AVP 96
b=AS:1200
a=rtpmap:96 MP4V-ES/90000
a=control:trackID=11
a=cliprect:0,0,240,352
a=fmtp:96
profile-level-id=247;config=000001B0f7000001B50d0f0000010000000120008C5D4C285820F0A31F
a=mpeg4-esid:222
m=audio 0 RTP/AVP 97
b=AS:128
a=rtpmap:97 mpeg4-generic/48000/2
a=control:trackID=12
a=fmtp:97 streamtype=5; profile-level-id=15; mode=AAC-hbr; config=1190;
SizeLength=13; IndexLength=3; IndexDeltaLength=3; Profile=1
a=mpeg4-esid:111

Created receiver for "video/MP4V-ES" subsession (client ports 32858-32859)
Created receiver for "audio/MPEG4-GENERIC" subsession (client ports
32860-32861)
Sending request: SETUP rtsp://vbrick/trackID=11 RTSP/1.0
CSeq: 3
Transport: RTP/AVP;unicast;client_port=32858-32859
User-Agent: ./openRTSP (LIVE555 Streaming Media v2006.12.08)


Received SETUP response: RTSP/1.0 200 OK
Server: VBrick VB6000 Server
CSeq: 3
Session: 457f1c060d0a38e4;timeout=30
Transport: RTP/AVP;unicast;client_port=32858-32859;source=192.168.0.0
;server_port=6966-6967;ssrc=19ad2b5e


Setup "video/MP4V-ES" subsession (client ports 32858-32859)
Sending request: SETUP rtsp://vbrick/trackID=12 RTSP/1.0
CSeq: 4
Transport: RTP/AVP;unicast;client_port=32860-32861
Session: 457f1c060d0a38e4
User-Agent: ./openRTSP (LIVE555 Streaming Media v2006.12.08)


Received SETUP response: RTSP/1.0 200 OK
Server: VBrick VB6000 Server
CSeq: 4
Session: 457f1c060d0a38e4;timeout=30
Transport: RTP/AVP;unicast;client_port=32860-32861;source=192.168.0.0
;server_port=6966-6967;ssrc=7ef222b4


Setup "audio/MPEG4-GENERIC" subsession (client ports 32860-32861)
Sending request: PLAY rtsp://vbrick/ RTSP/1.0
CSeq: 5
Session: 457f1c060d0a38e4
Range: npt=0.000-
User-Agent: ./openRTSP (LIVE555 Streaming Media v2006.12.08)


Received PLAY response: RTSP/1.0 200 OK
Server: VBrick VB6000 Server
CSeq: 5
Session: 457f1c060d0a38e4
RTP-Info:
url=trackID=11;seq=1;rtptime=1252187127,url=trackID=12;seq=1;rtptime=954164287

Is the Rtptime right?
In Quicktime this video shows a black screen but you can hear the audio. In
VLC both audio and video are present but are out of synch. I am new to RTSP
so would appreciate any help anyone can give me in trying to solve this
problem.
Thank you.
sts
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.live555.com/pipermail/live-devel/attachments/20061212/8aae8ad4/attachment-0001.html 


More information about the live-devel mailing list