Transcript
Page 1: Video Streaming with Microsoft Media Services

������������

�������������

������������

Page 2: Video Streaming with Microsoft Media Services

Introduction

T���������������������������

����� ������������������

����������������������� �����

����������������������������

�� �������������������������

���������������������������������

��������� ��������������������

������� �������������������������

�� ������������������������� � ����

�� �������������������������� �������

���������������� ��� ������ �����

���� ���������������������� ���

���������������� ����������

��������� ������������������� ��

����� ���������������

����������� ���������� ��

��������������������������������

������������������������� ������

�������������� ������ � �� ����

��� � ������������������������������ �

���������������������������� �����

�� ������ ������ � ��!�������

����������������������������

�������������� ����� � ��� �������

����������������"������������������

��������� ���������������������

���� �����������������������

�� ������������ ������ � ������

������������������������#� ��

����������������������������������

���������� �������� ��� ��������

���������������� ������ ��������

���������������������������������

������"�����������������������

�� ���������������������$���� ������

�� ������������������� �

%�������������������������� ���

����������� �������� ����&����������

���� ������ ���������������

���� ������������������������� ������

��������������������� ����

�� ��� ��������

#� ���&��'���� �(#&')����������

��� �������������� �����������

������������������������������

����������������������������� �

�������������������������������

�������������� ���������������

��������������������������������

����������������� ���������� ����

���� ������������ ���*'��+�������

�������� ����������������������

����������������������������� ������

���#&'�������������������

���������������������������

Requirements,�������������������������������� ��

�����������������������������������

�� ����� ���������������������������

������� ��������������� �������

�*���� ��������� ������� �����"��

�� ����������������������������� ��

������� ��������������������������

������������*��"����� ������� ���

�*������ �������� ��������

������������ �������������������

���������� ����� �����������

Recommended requirementsfor the video server����������� ����������������-

������������.//��+0

123��,�4��

2/�%���5*5��+�� �'���

1/61//�,���"�7������*��

4������� � �5�����-

��������7"�8�/������� ���

2///

������������������������

5��������(���7"������������*')

����������� ������ ���5�������

(���������������������������

������)

Recommended requirementsfor the video encoding system����������� ����������������-

����������999�+0

123��,�4��

8��,�#� ���*��

:�8%���+�� �'���

1:�,��5��� �*��

5��00���*��#� ���*������*��

*'�������(������������

���������������� ������)

4������� � �5�����-

��� ����;.6;362///

��� ������ ���<��� ���(�����

����������������������������)

��� ������ ����������(�����

����������������������������)

=��� ��� ��5� �������(��� ��

����5��00��*������*�� )

Recommended requirementsfor Internet users to watchvideos on the Internet����������� ����������������-

����������999�+0

123��,�4��

8��,�#� ���*��

1:�,��5��� �*��

4������� � �5�����-

��� ����;.6;362///6��� ���

�����������< ����

��� ������ ���������

Internet Bandwidth>������������������������������

��� ������� ���������������������

������ ��� ������������������

����������1������� ��������"��������

��������������������������� ��

����������������"������� �����

���� ��� ��������������������

������� ���������������������

�������������&��������������������

��������������������������������

���� ���������0��������� ������

�������������� ����� ������� ����

�������������!�����������������

�� ����� ��������0����� ���������

�� �������������������� �����

����������'�������������������� ���

��������������������������������

��������������������� �������� �

��������� �����������������������

��������������������!��������

���� �������� ������������� ���

�������������������� ���������������

������ �������������

� � � � �� � � � �

Page 3: Video Streaming with Microsoft Media Services

Video Streaming Network for Busy Website

VIDEO SERVER

Video StreamingNetwork"���������������� �����������������

�������������������� ����� ����

������������ ������?����������

������������������������������� ��

�� ��������������������������������

Digitizing Video>����������� ����������� ���������

��������� ��������������� ����������

��������� ���������� � �����������

���5��00���� ������������� �������

������*�������������� ������� ���

�������5��00������������ ��������

5�#�'<&��� �*���������� ��������

������������������� ���������

����� ����*'����'#'��������

�������������������� ����"���������

������5�#�'<&������������������

�������� ������������������ ����

7�?���������5��00�� ����������������

�������=��� ��� ��5� ��������&���

���������������� ��� ��5� �������

