Intelligence Information Technology Communication : raviramanujam@gmail.com

Wednesday, July 28, 2010

Host the video on your own site

Convert video to FLV format step by step
  • Step 1. Load the video
    Launch Video Encoder for Adobe Flash. Click "Select..." and choose a video file that you want to convert.
  • Step 2. Edit the video
    Click "Crop & Trim", if you want to edit the source video. You can crop the video, if you want to remove blackbars, or just want a part of the picture. You can trim the video, if you just want to convert a certain duration of video.
  • Step 3. Configure the conversion settings
    Select "User-defined" to enable yourself to customize the audio and video settings. And specify the audio setting and video settings properly. You can check the help file to find more detailed guidance.
  • Step 4. Specify output settings
    Specify an output folder to save the created FLV and SWF files. Check both "Generate FLV" and "Generate SWF ".
    If you want to create a SWF player which can play different FLV files dynamically, you should choose "Get the FLV path from a URL variable and play progressively". Then you need to specify a URL variable name (in the right blank), then the created SWF player can get the FLV path from HTML code using this variable name.
    Otherwise, you can simply choose "Play the created external FLV file progressively".
  • Step 5. Choose skin for Flash video player
    Select a color scheme and style you like. Choose "Classic (Black, Full)" for example. "Full" control panel provides all controls including Play, Pause, Fast forward/backward, Volume control, Mute, Elapsed Time and Duration.
  • Step 6. Start conversion
    Click "Next" to start conversion. It will take a few minutes.
    After the conversion finishes, open the output folder, then you can see the created ".flv" and ".swf" files. You can also use free software FLV Player to play the .flv video directly to see if its quality is good enough. If not, you need to convert the video again, and try some different conversion settings.

Put the FLV video on Web page step by step.
  • Step 1. Upload the created ".swf" file and the ".flv" video file to the same folder on your server. For example, if you want to show the video on http://www.myhomepage.com/index.htm, then upload the ".swf" and ".flv" files together to the path http://www.myhomepage.com/.
  • Step 2. Add the following html code to your page and customize the relating parameters.

    If you have chosen "Get the FLV path from a URL variable and play progressively" , then
    add code:
    id="flashvideoplayer.swf" align="middle">

    value="http://www.myhomepage.com/flashvideoplayer.swf?
    flv=http://www.myhomepage.com/myvideofile.flv">


    http://www.myhomepage.com/flashvideoplayer.swf?
    flv=http://www.myhomepage.com/myvideofile.flv" quality="high" bgcolor="#ffffff" width="400" height="300" name="flashvideoplayer.swf"
    align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer">
    And customize the parameters:
    Replace "myvideofile.flv" with your FLV filename;
    Replace "flashvideoplayer.swf" with your SWF filename;
    Replace "http://www.myhomepage.com/" with your own address;
    Replace the "width" and "height" with your flv file's width and height. Specify the "quality" and "bgcolor" as you want.
    In the code above, flv is just the URL variable name that you should have specified before conversion. The player can automatically get the URL variable's value (http://www.myhomepage.com/myvideofile.flv), and play the Flash Video.

    If you have chosen "Play the created external FLV file progressively ", then
    add code:
    id="flashvideoplayer.swf" align="middle">

    value="http://www.myhomepage.com/flashvideoplayer.swf">


    http://www.myhomepage.com/flashvideoplayer.swf" quality="high" bgcolor="#ffffff" width="400" height="300" name="flashvideoplayer.swf" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer">
    And customize the parameters:
    Replace "flashvideoplayer.swf" with your SWF filename;
    Replace "http://www.myhomepage.com/" with your own address;
    And replace the "width" and "height" with your flv file's width and height. Specify the "quality" and "bgcolor" as you want. The Flash video player has the ".flv" file's URL when it is created. So you don't need to specify it in the code.

No comments:

Indian Temples History.