Flash Video MX SDK V2
- Generate Flash 8 alpha video.
- Generate H.264/AAC MP4 video.
- Support all the popular videos.
- Picture grabber Object & FLV to SWF Object.
Flash Video MX SDK V2 COM exists in the form of COM component. You can apply this component with any programming language that supports COM component, such as C/C++, PHP, VB, Delphi, ASP, ASP.Net, ColdFusion and so on.
Flash Video MX SDK COM helps to realize your ideas on Flash video (FLV) via the incorporation of the different objects offered below.
Encoder Object
Via this Object,you can create FLV files from virtually any video format. You are provided with the full control over the generated FLV, ranging from quality, frame rate, size, to duration, watermarking, etc. Via the properties or methods of the object, you are able to handle the parameters.
Actually, all the encoding operation should be implemented with Encoder Object. First, you have to create an “fmx.Encoder” object, and then set the properties of the object, such as to choose the to-be encoded file, the output file, video bit rate, frame rate, file size and so on. When finish the parameter settings, you can invoke the Encode method and start the encoding.
EncodingTask Object
If you intend to execute the code in the task mode, then you can look up the encoding status information via EncodingTask Object, like: video bite rate, current encoding time, encoding result, etc.
This object is used to inquire the task state of encoding which is in the form of EncodeAsTask. You can inquire the current encoding state (not encoded, encoding), current time for encoding, total time for encoding, current video bit rate, current audio bit rate and so on. When Encoder add a task to encoding task queue with EncodeAsTask, you can use EncodingTask to inquire the task information through task ID. Once the task is finished (fails or succeeds), if you have set TaskCompletCallBack, TaskCompletCallBack it will be accessed, and if not the task will be deleted. Therefore, if you have not set TaskCompletCallBack, once the task is finished, the task will be deleted, and you can not inquire the task information through EncodingTask object any more. Thus, when using EncodingTask Object, you can choose to:
1. Show the encoding process, when the task has been submitted and is waiting for encoding or is encoding.
2. Inquire task information from the script specified by TaskCompleteCallBack.
Note: If you want to use this object, you have to start Moyea Task Dispatcher service first.
VideoInfo Object
VideoInfo Object is used to get video information, such as image size, frame rate, audio channels, and audio sample rate, and so on.
License Object
License Object is used to register the product. When you deploy your program, you need to use License Object to register Flash Video MX SDK V2 first.
FLV2SWF Object
This COM Object is to convert the FLV file generated by Flash Video MX SDK V2 to SWF file.
Through FLV2SWF Object, and by applying the Convert method, you can convert the FLV file into SWF file after FLV2SWF related properties are properly set.
PictureGrabber Object
This COM Object is to grab pictures from the source.
Through this object, you can set the properties for PictureGrabber. By calling AddGrabPicture or AddPictureWithTemplate you can set the parameters for a desired thumbnail picture. Then, you can get thumbnail pictures with the method of Grab.