MS-HTTP

From MultimediaWiki
Jump to navigation Jump to search

MS-HTTP is one of the Microsoft-bastardized standard formats (similar to MS-RTSP). A standard-compliant HTTP client is not necessarily capable of downloading MS-HTTP content, since various extra (non-standard) HTTP calls need to be made before the server will start streaming media content.

MS-HTTP servers stream ASF data. A sample source for MS-HTTP data is Absolute Radio. FFmpeg's current (r24794) HTTP implementation can not yet play this stream:

bash$ ./ffplay http://wms.absoluteradio.co.uk/absoluteradio.co.uk/vr_lo
FFplay version SVN-r24794, Copyright (c) 2003-2010 the FFmpeg developers
  built on Aug 13 2010 15:43:43 with gcc 4.2.1 (Apple Inc. build 5664)
  configuration: --enable-gpl
  libavutil     50.23. 0 / 50.23. 0
  libavcore      0. 4. 0 /  0. 4. 0
  libavcodec    52.85. 1 / 52.85. 1
  libavformat   52.78. 2 / 52.78. 2
  libavdevice   52. 2. 1 / 52. 2. 1
  libavfilter    1.34. 1 /  1.34. 1
  libswscale     0.11. 0 /  0.11. 0
header='HTTP/1.1 200 OK'
header='Content-Type: video/x-ms-asf'
header='Cache-Control: max-age=0, no-cache'
header='Server: Cougar/9.5.6001.18281'
header='Content-Length: 159'
header='Date: Sat, 14 Aug 2010 20:56:05 GMT'
header='Pragma: no-cache, xResetStrm=1'
header='Supported: com.microsoft.wm.srvppair, com.microsoft.wm.sswitch, com.microsoft.wm.predstrm, com.microsoft.wm.fastcache, com.microsoft.wm.startupprofile'
header='Connection: close'
header=
http://wms.absoluteradio.co.uk/absoluteradio.co.uk/vr_lo: Invalid data found when processing input