Parameter strMediaFile Specifies the name of video/audio file.
strOutputImage Specifies the output image file. According the file extension, it support output JPEG, BMP, TIFF, PNG, TIFF, GIF file.
iAudioStart Specifies the media start time, in second unit. iAudioStop Specifies the media stop time, in second unit.
iScale Specifies the waveform scale. You may set the scale smaller than 1.0 if duration of waveform is long.
iWaveFormHeight Specifies the height of waveform.
clrWaveForm Specifies the color of waveform.
clrBackColor Specifies the background color of waveform.
Return Value
Return true if successful, otherwise return false
Example
|
Visual Basic Syntax result = VideoEdit1.ExportWaveformToImage("c:\yourvideo.mpg", "c:\temp\outputwaveform.jpg", 0, 30, 1.0, 200, RGB(0,255,0), RGB(0,0,0)
|
|