Page 1 of 1

H.264/avc stream

Posted: 08 Nov 2004 03:03
by freshadow
[root@localhost vlc-trunk]# mp4info /root/321.mp4
mp4info version 1.1.7
/root/321.mp4:
Track Type Info
1 od Object Descriptors
2 scene BIFS
201 video H.264, 236.706 secs, 248 kbps, 352x288 @ 24.000237 fps
65737 hint Payload a=rtpmap:96 mpeg4-generic for track 201
101 audio MPEG-4 AAC LC, 236.704 secs, 31 kbps, 22050 Hz
65637 hint Payload a=rtpmap:97 mpeg4-generic for track 101

DSS/5.0.1.1
vlc:svn on 2.Nov


[root@localhost vlc-trunk]# vlc rtsp://192.168.0.80/321.mp4
VLC media player 0.8.0 Janus
Sending request: OPTIONS rtsp://192.168.0.80/321.mp4 RTSP/1.0
CSeq: 1
User-Agent: VLC Media Player (LIVE.COM Streaming Media v2004.10.28)


Received OPTIONS response: RTSP/1.0 200 OK
Server: DSS/5.0.1.1 (Build/464.1.1; Platform/Win32; Release/5; )
Cseq: 1
Public: DESCRIBE, SETUP, TEARDOWN, PLAY, PAUSE, ANNOUNCE, SET_PARAMETER, RECORD


Sending request: DESCRIBE rtsp://192.168.0.80/321.mp4 RTSP/1.0
CSeq: 2
Accept: application/sdp
User-Agent: VLC Media Player (LIVE.COM Streaming Media v2004.10.28)


Received DESCRIBE response: RTSP/1.0 200 OK
Server: DSS/5.0.1.1 (Build/464.1.1; Platform/Win32; Release/5; )
Cseq: 2
Last-Modified: Mon, 25 Oct 2004 03:17:00 GMT
Cache-Control: must-revalidate
Content-length: 1258
Date: Tue, 02 Nov 2004 08:36:52 GMT
Expires: Tue, 02 Nov 2004 08:36:52 GMT
Content-Type: application/sdp
x-Accept-Retransmit: our-retransmit
x-Accept-Dynamic-Rate: 1
Content-Base: rtsp://192.168.0.80/321.mp4/


Need to read 1258 extra bytes
Read 1258 extra bytes: v=0
o=StreamingServer 3308373459 1098674220000 IN IP4 192.168.0.80
s=\321.mp4
u=http:///
e=admin@
c=IN IP4 0.0.0.0
t=0 0
a=control:*
a=mpeg4-iod:"data:application/mpeg4-iod;base64,AoIvAE///w/+/wOBOgABQJxkYXRhOmFwcGxpY2F0aW9uL21wZWc0LW9kLWF1O2Jhc2U2NCxBVllCS2dVZkF5WUF5U0FBWlFRTklSRUFlaElBQTlDUUFBUFFrQVlRQUVRQUFWK1FBQUZma0NBQUFBQUFBd0VvQXA4REpBQmxBQVFOUUJVQUF3QUFBSGp5QUFCNDhnWVFBRVFBQUZZaUFBRmZrQ0FBQUFBQUF3PT0EDQEFAADIAAAAAAAAAAAGCQEAAAAAAAAAAANpAAJARmRhdGE6YXBwbGljYXRpb24vbXBlZzQtYmlmcy1hdTtiYXNlNjQsd0JBU2dUQXFCVzBtRUVIOEFBQUIvQUFBQkVLQ0tDbjQEEgINAAAgAAAAAAAAAAAFAwAAQAYJAQAAAAAAAAAA"
a=range:npt=0- 236.70633
m=video 0 RTP/AVP 96
b=AS:261
a=rtpmap:96 mpeg4-generic/90000
a=fmtp:96 profile-level-id=254; config=014D400DFFE1000F674D400D96540B04A7FE000200020101000468EE3880; streamtype=4; ObjectType=33; mode=generic; DTSDeltaLength=23; RandomAccessIndication=1; StreamStateIndication=6
a=cliprect:0,0,288,352
a=mpeg4-esid:201
a=x-envivio-verid:00011995
a=control:trackID=65737
m=audio 0 RTP/AVP 97
b=AS:38
a=rtpmap:97 mpeg4-generic/22050/1
a=fmtp:97 profile-level-id=15; config=1388; streamtype=5; mode=AAC-hbr; SizeLength=13; IndexLength=3; IndexDeltaLength=3
a=mpeg4-esid:101
a=x-envivio-verid:00011995
a=control:trackID=65637

