Using Microsoft’s Smooth Streaming (MSS) with Encoding.com

Microsoft's Smooth Streaming (MSS)

To stream media over HTTP using Microsoft's Smooth Streaming protocol chose the “Smooth Streaming” preset from the encoding.com client interface, watch folder, or API.

NOTE: Because the Smooth Streaming output creates multiple files from a single source file you have the option to tar the output tar = yes, in which case your file extension should be set to .tar.  For example ftp://encoding:XXXXXXX99@ftp.ord1-1.websitesettings.com/MSS/myMSSvideo.tar  In this case all multiple outputs will be combined in a single tar ball for you to unpack on your own at a later date.

IMPORTANT NOTE: The extension of your video should be set to .ism.  For example ftp://encoding:XXXXXXX99@ftp.ord1-1.websitesettings.com/MSS/myMSSvideo.ism
In this case all of the MSS compatible files will be sent to the root directory /MSS so it is advised you create a separate directory for the MSS output.


The MSS preset will create the following outputs and send to your specified destination directory, assuming your source file name is myMSSvideo:


.ism – is the Smooth Streaming server manifest, The .ism file is the server manifest that contains a list of multiple-bit-rate media files and an identifier that points to the client manifest.
 myMSSvideo.ism


.ismc- is the Smooth Streaming client manifest. The client manifest contains metadata about audio, video, and text streams.
myMSSvideo.ismc


ismv – the Smooth Streaming video files in multiple nitrates.  Our default MSS bitrates are 300k, 600k, 120k, and 2400k however you may use any custom nitrate combinations your applications requires.
myMSSvideo_300k.ismv
myMSSvideo_600k.ismv
myMSSvideo_1200k.ismv
myMSSvideo_2400k.ismv

 

Output from Smooth Streaming is highly optimized to be hosted and delivered from a Micrsofot IIS web server where it supports advanced features like fast forward, rewind, metadata/binary track etc.  Smooth Streaming can also be hosted on any Apache web server with the correct configuration.  Thre are a variety of thirdparty and open source binarys to speed up your Apache configuration for Smooth Streaming. For more information about the Microsoft Smooth Streaming protocol visit:
http://www.microsoft.com/en-us/download/details.aspx?id=17678

Example of a MSS API request:

<?xml version="1.0"?>
<query>
    <action>AddMedia</action>
    <userid>XXXXXX</userid>
    <userkey>XXXXXXXXXXXXXXXXXXXXXXXX</userkey>
    <source>http://pc-upload.s3.amazonaws.com/84161dcd2054f746e55c8c34fee8e2be_18209.mov?nocopy</source>
    <notify>sales@encoding.com</notify>
    <region>us-east-1</region>
    <format>
        <output>smooth_streaming</output>
        <destination>ftp://encoding:XXXXXXXX@ftp.ord1-1.websitesettings.com/mss/mymssvideo.ism</destination>
        <audio_bitrate>128k</audio_bitrate>
        <audio_sample_rate>48000</audio_sample_rate>
        <audio_channels_number>2</audio_channels_number>
        <framerate>24</framerate>
        <keep_aspect_ratio>yes</keep_aspect_ratio>
        <video_codec>libx264</video_codec>
        <VCodecParameters>no</VCodecParameters>
        <audio_codec>libfaac</audio_codec>
        <two_pass>no</two_pass>
        <turbo>no</turbo>
        <twin_turbo>no</twin_turbo>
        <cbr>no</cbr>
        <deinterlacing>auto</deinterlacing>
        <keyframe>48</keyframe>
        <audio_volume>100</audio_volume>
        <rotate>def</rotate>
        <strip_chapters>no</strip_chapters>
        <file_extension>tar</file_extension>
        <hint>no</hint>
        <set_rotate>source</set_rotate>
        <bitrates>300k,600k,1200k,2400k</bitrates>
        <sizes>224x0,448x0,768x0,1280x0</sizes>
        <pack_files>no</pack_files>
        <metadata>
            <copy>no</copy>
        </metadata>
    </format>
</query>
1 Star2 Stars3 Stars4 Stars5 Stars (1 votes, average: 5.00 out of 5)
Loading...

edchelp