Video Streaming with Microsoft Media Services

  • Published on
    12-Jan-2015

  • View
    557

  • Download
    3

Embed Size (px)

DESCRIPTION

 

Transcript

  • 1. Video Streamingwith MicrosoftMedia Services

2. Introduction the pre-allocated time-slot to watch Recommended Software:your television programme, or you Windows 95/98/2000 T he purpose of this report is tomake a trip to a video shop and rentWindows Media Encoder (freely provide information on thea video tape or video CD. However,available from Microsoft Website) technical requirements and stepswith a video streaming system, youWindows Media Player (freely to set up a Microsoft system-basedcan virtually access all the videos inavailable from Microsoft Website) video streaming service on thethe VOD library systems fromUlead MediaStudio Pro (bundled Internet. Previously, those wanting toanywhere at any time you want.with Snazzi Capture Card) watch a video on the Internet would have to do a file transfer of the entire Recommended requirements video file into their local hard drive Requirements for Internet users to watch and will be able to view the video onlyBasically, if you want to set up a video videos on the Internet after a long period of download time.streaming server, you will require a Minimum hardware requirements: Incidents like running out of diskvideo and a web server that are alwaysPentium II 333MHz space, a corrupted file or anconnected to the Internet and another 128 MB Ram uncompleted file transfer may renderPC that does the video encoding. The4 MB Video Card the video file useless.video server will store all the video 16 Bit Sound Cardfiles and support concurrent streaming With the introduction of videoto the client PC. The video encoding Recommended Software: streaming technology on the Internet,PC should have audiovisualWindows 95/98/2000/Windows we are now able to view videos asequipment, video capture facility and Millennium Edition they are being downloaded. Largethe required encoding software. Windows Media Player hard disk space is no longer required, as only a small portion of the digitalRecommended requirements video is downloaded. You couldInternet Bandwidthfor the video server choose to view only the first fewMinimum hardware requirements: Apart from getting all the necessary minutes of the video and decide if you Pentium III 500 MHz hardware and software, you will need wish to continue. This is not possible 128 MB Rama broadband Internet connection, with the old technology, where you 20 Gig SCSI Hard Disk preferably 1Mbps and above. This will would have to wait for the whole 10/100 BaseT Network Card be the bulk of the cost for a video video file to be downloaded before streaming system. The broader the you can start the viewing. VideoRecommended Software:broadband pipe, the more users streaming technology also allows you Microsoft NT 4.0 or Windows your video servers can support to fast-forward, re-wind and pause at 2000concurrently. Other restrictions on the any point of the video, and you can Microsoft Internet Informationnumber of concurrent users will be continue viewing from where you last Services (in NT option pack CD) based on the size of the video, the left off. The only restrictions to the Microsoft Windows Media Servicesquality of the video and the hardware video quality are the user's video card (freely available from Microsoftconfiguration. You can create a test and Internet access speed. Website)video of different sizes and qualities and test the streaming from different Generally, there are two methods ofRecommended requirements locations. Do not create all the videos delivery for digital video. One is livefor the video encoding systemfirst before testing them, because you broadcast and the other is on-Minimum hardware requirements: might have to change and re-encode demand. In this article, we will discuss Pentium II 333MHz all the videos again if they are found the implementation of on-demand 128 MB Ramto be of poor quality. You should video delivery. 4 MB Video Card encode one video at a time and test 6.4Gig Hard Diskeach one first. Proceed only if you are Video-On-Demand (VOD) is the term 16 Bit Sound Card satisfied with the output. used for viewing videos over the Snazzi PCI Video Capture Card Internet at the time that you want. In CD-writer (for the ease of the conventional television broad- transferring the video file) casting system, you have to wait for V i d e o 3. Video Streaming Network for Busy WebsiteVideo Streaming Digital Video Production WEB SERVER VIDEO SERVERDIGITALVIDEO DATABASEDIGITAL VIDEO OUTPUTPC WITH VIDEO CAPTURE/FIREWIRE CARDANALOGVIDEO INPUT INTERNET TAPETAPE VIDEO PLAYER VIDEO PLAYER VIDEO PLAYER VIDEO PLAYER TELEVISION CAMCORDERVCRVideo Streaming configurations below and you can startencoding video into Microsoft videoNetwork format (AVI).The above network design is for a webserver with a lot of video and webtraffic. If you do not expect a lot ofVideo FormatCapture SizeFrames PerAudio FormatSecondweb traffic, you can run both the videoand web server on a single machine. 1 NTSC352x240 (Full Size)29.97 CD Quality:2 NTSC176x120 (Quarter Size)PCM 44, 100HZ,3 PAL 352x288 (Full Size) 16Bit, Stereo,Digitizing Video25.00 172KB/sA capture card is required to convert 4 PAL 176x144 (Quarter Size) analog video signals into digital formatto be stored in the hard drive. PlaceUlead MediaStudio Pro is being usedConverting From AVIthe Snazzi video capture card into anhere as it is capable of capturing AVIempty PCI slot in the video encoding Format to ASF Formatvideos and it is bundled with the videosystem. Snazzi capture card has bothcapture card. We can only convertUsing Windows Media Encoder, youS-VIDEO and Composite video inputsvideo in AVI format video to Advancedcan convert AVI format files intofor connecting to a video cassetteStreaming .ormat (AS.) for streaming Advanced Streaming .ormat (AS.)recorder, CD or DVD player,at the time of publication.files. You have to decide on the videotelevision, or camcorder. Typically, size and bit rate of the AS. file forusing S-VIDEO as the input sourceTo start capturing the video, you need optimum viewing. The bit rate specifieswill produce better quality videos.to play the video. Click on the capturethe number of bit transferred in afunction to start capturing the video at second. .or 56Kbps modem users,Next, install Snazzi drivers before youany point in time. Don't worry if youyou can specify a bit rate of 56kbps orinstall Ulead MediaStudio Pro. Oncecapture more than what is required,lower. Generally, the larger the videoyou have installed MediaStudio, youas you can always use video editingsize and the higher frame per secondhave to set up your video sourcesoftware to trim away the excess speed, the higher the bit rate that isand your video format (NTSC/PAL)portions.generated. With a higher bit rate,correctly. Use one of the following the video will be clearer, but this willconfigurations for better results.Other than capturing a video intorequire a bigger network bandwidthSelect the video format NTSC or PALAVI format, you can also capture infor the video server and your clients.according to your video source. As forMPEG1 VCD format or MPEG2 DVDthe capture size, the bigger the size,format, depending on your require-the clearer it is but it will also requirement. However, we are not going tomore bandwidth. Choose one of thetouch on the other video formats here. S t r e a m i n gw i t h M i c r o s o f t 4. .or a single bit rate video encoding, all the users will be viewing the same video using different bandwidth. If the video is encoded for 64kbps, ISDN users will have no problem viewing it. Dial-up modems users with 56kbps or less will experience delays during the buffering of the video clip, resulting in a jerky video presentation. Windows Media EncoderEncoding Sample.Avi fileYou can also select multiple bit rate video. If a video file is encoded in three separate bit rate formats, eg., 33.6kbps, 56kbps and 64kbps, then users with 33.6kbps modem, 56kpbs modem and 64kbps ISDN line will be able to view the video encoded in the respective order. The selection of bit rate will be done automatically, with no user intervention required. Although all the three users will be seeing the same video, the ISDN user will be able to see a better quality video than the other two. Single Bit Rate EncodingMultiple Bit Rate EncodingLower bit rate video will also be streamed automatically to the Internet users when network congestion occurs. This will not interrupt the stream of video, unlike the single bit rate video. ISDN users will be able to view at 64kbps normally. When there is congestion, ISDN users will be viewing at a lower bite rate, 56kbps or 33.6kbps bit rate. There is only degrading of video quality but delays are reduced. .or best encoding results, please make sure that the AS. size is the same as the video capture size. M e d i aS e r v i c e s 5. Installing WindowsLinking Video To Web Page You can link the video to the web page by creating a ASX file. ASX can be created Media Services using any text editor like Windows Notepad. After downloading Windows Media Services from Microsoft website, you can double-click on the program to install itGrameen - Small Loans, Big Leaps to a video server. Please follow the setup Once installed, all the video streaming services will be started automatically by 1 of 1 windows services whenever the machine International Development Research Centre boots up. (c) International Development Research Centre In order to administer the Windows Media Administrator from NT Start Rural Bangladesh - it seems a million miles away from the menu. It will open the administrator pageInformation Superhighway... in Internet Explorer. If the page is unreadable, it is most likely due to the fact that you have an incompatible browser version. You need InternetA sample ASX file, and what users will see, Explorer version 5.0 and above to view. as shown belowWhen you start Windows Media Adminis- trator for the first time, click on "Add Server" button to create a video server to administer. Make sure that the name of this video server is the same as the machine name. Then proceed to "Configure Server - Unicast Publishing Point" and add a directory to the home alias. Make sure that the directory added is created after that. Upload all AS. videos to this directory. To test the video using Windows Media Player, go to the ".ile" menu and select the "Open" menu. Enter the following syntax: Video-On Video Demand Icon Title mms://vod_machine_name/ test_video_name.asf Organization Move Iconcursor Exampleover this mms://vod.panasia.org.sg/test.asfregion to Video Statusview Total Video Lengthabstract A sample video file 6. Pan Asia Networking is an Adding ASX File Type To Web Server initiative of the International Make sure you add the ASX file type to the Web Server MIME type. Otherwise, youDevelopment Research Centre(IDRC), a public corporation may be prompted to save the unknown file type to the hard disc instead of spawning created by the Parliament of the Windows Media Player.Canada to help researchers andcommunities in the developing Example world find solutions to their social, economic and environmental problems. type=video/x-ms-asfexts=asf,asxA sample of the ASX type in Netscape Web Server configuration file Contact Ms Maria Ng Lee Hoon Calling Up ASX File In HTML Senior Regional Program Officer Clickable Link Description International Development Research Centre Regional Office for Southeast and East Asia Example Tanglin PO Box 101 Grameen - Small Loans, Big Leaps Singapore 912404 Include this code in the body of a HTML page, and you have created the first video- Tel: 65-235 1344 on-demand service on the Internet!.ax: 65-235 1849 E-mail: MNg@idrc.org.sg http://www.PanAsia.org.sg Summary With the right equipment and facility, anyone can create digital video streams forMr Renald Lafond viewing on the Internet from conventional VHS tapes. You can substitute the video Senior Program Specialist capture card and software with the products of your preferred choice. However, do beInternational Development Research Centre careful about copyright and other legal issues. Head Office PO Box 8500, Ottawa, Ontario Canada K1G 3H9 Pan Asia Networking Video-on-Demand Library Tel: 1-613-236 6163 Visit the Pan Asia Networking Video-On-Demand Library at.ax: 1-613-567 7749 http://www.panasia.org.sg/vod to view streamed videos on a wide range E-mail: RLafond@idrc.ca of development topics contributed by our research partners in Asia Pacific. http://www.idrc.ca Author: Dominic Soh, Systems Development Architect, Pan Asia Networking Program, International Development Research Centre, http://www.panasia.org.sgReviewers: the technical team of GetIT Multimedia.com., Singapore, http://www.getit-multimedia.com and Les Cuff of Collaborative Network Technologies, Newfoundland, Canada, Pan Asia Networking, December 2001. http://www.colabnet.nf.ca. This publication may be reproduced for non-commercial purposes. Acknowledgementto Pan Asia Networking and the author Referencesmust be retained. http://www.microsoft.com/windows/windowsmedia/EN/default.asp Windows Media Homehttp://msdn.microsoft.com/library/default.asp?URL=/library/en-us/dnwmt/html/tourwmtools.asp Tour of Microsoft Windows Media Toolshttp://www.microsoft.com/windows/windosmedia/en/support/FAQ-STRM.asp Windows Media Services FAQhttp://www.dazzle.com Dazzle Multimedia, the video capture card manufacturerhttp://www.ulead.com/ Ulead, the video editor software provider