Home > Articles > How to Set up Video Codecs on Windows Server (ASP)
How to Set up Video Codecs on Windows Server (ASP)
2009-08-08 21:04:25
Video sharing sites are now really hot. To build your own video sharing site is not so hard. Here we will guide you to use ASP to create a video hosting site on Windows 2003 server step by step, and customize a Flash video player for this video sharing site.
Who may need this article:
If you have interest on running your video hosting services, you wanna create your own video sharing site on Linux server with thousands upon thousands of visitors and video clips hosted just like YouTube, iFilm, Break or other famous video sharing sites do, this tutorial will tell you how to make the first step.
What’s needed:
Playersetup your video hosting site on a Windows 2003 Server
Step1 Setup Folders and Files 1. Log on to your server with Administrator privilege. 2. Download Flash Video Encoder for Adobe Flash (Command-Line Version) from our Web site and install it on your Web server. 3. Find the file fvec-asp-demo.zip in the installation folder of Flash Video Encoder for Adobe Flash (Command-Line Version); Open it with WinZip and extract the files to a sub-folder under your wwwroot folder, for example, c:inetpubwwwrootfvec. 4. If you have changed the installation folder of Flash Video Encoder for Adobe Flash (Command-Line Version), you should open file fvec.asp and change the path to the correct one. 5. Assign "full control" permission to account "IUSR_COMPUTERNAME" for folder "c:inetpubwwwrootfvecfiles". By default, video files uploaded by users and encoded *.flv files will be stored in this folder. 6. Assign "full control" permission to account "IUSR_COMPUTERNAME" for file "c:inetpubwwwrootfvecfvec.mdb". In this demo, we use Microsoft Access database to simplify the configuration. If you would like to use other databases, for example, SQL Server or Oracle, you can open the file db.aspx and modify the database provider and connection string yourself. 7. Open Command Prompt. Change the current directory to "c:inetpubwwwrootfvec" and register MyRequest.dll using regsvr32.exe. This will install a component for ASP to handle file uploading. Step2 Create Application Pool for the Web Site 1. Open Internet Information Service Manager. 2. Expand the "Internet Information Services (IIS) Manager" node. Right click the "Application Pools" node and select New > Application Pool. 3. Give a name for the new Application Pool, for example, "MyAppPool" and click OK. 4. Expand the "Application Pools" node, and right click "MyAppPool", select Properties. 5. Click the "Identify" page, change the predefined security account from "Network Service" to "Local System" and click OK. Step3 Configure the Web Site 1. Open Internet Information Service Manager. 2. Expand the "Internet Information Services (IIS) Manager" node. Right click your Web site and select "Properties". 3. Change the Execute permissions to "Scripts and Executables". 4. Change the Application pool to "MyAppPool". 5. Change the file uploading limitation of IIS. By default, IIS does not allow users to upload file larger than 200 KB.

1. Open Internet Information Service Manager.

2. Right click the "Internet Information Services (IIS) Manager" node and select "Properties". Select "Enable Direct Metabase Edit" and click OK.

3. Open C:WINDOWSsystem32inetsrvMetabase.xml with a text editor; Find AspMaxRequestEntityAllowed and change its value to a proper value.

4. Save Metabase.xml and restart IIS. Step4 Create MIME Map for .flv Files 1. Select the site to configure in IIS, right click and select "Properties". 2. Under HTTP Headers Tab, click the "MIME Types" button and select "New". 3. Enter ".flv" as the extension and "video/x-flv" as the MIME type and click OK. Step5 Test Your Web Site To test the site, please open your browser and navigate to http://yourdomain/fvec/upload.htm. If everything goes well, you can upload video files to your server and encode them now.
Create a Flash video player
Step1 Installation of Sothink Video Encoder for Adobe Flash After purchasing Sothink Video Encoder Engine for Adobe Flash (Linux Version), you can get Sothink Video Encoder for Adobe Flash Windows GUI version for free. With the Windows GUI version, you can make customized Flash Video Players for general use on your video hosting and sharing server. System Requirements: Windows 2000 / XP / 2003 / Vista How to install 1. Download Sothink Video Encoder for Adobe Flash from our web site. 2. Extract the ZIP file to your hard disk 3. Run Setup.exe and follow the wizard to install the software. 4. Launch Sothink Video Encoder for Adobe Flash by double-clicking the program icon on your desktop. 5. Enter the registration key to register the software. If you have not get the registration key yet, please send your registration information of Sothink Video Encoder Engine for Adobe Flash (Linux Version) to support@sothinkmedia.com and we will send you the registration key then. Step2 Create a Customized Flash Video Player 1. Launch Sothink Video Encoder for Adobe Flash by double-clicking the program icon on your desktop. 2. Select any video file and click "Next". 3. In the "Encoding preferences" page, change the "Width" and "Height" to desired values, then click Next. 4. In the "Select output folder and files" page, check "Generate SWF" and uncheck "Generate FLV", "Generate HTML" and "Generate thumbnail". Enter "player.swf" as the name of the output SWF file. Select "Get FLV path from a URL variable and play progressively" and enter "flv" as the name of the URL variable. You can also change the playback settings as you like. Click "Next" after done. 5. In the "Select play control skin" page, check "Use a skin" and select a desired skin. You can also specify a color scheme for the skin and adjust the saturation of the color. 6. Click "Next" and a file name "player.swf" will be created in the specified folder. Step3 Deploy the Flash Video Player 1. Find the file "player.swf" created in the previous steps in Windows Explorer. 2. Copy the file "player.swf" in to the folder of the PHP demo site and overwrite the old one. 3. Now you can upload a video and test the created Flash Video player on your web site. Screenshots: To enjoy your own video sharing site like youtube, hulu now, Free download Flash Video Encoder for Adobe Flash (Command-Line Version) and Video Encoder for Adobe Flash

Replay
  • Ritwik 2013-11-12 06:05:01 Says:
    When you watch the Texans’ DE play, its easy to be impressed with his athetlic ability, speed up the field and his power at the point of attack. That’s legit talent right there. But let’s not forget about the technique Watt displays with his hands. He can “press” an offensive lineman and create some separation to work his counter moves. Fast and violent with the hands. That’s what I took from the game. CSS10-26
  • Anna 2013-11-13 05:33:45 Says:
    usually movie maker sticks the rorecd in your my videos . go to that and find the rorecd that you just encoded. Next right click it, go to properties then its vacant to say open with click the button and select windows media player. By default if you haven't changed any settings the WMV files should open with media player, but , if you're doing a DV type AVI file that might differ.
Leave a Reply
 

 
Copyright © 2009 - 2017 bigbigsoft.com. All Rights Reserved.