YouTube-like video hosting web-sites take high enough rating positions in the Internet. Sophisticated process do you think is the developing of such video services and web-sites?
No. It is easier than it seems to be. Ok, let create our own video hosting web-site. I am going to demonstrate the easiness of it using Sothink Video Encoder for Adobe Flash. All we need is a web-shell. And Sothink Video Encoder for Adobe Flash will undertake the creation of thumbnails and converting of video clips from avi, mpeg, mpg, mpe, dat (VCD), vob (DVD), wmv, asf, asx, mp4, mov, 3gp, 3g2, 3gpp, dv, qt, rm, rmvb formats into flash flv format.
Install it easy
At the first we should choose an operating system our server will run under. It could be any Windows- or Linux-based platform with preinstalled set of web-server. We will use Apache2 + PHP + MySQL.
You can find PHP, ASP, and ASP.NET server settings samples in Sothink Video Encoder for Adobe Flash documentation, therefore, in order to avoid repeating, we will explain the main point of encoder’s operation.
A user upload video file on the server using browser form.
As soon as the video file had appeared on the server, we make an order Sothink Video Encoder to convert it and the encoder converts the file into flv-format.
And then end-user can play this flv-file on a separate public web-page using special swf-player.

Additionally there is a function of watermark application on video and on-the-fly creation of video clip thumbnail to add it in video file gallery.
During testing of Sothink Video Encoder on PHP we created a files uploading form, then moved our video file in “tmp” directory and made order Sothink Video Encoder to process the uploaded file and move the converted file into a directory “movies“.
The command looked like:
fvec tmp/source.avi movies/result1.flv -vw 320 -vh 240 -tn thumbs/thumb1.jpg -tw 160 -th 120
The FVEC has converted AVI into FLV, has changed video frame size into 320×240 and has created a thumbnail. The encoder has dropped the thumbnail in the directory “thumbs”, and ready-for-view flash video file – into the directory “movies“.
In fact, we needed just only install the shell and define the directories for results.
Additional command settings allow:
- to manage outcome audio and video settings
- to get various income file information
- and other
The program settings are flexible.

没有评论:
发表评论