• home
  • forum
  • my
  • kt
  • download
  • How to convert M4V to Flash?

    Author: 2009-01-06 09:45:40 From:

    Many of my friends are iPod and iPhone fans and they all have many .mp4, .mov, and .m4v files. Some of them would like to upload these files to their personal websites or blogs and asked me for help. Here I'd like to show you my simple way with a user-friendly program called Moyea Flash Video MX Pro.  M4V is a standard file format for the popular Apple iPod devices. Here I'll take this file as an example.

    First, let's install and launch the program. This is the main interface.

    Step 1. Import video

    Click on the folder icon on the top-right corner, and select the .m4v file. Then you can watch it in the preview panel.

    Step 2. General settings

    If you'd like to edit your video, you can fix it under the tabs on the right. You can trim and crop under "Edit"; change the brightness and contrast under "Effect"; add text or image watermark under "Watermark"; capture a thumbnail under "Snapshot", and so on.

    Then, click "Next".

    Step 3. Output settings

    In this section, you can choose the output folder and output formats. Here we choose "Generate Flash video (FLV)", "Embed the video in SWF and play in timeline", and "Generate HTML file".

    You can also merge two other videos with this one by adding video prelude and video curtain. If you want a better quality, you'd better keep the parameters on the right original.

    Click "Next" to continue.

    Step 4. Player settings

    In this section you can add player skin, some special effects, and preloader. You can also set more parameters under "Profile" tab, such as auto play, auto load, navigation, etc.

    Step 5. Conversion

    Click "Next", you will see some useful parameters. Click "Start" to convert. The output folder will pop up as soon as the conversion accomplished.

    Step 6. Embed the SWF to HTML page

    Now how to upload the SWF to the website?

    You can upload the HTML and SWF directly to your server (make sure that they are in the same folder), or code the page like the following:

    <!--url's used in the movie-->

    <!--text used in the movie-->

    <!-- saved from url=(0013)about:internet -->

    <!--<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/

    shockwave/cabs/flash/swflash.cab#version=7,0,0,0" width="400" height="300">

    <!--<param name=movie value="mflvplayer.swf?playerOpts=targetClip*demo.flv*s">

    <!--<param name=quality value=high>

    <!--<embed src="mflvplayer.swf?playerOpts=targetClip*demo.flv*s" quality=high pluginspage="http://www.macromedia.com/shockwave/d

    ownload/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="400" height="300">

    </embed>-->

    </object>-->

    Well, have you noticed the mflvplayer.swf in blue? Replace it with your own SWF file.

    The width="400" height="300" in black indicates the width and the height of your video.

    The playerOpts=targetClip*demo.flv*s in bold indicates the name of the FLV file to be played while demo.flv is your video. You might be curious about targetClip, the asterisk separator and the "s" in the end.


    In fact, playerOpts is not that simple. PlayerOpts consists of several segments, each of which is separated by "||", and each segment contains a property of the control bar. One segment is divided into 3 parts by the asterisk (*). The first part is the property name, the second part is the property value and the third part is the data type of the property. For instance, targetClip*demo.flv*s is a segment, targetClip is the property name, demo.flv is the property value and the "s" is the character string type of this property. This segment is to specify the path from which the control bar can play the video. There are also other properties. You can set multiple properties at a time, using "||" to separate different segments, code like the following:

    playerOpts=targetClip*demo.flv*s||panelColor*255,0,0*c

    In this way, when you are setting the targetClip property, you are also setting the panel color property. The panel color is the control bar color, the data type is color "c", and 255,0,0 is the RGB color. Please notice that the property name and data type are case sensitive.

    Then, enjoy your work on your site!

    discuss this topic to forum

    relation tutorial

    No information

    Category

      3D (29)
      Math Physics (17)
      3rd Party (8)
      Navigation (65)
      Actionscripting (181)
      Optimization (17)
      Animation (128)
      Projector (11)
      Audio (52)
      Special Effects (157)
      Backend (26)
      Text Effects (86)
      Drawing (32)
      Tips and Techniques (47)
      Dynamic Content (32)
      Tricks (8)
      Games (101)
      Utilities (23)
      Getting Started (92)
      Video (37)
      Interactivity (43)
      Web Design (29)

    New

    Hot