[Live-devel] WMV RTSP support for openRTSP

??? zhonggp at chinabizone.com
Mon Dec 6 13:08:26 PST 2004


Hi all,
        I wonder if openRTSP works well with Windows Media Server 9 .  I attempted to receive stream data by " ./openRTSP -s 0 -t  rtsp://192.168.10.218/test.wmv " ,and I got  three files , audio-X-ASF-PF-1, application-X-WMS-RTX-2 and video-X-ASF-PF-3. Unfortunately, the video file was empty.  I  have found some issue about this,
http://lists.live.com/pipermail/live-devel/2004-July/000962.html,  however ,It still puzzles me much.Why can't it receive any video data? Why there were unknow errors?
Should I subclass a special  RTPsource for mime type X-ASF-PF rather than using SimpleRTPSource?
If it is true ,how to handle the base64 extra data?
        All tips and comments are hightly appreciated.

Best regards,
Zhonggp

the following is the details
-------------------------------------------------------------------------------------------------------
[zhgp at demo testProgs]$ -t -s 0 rtsp://192.168.10.218/test.wmv
Opened URL "rtsp://192.168.10.218/test.wmv", returning a SDP descripti
on:
v=0
o=- 200412021205200843 200412021205200843 IN IP4 127.0.0.1
s=<No Title>
c=IN IP4 0.0.0.0
b=AS:289
a=maxps:1444
t=0 0
a=control:rtsp://192.168.10.218/test.wmv/
a=etag:{46D17FAA-1B99-D130-FE02-399D8FC8267B}
a=range:npt=5.000-231.903
a=recvonly
a=pgmpu:data:application/x-wms-contentdesc,8,language,31,0,,5,title,31,0,,6,auth
or,31,0,,9,copyright,31,0,,35,WMS_CONTENT_DESCRIPTION_DESCRIPTION,31,0,,30,WMS_C
ONTENT_DESCRIPTION_RATING,31,0,,44,WMS_CONTENT_DESCRIPTION_SERVER_BRANDING_INFO,
31,12,WMServer/9.0,51,WMS_CONTENT_DESCRIPTION_PLAYLIST_ENTRY_START_OFFSET,3,4,50
00,47,WMS_CONTENT_DESCRIPTION_PLAYLIST_ENTRY_DURATION,3,6,226903,58,WMS_CONTENT_
DESCRIPTION_COPIED_METADATA_FROM_PLAYLIST_FILE,3,1,1,42,WMS_CONTENT_DESCRIPTION_
PLAYLIST_ENTRY_URL,31,13,love-300k.wmv%0D%0A
a=pgmpu:data:application/vnd.ms.wms-hdr.asfv1;base64,MCaydA...........(omitted)
CAA/fAwA2JrJ1jmbPEabZAKoAYs5smn55AAAAAAD8XYiIVWFNT7tNJcW73tBqihUAAAAAAAABAQ==
m=audio 0 RTP/AVP 96
b=AS:35
b=X-AV:32
b=RS:0
b=RR:0
a=rtpmap:96 x-asf-pf/1000
a=control:audio
a=stream:1
m=application 0 RTP/AVP 96
b=RS:0
b=RR:0
a=rtpmap:96 x-wms-rtx/1000
a=control:rtx
a=stream:65536
m=video 0 RTP/AVP 96
b=AS:254
b=X-AV:241
b=RS:0
b=RR:0
a=rtpmap:96 x-asf-pf/1000
a=control:video
a=stream:2

Unable to determine our source address: setsockopt(IP_ADD_MEMBERSHIP) error: Unk
nown error
Unable to determine our source address: setsockopt(IP_ADD_MEMBERSHIP) error: Unk
nown error
Created receiver for "audio/X-ASF-PF" subsession (client ports 4828-4829)
Unable to determine our source address: setsockopt(IP_ADD_MEMBERSHIP) error: Unk
nown error
Unable to determine our source address: setsockopt(IP_ADD_MEMBERSHIP) error: Unk
nown error
Created receiver for "application/X-WMS-RTX" subsession (client ports 4830-4831)

Unable to determine our source address: setsockopt(IP_ADD_MEMBERSHIP) error: Unk
nown error
Unable to determine our source address: setsockopt(IP_ADD_MEMBERSHIP) error: Unk
nown error
Created receiver for "video/X-ASF-PF" subsession (client ports 4832-4833)
Setup "audio/X-ASF-PF" subsession (client ports 4828-4829)
Setup "application/X-WMS-RTX" subsession (client ports 4830-4831)
Setup "video/X-ASF-PF" subsession (client ports 4832-4833)
Created output file: "audio-X-ASF-PF-1"
Created output file: "application-X-WMS-RTX-2"
Created output file: "video-X-ASF-PF-3"
Started playing session
Receiving streamed data (for up to 236.903000 seconds)...



        



More information about the live-devel mailing list