Documentation of Media Handler Pro 3.0 is here with complete detail including details about available encoding functions, methods, attributes and properties that can be used to transcode any format video from one format to another format, grab thumbnails, extract audio, post watermark and lots of other processings on video.
If you know more, please contact us.
| Properties | Type | Detail Information |
|---|---|---|
FFMPEGPath |
string | FFMPEGPath is used to setup ffmpeg.exe file path. |
FLVToolPath |
string | Its required property if you want to use Set_Buffering() function and is used to setup flvtool2.exe file path, normally it is located in flvtool folder. |
InputPath |
string | InputPath is used to setup folder path where source video exist. The path of video that need to be encoded. |
OutputPath |
string | OutputPath is used to setup folder path where destination video will be stored. Encoded video, audio and thumbnail will be stored here. |
FileName |
string | FileName is used to setup filename of destination video. The name of video or audio file which need to be encoded to another format. |
| Properties | Type | Detail Information |
|---|---|---|
OutputFileName |
string | OutputFileName is used to setup output filename, if its not provided then same video name will be setup as source video with different video extensions. (optional) |
Width |
int | Set width of encoded video. You must supply height of video also and make sure width is multiple of 2. Be default width and height of encoded video is same as source video width and height. (optional) |
Height |
int | Set height of encoded video. You must supply width of video also and make sure height is multiple of 2. Be default width and height of encoded video is same as source video width and height. (optional) |
Video_Bitrate |
double | Set video bitrate of encoded video in kbps. By default video bitrate will be same as source video or higher in case of MaxQuality property is true. (optional) |
Audio_Bitrate |
double | Set audio bitrate of encoded video in kbps. By default audio bitrate will be same as source video. (optional) |
Audio_SamplingRate |
int | Set audio sampling rate of encoded video in kbps. By default audio bitrate will be same as source video. (optional) |
FrameRate |
double | Set video frame rate per seconds. By default it will be same as source video. |
Duration |
string | Duration in seconds or in "hh:mm:ss" format used to limit any video to certain limit. By Default complete video will be encoded. If you want to limit video to 2 minites then pass 120 to Duration property. |
Deinterlace |
bool | Setting value to true will enable deinterlace option for encoded video. Default value is false. |
MaxQuality |
bool | Setting value to true will generate highest quality video. If you enable MaxQuality option then video bitrate will no longer work. |
VCodec |
string | Set video codec, default value depends on type of video to be encoded. |
ACodec |
string | Set audio codec, default value depends on type of video to be encoded. |
DisableAudio |
bool | Disable audio in encoded video. |
DisableVideo |
bool | Disable video in encoded video. It is used to extract audio from any video file or from audio files. |
Channel |
int | Set audio channgel. Default is 1. |
AspectRatio |
double | Set video aspect ratio for encoded video, e.g 1.3333, 1.7777 |
TargetFileType |
string | Set default video and audio options for encoded video, it is used when you encode video to .mpg and .avi format. typical values are "vcd", "svcd", "dvd", "dv", "dv50", "pal-vcd", "ntsc-svcd". Default value is "pal-vcd". |
CustomCommand |
string | It is used to excute your own custom ffmpeg command. |
| Properties | Type | Detail Information |
|---|---|---|
Frame_Time |
string | Time in seconds or "hh:mm:ss" in video from where you want to capture thumbnail |
ImageName |
string | Name of thumbnail if you want to set, Default value will be same as source video. |
Image_Format |
string | Image Format in which you want to save thumbnail like "jpg", "png" |
| Properties | Type | Detail Information |
|---|---|---|
WaterMarkPath |
string | Path of folder where watermark image resides. It is required property if you want to post watermark on video |
WaterMarkImage |
string | WaterMarkImage name sets name of watermark image that will be posted on video as watermark. Note it must be transparent and in gif format. |
| Method | Detail Information |
|---|---|
isAudio() |
isAudio function can be used to check whether specified video is in audio or video format return type is string. Detail |
Encode_FLV() |
Encode any format video to flv format, now in one step you can encode video to flv format, post watermark on video and customize lots of flv attributes by using properties describe above. Detail |
Encode_MPG() |
Encode any format video to mpg format and post watermark on it. Detail |
Encode_AVI() |
Encode any format video to avi format and post watermark on it. Detail |
Encode_3GP() |
Encode any format video to 3gp format. Note watermark feature is not available for .3gp videos Detail |
Encode_WMV() |
Encode any format video to wmv video format and post watermark on it. Detail |
Encode_MOV() |
Encode any format video to mov video format and post watermark on it. Detail |
Encode_MP4() |
Encode any format video to mp4, m4v and m4a video and audio format and post watermark on it except mpa. Detail |
Encode_MP3() |
Encode any format video to mp3 audio file. Note while generating mp3 audio file video properties will be excluded. Detail |
Encode_WMA() |
Encode any format video to wma audio file. Note while generating wma audio file video properties will be excluded. Detail |
Grab_Thumb() |
Grab single thumbnail image from video at any specified time interval and in any image format. Detail |
Get_Info() |
Get useful information from any format video. Information included video filename, video bitrate, audio bitrate, audio sampling rate etc. Detail |
Execute_FFMPEG() |
Execute your own FFMPEG command Detail |