Click to Get
Command Line Grammar
This Command Line Grammar of SWF to Video SDK offers you the main lead of successful conversion from SWF to Video files you would like to. You can choose the available options you prefer for the encoding and follow the instruction.
swf2videocmd source_swf [options] …
source_swf is the file path of source SWF.
Possible parameters for "options":
The frame to start capturing the video. By default, the start frame is 0.
The duration, in frames. By default, it lasts to the end of the video.
The output file path. If the output file is not set, the program won't implement the encoding.
Video encode options
The output file format, like avi, asf, mov, mp4, psp, 3gp and so on. For more information about file format, please refer to File Format List.
The output video size; w is width, h is height; W & H should be even value. By default, the width and the height of the source file are used.
The bit rate in video compression; in bps.
The output video frame rate; in fps; decimal fraction is possible, e.g. 29.970. By default, the frame rate of the source file is used.
The video compression codec, e.g. mpeg4. For more information about the possible value, please refer to Video Codec List.
The FOURCC of the video, e.g. mp43. By default, the pre-set settings of the encoder are used.
The interval between the key frames; 0 is for intraframe. By default, the value is 12.
The aspect ratio of the video, h is horizontal value and v is vertical value, e.g. 4/3.
Stretch the video when the h/v rate of the output video image is different from that of the source SWF image. Otherwise, letterbox is shown to process the cropped image.
Process alpha effect
Audio encode options
The audio compression codec, e.g. mp3. For more information about the possible value, please refer to Audio Codec List.
The output audio sample rate, in Hz.
The output audio channels; 1 for mono, 2 for stereo.
The audio bit rate; in bps, e.g. 96000.
Close the specified output stream.
Close standard output stream.
Close standard error stream.
Close standard output stream and standard error stream.
Do not close the output stream.
By default, standard output stream and standard error stream are printed to the screen
No video included.
No audio included
Set the priority of this process.
1 below normal
Show the version info
Show help info
Show help info