watching RTSP-Stream (VoD) via Windows Media Player

About encoding, codec settings, muxers and filter usage
an0nym0us
New Cone
New Cone
Posts: 2
Joined: 03 Nov 2006 17:32

watching RTSP-Stream (VoD) via Windows Media Player

Postby an0nym0us » 27 Feb 2007 15:49

Hello there,

I'm providing Videos as Video on Demand via RTSP. Works great with VLC!

I read the Windows Media Player could play RTSP but I don't see how. Does anybody know if and haow it's gonna work?

Greetings
Timo

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Postby Jean-Baptiste Kempf » 27 Feb 2007 15:50

Use ASF/MMS
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

gef_64
New Cone
New Cone
Posts: 6
Joined: 22 Dec 2006 15:28

Postby gef_64 » 15 Mar 2007 22:31

hello anonymous,

Could you describe the syntax :
- of the command line on your server,
- of the vlm conf file, if you are using a conf file ?

Thank you
Gerard

tipok
Blank Cone
Blank Cone
Posts: 38
Joined: 29 Sep 2005 22:28
Location: Kiev, Ukraine
Contact:

Postby tipok » 06 Apr 2007 18:26

M$ RTSP protocol implementation - Ethereal capture

my stream url looks like this: rtsp://my.host.com:554/programs/SN0TToyfQsH2V4Bb/wkl111_150.wmv

WM Player send query with GET (Not DESCRIBE!!!) query:

Code: Select all

GET /programs/SN0TToyfQsH2V4Bb/wkl111_150.wmv HTTP/1.1 Accept: */* User-Agent: NSPlayer/11.0.5721.5145 Host: my.host.com X-Accept-Authentication: Negotiate, NTLM, Digest, Basic Pragma: version11-enabled=1 Pragma: no-cache,rate=1.000,stream-time=0,stream-offset=0:0,packet-num=4294967295,max-duration=0 Pragma: packet-pair-experiment=1 Pragma: pipeline-experiment=1 Supported: com.microsoft.wm.srvppair, com.microsoft.wm.sswitch, com.microsoft.wm.predstrm, com.microsoft.wm.startupprofile Pragma: xClientGUID={3300AD50-2C39-46c0-AE0A-AE6D91C76FAA} Accept-Language: ru-RU, *;q=0.1
Real Server (I have no WM server) answer:

Code: Select all

HTTP/1.0 200 OK Content-Type: application/octet-stream Server: Cougar 4.1.0.3917 Cache-Control: no-cache Pragma: no-cache Pragma: client-id="3" Pragma: features="seekable,stridable"



I think that Real Server can't understand HTTP/1.1 in RTSP protocol, that's why WM player send another query ("rtsp" protocol again):

Code: Select all

GET /programs/SN0TToyfQsH2V4Bb/wkl111_150.wmv HTTP/1.0 Accept: */* User-Agent: NSPlayer/11.0.5721.5145 Host: my.host.com X-Accept-Authentication: Negotiate, NTLM, Digest, Basic Pragma: no-cache,rate=1.000,stream-time=0,stream-offset=4294967295:4294967295,packet-num=4294967295,max-duration=0 Pragma: xPlayStrm=1 Pragma: xClientGUID={3300AD50-2C39-46c0-AE0A-AE6D91C76FAA} Pragma: stream-switch-count=2 Pragma: stream-switch-entry=ffff:1:0 ffff:2:0 Accept-Language: ru, *;q=0.1

After this server answer:

Code: Select all

HTTP/1.0 200 OK Content-Type: application/octet-stream Server: Cougar 4.1.0.3917 Cache-Control: no-cache Pragma: no-cache Pragma: client-id="4" Pragma: features="seekable,stridable" ...data...
And send file to player...
Maybe this info will be helpful to connect WM player to VLC streamer by M$ RTSP protocol (it's something looks like "http over rtsp").
Комп не выключать!!!


Return to “VLC stream-output (sout)”

Who is online

Users browsing this forum: No registered users and 20 guests