subject: How To Setup Online Video Hosting Site On Windows 2003 Server [print this page] This tutorial guides you to use E.MThis tutorial guides you to use E.M. Total Video Converter Command Line to setup an video hosting site or online video converter for uploading, encoding and exhibiting video instantly.
3. Assign "full control" permission to account "IUSR_COMPUTERNAME" for the file named "log.txt", which you can find in the install directory of E.M. TVCC.
4. Download the PHP source code of E.M. TVCC Demo, Open it with WinZip and extract the files to your wwwroot folder, for example, c:inetpubwwwroot.
5. Assign "full control" permission to account "IUSR_COMPUTERNAME" for folder
"c:inetpubwwwrootTVCCDemoupload-convertuploaded"
"c:inetpubwwwrootTVCCDemoupload-convertconverted"
"c:inetpubwwwrootTVCCDemoselect-convertconverted"
"c:inetpubwwwrootTVCCDemoupload-convertmp"
"c:inetpubwwwrootTVCCDemoselect-convertmp"
By default, video files uploaded by users will be stored in the folder named "uploaded", encoded video files will be stored in the folder named "converted" and output of TVCC will be saved in the folder named "tmp".
6. Assign "full control" permission to account "IUSR_COMPUTERNAMEfor file "c:inetpubwwwrootTVCCDemoupload-convertlist.txt", the demo will save the video uploading and converting record to this file.
7. edit php files:
find "E:/cmdvc/TVCC.exe" in ctvc.php, change it to the path of the executable file TVCC.exe.
find "E:/cmdvc/pscount.exe"(on Windows) in ctvc.php, change it to the path of the executable file pscount.exe.
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.
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 files larger than 200 KB.
* Open Internet Information Service Manager.
* Right click the "Internet Information Services (IIS) Manager" node and select "Properties". Select "Enable Direct Metabase Edit" and click OK.
* Open C:WINDOWSsystem32inetsrvMetabase.xml with a text editor; Find AspMaxRequestEntityAllowed and change its value to a proper value.
* Save Metabase.xml and restart IIS.
Test your Web site
To test the site, please open your browser and navigate to
* http://yourdomain/TVCCDemo/upload-convert
* http://yourdomain/TVCCDemo/select-convert.
If everything goes well, you can upload video files to your server and encode them now.