sdp=v=0
o=StreamingServer 3308373459 1098674220000 IN IP4 192.168.0.80
s=\321.mp4
u=http:///
e=admin@
c=IN IP4 0.0.0.0
t=0 0
a=control:*
a=mpeg4-iod:"data:application/mpeg4-iod;base64,AoIvAE///w/+/wOBOgABQJxkYXRhOmFwcGxpY2F0aW9uL21wZWc0LW9kLWF1O2Jhc2U2NCxBVllCS2dVZkF5WUF5U0FBWlFRTklSRUFlaElBQTlDUUFBUFFrQVlRQUVRQUFWK1FBQUZma0NBQUFBQUFBd0VvQXA4REpBQmxBQVFOUUJVQUF3QUFBSGp5QUFCNDhnWVFBRVFBQUZZaUFBRmZrQ0FBQUFBQUF3PT0EDQEFAADIAAAAAAAAAAAGCQEAAAAAAAAAAANpAAJARmRhdGE6YXBwbGljYXRpb24vbXBlZzQtYmlmcy1hdTtiYXNlNjQsd0JBU2dUQXFCVzBtRUVIOEFBQUIvQUFBQkVLQ0tDbjQEEgINAAAgAAAAAAAAAAAFAwAAQAYJAQAAAAAAAAAA"
a=range:npt=0- 236.70633
m=video 0 RTP/AVP 96
b=AS:261
a=rtpmap:96 mpeg4-generic/90000
a=fmtp:96 profile-level-id=254; config=014D400DFFE1000F674D400D96540B04A7FE000200020101000468EE3880; streamtype=4; ObjectType=33; mode=generic; DTSDeltaLength=23; RandomAccessIndication=1; StreamStateIndication=6
a=cliprect:0,0,288,352
a=mpeg4-esid:201
a=x-envivio-verid:00011995
a=control:trackID=65737
m=audio 0 RTP/AVP 97
b=AS:38
a=rtpmap:97 mpeg4-generic/22050/1
a=fmtp:97 profile-level-id=15; config=1388; streamtype=5; mode=AAC-hbr; SizeLength=13; IndexLength=3; IndexDeltaLength=3
a=mpeg4-esid:101
a=x-envivio-verid:00011995
a=control:trackID=65637

MPEG4GenericRTPSource Warning: Unknown or unsupported "mode": generic
Sending request: SETUP rtsp://192.168.0.80/321.mp4/trackID=65737 RTSP/1.0
CSeq: 3
Transport: RTP/AVP;unicast;client_port=1054-1055
User-Agent: VLC Media Player (LIVE.COM Streaming Media v2004.10.28)


Received SETUP response: RTSP/1.0 200 OK
Server: DSS/5.0.1.1 (Build/464.1.1; Platform/Win32; Release/5; )
Cseq: 3
Last-Modified: Mon, 25 Oct 2004 03:17:00 GMT
Cache-Control: must-revalidate
Session: 48103633725941
Date: Tue, 02 Nov 2004 08:36:52 GMT
Expires: Tue, 02 Nov 2004 08:36:52 GMT
Transport: RTP/AVP;unicast;client_port=1054-1055;source=192.168.0.80;server_port=6970-6971;ssrc=0000540B


Sending request: SETUP rtsp://192.168.0.80/321.mp4/trackID=65637 RTSP/1.0
CSeq: 4
Transport: RTP/AVP;unicast;client_port=1056-1057
Session: 48103633725941
User-Agent: VLC Media Player (LIVE.COM Streaming Media v2004.10.28)


Received SETUP response: RTSP/1.0 200 OK
Server: DSS/5.0.1.1 (Build/464.1.1; Platform/Win32; Release/5; )
Cseq: 4
Session: 48103633725941
Last-Modified: Mon, 25 Oct 2004 03:17:00 GMT
Cache-Control: must-revalidate
Date: Tue, 02 Nov 2004 08:36:52 GMT
Expires: Tue, 02 Nov 2004 08:36:52 GMT
Transport: RTP/AVP;unicast;client_port=1056-1057;source=192.168.0.80;server_port=6970-6971;ssrc=00007788


Sending request: PLAY rtsp://192.168.0.80/321.mp4 RTSP/1.0
CSeq: 5
Session: 48103633725941
Range: npt=0.000-
User-Agent: VLC Media Player (LIVE.COM Streaming Media v2004.10.28)


Received PLAY response: RTSP/1.0 200 OK
Server: DSS/5.0.1.1 (Build/464.1.1; Platform/Win32; Release/5; )
Cseq: 5
Session: 48103633725941
Range: npt=0.00000-236.70633
RTP-Info: url=trackID=65737;seq=14728;rtptime=24240,url=trackID=65637;seq=25635;rtptime=18261




It seems that everything is ok,but vlc can not find video.

Stream and media info:
-general
duration:0:03:56

-Stream 0:
Codec: mp4a
Language:
Tyep: Audio
Channels: 1
Sample Rate: 22050 Hz

What is the matter?
Thanks!

Posted: 08 Nov 2004 10:56
by The DJ
Perhaps router/firewall issues?

try adding --rtsp-tcp

H.264/AVC stream

Posted: 10 Nov 2004 03:55
by freshadow
I think it is not for router/firewall reasons.Are you sure VLC can play H.264/AVC stream?

Posted: 10 Nov 2004 10:16
by Sigmund
It can play most, and with those it can't play it will output some garbage and crash. Can you see any traffic on your network? Perhaps vlc does not understand h264 in conjunction with rtsp. I'll try to look up that.

H.264/AVC stream

Posted: 11 Nov 2004 11:17
by freshadow
Thanks for your reply!
You said that VLC can play most H.264/avc stream.
Can you send me some sample files?
Email: freshadowzyh@yahoo.com
Thank you!

Posted: 08 Dec 2004 00:47
by bond
i saw that your description "envivio"! how did you create your .mp4 file? afaik the tools from envivio are not totally spec compliant

Posted: 08 Dec 2004 09:21
by Sigmund
the answer is simply that vlc can't play h264 over rtsp. The rtsp library vlc uses simply does not know how to receive h264

Posted: 20 Dec 2004 03:45
by freshadow
livedotcom does not support H264 rtsp.agreeļ¼