Media Handler Pro Documentation - Free Version

You can read about Media Handler Component free version documentation, classes and functions that is available in free version of component.

If you have to know more about it, please contact us.

Convert_Media:

Public Function Convert_Media(FileName, _ffmpegpath, InputPath , OutputPath, Width, Height, Video_Bitrate, FrameRate, Audio_Bitrate, Audio_SamplingRate, deinterlace)
Description:
Convert_Media() function is used to encode video from any format to flv format. This function accepts all possible video parameters including , width, height, audio bitrate, video bitrate, frame rate, audio sampling rate etc. By using this function you can easily control the quality and size of video. Greater will be the quality of video, greater will be the size and will take more bandwidth and time while loading on browser.
Parameter Detail:
  • String FileName : Name of source video e.g 'sample.mov'
  • String _ffmpegpath: path of ffmpeg.exe, need to be properly configure, view sample code section to learn more about how to be setup _ffmpegpath variable.
  • String InputPath: path of source video directory.
  • String OutputPath: path of destination video directory, where encoded video will save.
  • Integer Width: width of video, must be multiple of 2. e.g 389 is invalid as it is not multiple of two.
  • Integer Height: heigh of video, must be multiple of 2.
  • Integer Video_Bitrate: Set video bitrate, read more...
  • Float FrameRate: Set Framerate of output video, read more...
  • Integer Audio_Bitrate: Set Audio Bitrate, read more...
  • Integer Audio_SamplingRate: Set Audio Sampling Rate, read more...
  • Boolean deinterlace: whether generated video should be deinterlace or not.
Returns:
  • String: Generated Video Name
  • or
  • Error Codes - See Detail

Convert_Media:

Public Function Convert_Media(FileName, _ffmpegpath, InputPath, OutputPath, MovieSize, Video_Bitrate, FrameRate, Audio_Bitrate, Audio_SamplingRate, deinterlace)
Description:
Convert_Media() function is used to convert video from any format to flv format. This function is same as function describe above but it takes width and height as a string in single parameter. e.g "320x240".
Parameter Detail:
  • String FileName : Name of source video that need to be encode e.g 'sample.mov'
  • String _ffmpegpath: Path of ffmpeg.exe, need to be properly configure, view sample code section to learn more about how to be setup _ffmpegpath variable.
  • String InputPath: Path of source video directory.
  • String OutputPath: Path of destination video directory, where generated video will be store.
  • String MovieSize: Size of output video e.g '320x240'.
  • Integer Video_Bitrate: Set video bitrate, read more...
  • Float FrameRate: Set Framerate of output video, read more...
  • Integer Audio_Bitrate: Set Audio Bitrate, read more...
  • Integer Audio_SamplingRate: Set Audio Sampling Rate, read more...
  • Boolean deinterlace: whether generated video should be deinterlace or not.
Returns:
  • String: Generated Video Name
  • or
  • Error Codes - See Detail

Convert_Media:

Public Function Convert_Media(FileName, _ffmpegpath, InputPath, OutputPath, Video_Bitrate, Audio_Bitrate, Audio_SamplingRate, deinterlace)
Description:
Convert_Media() function is used to convert video from any format to flv format. This function will generate video of same size as source video.
Parameter Detail:
  • String FileName : Name of source video that need to be encode e.g 'sample.mov'
  • String _ffmpegpath: Path of ffmpeg.exe, need to be properly configure, view sample code section to learn more about how to be setup _ffmpegpath variable.
  • String InputPath: Path of source video directory.
  • String OutputPath: Path of destination video directory, where generated video will be store.
  • Integer Video_Bitrate: Set video bitrate, read more...
  • Integer Audio_Bitrate: Set Audio Bitrate, read more...
  • Integer Audio_SamplingRate: Set Audio Sampling Rate, read more...
  • Boolean deinterlace: whether generated video should be deinterlace or not.
Returns:
  • String: Generated Video Name
  • or
  • Error Codes - See Detail
Back to top

Convert_Media:

Public Function Convert_Media( FileName, _ffmpegpath, InputPath, OutputPath, Audio_Bitrate, Audio_SamplingRate, deinterlace) - Generate highest quality flv video . This function generate video with highest video bitrate as possible and also same size as source video. Due to setting video bitrate to highest value as possible, the quality of video is tremendous but at the same time, it will generate video approx three time bigger in size than source video.
Description:
Convert_Media() function is used to convert video from any format to flv format.
Parameter Detail:
  • String FileName : Name of source video that need to be encode e.g 'sample.mov'
  • String _ffmpegpath: Path of ffmpeg.exe, need to be properly configure, view sample code section to learn more about how to be setup _ffmpegpath variable.
  • String InputPath: Path of source video directory.
  • String OutputPath: Path of destination video directory, where generated video will be store.
  • Integer Audio_Bitrate: Set Audio Bitrate, read more...
  • Integer Audio_SamplingRate: Set Audio Sampling Rate, read more...
  • Boolean deinterlace: whether generated video should be deinterlace or not.
Returns:
  • String: Generated Video Name
  • or
  • Error Codes - See Detail
Back to top

Convert_Media:

Public Function Convert_Media( FileName, _ffmpegpath, InputPath, OutputPath, MovieSize, Audio_Bitrate, Audio_SamplingRate, deinterlace) - Generate highest quality flv video. This function is same as mentioned above but it also accept movie size in format of string as "320x240".
Description:
Convert_Media() function is used to convert video from any format to flv format.
Parameter Detail:
  • String FileName : Name of source video that need to be encode e.g 'sample.mov'
  • String _ffmpegpath: Path of ffmpeg.exe, need to be properly configure, view sample code section to learn more about how to be setup _ffmpegpath variable.
  • String InputPath: Path of source video directory.
  • String OutputPath: Path of destination video directory, where generated video will be store.
  • String MovieSize: Set size of output video, e.g '320x240'
  • Integer Audio_Bitrate: Set Audio Bitrate, read more...
  • Integer Audio_SamplingRate: Set Audio Sampling Rate, read more...
  • Boolean deinterlace: whether generated video should be deinterlace or not.
Returns:
  • String: Generated Video Name
  • or
  • Error Codes - See Detail
Back to top
©2007 - 2008, MediaSoft Pro Inc  | Site Map