�������������������� ���������

�� �������� ��������(7"5*6�> )

����������=��������������������

����������������������������

5���������� ��������7"5*�����>

����� ������������� �����������>����

������������0������������������0��

��������������������������������������

�������� �� ���*��������������

��������������������� ������������

���� ������ ����������������� ��

�����(>#�)�

=��� ��� ��5� �������������������

��������������������������������>#�

�� ������ ��������� �� ���������� ��

���������� ��������������������

�� ������>#��������� �����> �����

5��������@�����(>5@)�������������

����������������������

"�������������������� �����������

������������ ����*�����������������

��������������������������� ����

�����������������'��$������������

������������������������������ �

������������������������ ���� ����

����������������������?����

��������

&��������������������� ������

>#������������������������������

��<%1�#*'�����������<%2�'#'

������ ���� ��������������������

�����+�������������������������

������������������ ��������������

Converting From AVIFormat to ASF Format=�������� ������ ���<��� �������

�����������>#���������������

> ����� �5��������@�����(>5@)

������!���������� ��� ���������� ��

��0���� �������������>5@�������

����������������"������������������

����������������������� �����

����� ��@���.:A������ ���������

��������������������������.:�������

�������%������������������������� ��

��0���� �������������������������

���� ���������������������������

������� ����������������������

����� �������������������������������

��������������������������� �� �

�������� ������������ �������������

Video Format Capture Size Frames Per Audio FormatSecond

1 NTSC 352x240 (Full Size)29.97 CD Quality:

2 NTSC 176x120 (Quarter Size) PCM 44, 100HZ,

3 PAL 352x288 (Full Size)25.00

16Bit, Stereo,

4 PAL 176x144 (Quarter Size)172KB/s

� � � � � � � � � � � � � � � � � � � �� � � � � � � � � � � � � � � � � � � �

Video Streaming Digital Video ProductionWEB SERVER

DIGITALVIDEO

DATABASE

INTERNET

VIDEO PLAYER VIDEO PLAYER VIDEO PLAYER VIDEO PLAYER TELEVISION CAMCORDER VCR

TAPE TAPE

ANALOGVIDEO INPUT

PC WITH VIDEO CAPTURE/FIREWIRE CARD

DIGITAL VIDEO OUTPUT

Page 4: Video Streaming with Microsoft Media Services

@��������������������� ������� ����

������������������������������������

�� ��������� ��������� �� �������

�� ���������� � ����:8�������5'7

�������������������������������������

'��������� ��������������.:�������

�����������?��������� ������ ��������

��������������� ��������������������

��B������� ��������������

!��������������������������������

�� ���������� �������������� � ���

�������������������������������

99�:������.:������� �:8���������

����������99�:������� ����.:����

�� ����� �:8������5'7�������������

����������������� ������� � ������

������������ ����"����������������

������������ ��������������������

�������������������������� �

>��������������������������������

����������������� ��������5'7�����

��������������������������������

�� ������������������

�������������� ���������������

������ ������������������������

���������������������������

��������"����������������������

���������� �����������������������

������ �����5'7���������������������

�������:8������������������������

���������������5'7��������������

���������������������������.:����

���99�:�������������"������������

���� �������� ������������� �����

������ ��� ���@����������� ���

������������������������������

>5@���0��������������������� ��

���������0��

Single Bit Rate Encoding

Multiple Bit Rate Encoding

� � � � � � � � � � � �� � � � � � � � � � � �

Windows Media EncoderEncoding Sample.Avi file

Page 5: Video Streaming with Microsoft Media Services

Linking Video To Web Page!����������������� ������������������������������>5C������>5C�������������

�����������?�� ������������ ����7���� �

Installing WindowsMedia Services>��� ������ ������� ������ ��

5�����������������������������������

������������������������������������

������ �������������������������������

�����������������������������������

&����������� ����������� �����������

��������������������� ���������������

��� ��������������������������������

��������

����� ������ �������������� ���

�� ���5������������������������ ���

�� ���> ��������������7"�5��

���������������������� ��������������

����������<?��������������������

����� ���������������������� �������

�����������������������������

�����������������!������ �������

<?���������������.�/��� ��������������

���������������� ������ ���> ������

�����������������������������D>

5�����D������������������ �����������

� �������������������������������

������ ��������������������������

��������������"���������� ��

D*��������5��������=����������������

����D��� �� ��� �����������������

����������������������� ��������� �

�������� ���������=���� �����>5@

�� ���������� ���������"���������� ��

��������� ������ ������������������

D@���D�������� ����������D&���D������

<��������������������?-

mms://vod_machine_name/

test_video_name.asf

Example

mms://vod.panasia.org.sg/test.asf

<ASX version = "3.0"><TITLE>Grameen - Small Loans, Big Leaps</TITLE>

<LOGO HREF="http://www.panasia.org.sg/vod/images/vodicon.jpg"

Style="ICON" />

<Entry>

<TITLE>1 of 1</TITLE>

<AUTHOR>International Development Research Centre</AUTHOR>

<COPYRIGHT>(c) International Development Research Centre</COPYRIGHT>

<Ref href = "mms://vod.panasia.org.sg/member/idrc-grameen.asf" />

<LOGO HREF="http://www.panasia.org.sg/vod/images/panicon.jpg"

Style="ICON" />

<ABSTRACT>Rural Bangladesh - it seems a million miles away from the

Information Superhighway...</ABSTRACT>

</Entry>

</ASX>

Video Status

OrganizationIcon

Video-OnDemand Icon

VideoTitle

Movecursor

over thisregion to

viewabstractTotal Video Length

A sample ASX file, and what users will see,as shown below

A sample video file

Page 6: Video Streaming with Microsoft Media Services

Adding ASX File Type To Web Server��������������� ����>5C������������������5���������<������&������������

������������� ����������������������������������� � ��������� �����������

������ ������ ����������

Example

type=video/x-ms-asf exts=asf,asx

>�������������>5C��������7�����������5���������������������

Calling Up ASX File In HTMLE�����FD����������?DG*��������� ����'���������E6�G

Example

<a href="idrc_grameen.asx">Grameen - Small Loans, Big Leaps</a>

����� �������� ���������� ������+"� ��������� ��������������� ���������� ���

��� ���� ���������������������H

Summary����������������������� �������������������������� �������� ������������

�������������������������������������#+5�������!�������������������� ��

���������� ��� ������������������ ������������������ ���������+�������� ����

����������������������� �������������������

Pan Asia Networking Video-on-Demand Library#�����������>����7���������#� ���&��'���� � ��������

��-66������������������6�� �������������� ��� ����������� �������

�� ������������������������ ����������������������������>�����������

ContactMs Maria Ng Lee Hoon5������4����������������&����

������������'����������4��������*����

4��������&�������5��������� �<���>���

"��������&�,�?�1/1

5���������;128/8

"��-�:.�29.�1988

@�?-�:.�29.�138;

<�����-��7�I� ���������

��-66�������>����������

Mr Renald Lafond5��������������5��������

������������'����������4��������*����

+�� �&���

�&�,�?�3.//��&�����&�����

*��� ��A1%�9+;

"��-�1�:19�29:�:1:9

@�?-�1�:19�.:J�JJ8;

<�����-�4 ��� I� �����

��-66����� �����

Pan Asia Networking is aninitiative of the InternationalDevelopment Research Centre(IDRC), a public corporationcreated by the Parliament ofCanada to help researchers andcommunities in the developing

world find solutions to their social, economicand environmental problems.

References

http://www.microsoft.com/windows/windowsmedia/EN/default.aspWindows Media Home

http://msdn.microsoft.com/library/default.asp?URL=/library/en-us/dnwmt/html/tourwmtools.aspTour of Microsoft Windows Media Tools

http://www.microsoft.com/windows/windosmedia/en/support/FAQ-STRM.aspWindows Media Services FAQ

http://www.dazzle.comDazzle Multimedia, the video capture card manufacturer

http://www.ulead.com/Ulead, the video editor software provider

������� ���� ���� ������ ���������� ��������� ��� ��� ��������� �������

������������ ���������� �������� ������� ���������� ������ ��� ��

��������� ��� �������� ��� �! "���# $����%� �� � ���������

���������� ����&����%� ��

��% '�� ��!! �! �����(������ ������� #����������� ���!���%���%� ����%��

���������� ����(��� �! ��

K Pan Asia Networking, December 2001.This publication may be reproduced for

non-commercial purposes. Acknowledgementto Pan Asia Networking and the author

must be retained.