wiki:Mod-Smooth-Streaming-IIS5-Version1

Smooth Streaming Module for IIS 5

back


Dependencies

The IIS module depends on the multithreaded, dynamic link libraries MSVCP80.DLL (The C run-time library) and the Standard C++ Library (MSVCP80.DLL). If by any chance you do not have these yet on your machine, then you can install the Microsoft Visual C++ 2005 SP1 Redistributable Package (x86).

The Ionics Isapi Rewrite Filter adds support for URL rewriting.

Download

Download the H264-Streaming-Module ISAPI extension for IIS.

If you plan to play Multi Bit Rate H.264 encoded videos, you will also need the command line tool mp4split to create the Smooth Streaming manifest files.

Configuration IIS 5.1 (Windows XP)

In the root of the website (c:\inetpub\wwwroot).

  • Create an App_Code folder if you don't already have one.
  • Copy the Mod-H264-Streaming module (mod_h264_streaming.dll) into this directory (c:\inetpub\wwwroot\app_code).

Open up IIS Manager. In the site properties, click the "Home directory" tab then click the "Configuration" button. We're going to add an entry for files ending in .ismv

  • Click the 'Add' button.
  • Click the 'Browse' button and select the mod_h264_streaming.dll executable.
  • Place the text '.mp4' in the Extension box.
  • Set Verbs to "Limit to:" with the value GET,HEAD,POST,DEBUG.
  • Uncheck 'Check that file exists'.
  • Click the 'Add' button.
  • Click the 'Browse' button and select the mod_h264_streaming.dll executable.
  • Place the text '.ismv' in the Extension box.
  • Set Verbs to "Limit to:" with the value GET,HEAD,POST,DEBUG.
  • Click OK

In your !IsapiRewrite4.ini:

RewriteLog  c:\tmp\iirfLog.out
RewriteLogLevel 3

RewriteCond %{QUERY_STRING} ^.+$
RewriteRule ^(.*)\.ism/manifest(.*)$ $1.mp4?manifest=1 [L]
RewriteRule ^(.*)\.ism/Fragments\((.*)=([0-9]+)\)(.*)$ $1.mp4?$2=$3 [L]
RewriteRule ^(.*)/(.*)\.ism/QualityLevels\(([0-9]+)\)/Fragments\((.*)=([0-9]+)\)(.*)$ $1/$2.ism/$2_$3.ismv?$4=$5 [L]
RewriteRule ^(.*)\.ism/QualityLevels\(([0-9]+)\)/Fragments\((.*)=([0-9]+)\)(.*)$ $1.ism/$1_$2.ismv?$3=$4 [L]

License

This version is free if you agree to the noncommercial license. Please mention its use on your website, in the lines of 'This website uses H264 pseudo video streaming technology by CodeShop'.

Our commercial license is very inexpensive, see the following page to check if you need a commercial license.

Next

Feedback

If you have any questions, thoughts or ideas on Smooth Streaming you can leave a message on our [topic:41 forum].

Last modified 13 years ago Last modified on 06/16/09 15:22:25