Viscom Software Screen2Video ActiveX Control

MP4AspectRatio Property

Description:   

Enable or Disable the aspect ratio when output MP4 file.
 

Usage:   

Screen2Video1.MP4AspectRatio[= value]
true - enable aspect ratio.
false - disable aspect ratio.

Data Type:   

Bool

Example:    

This Visual Basic example 

Private Sub Capture_Click()      
        Screen2Video1.OutputType=10
        Screen2Video1.MP4AspectRatio=false
        Screen2Video1.MP4AudioBitrate = 224000
        Screen2Video1.MP4AudioChannels = 2
        Screen2Video1.MP4AudioSampleRate = 44100
        Screen2Video1.MP4Framerate = 25
        Screen2Video1.MP4Height = 720
        Screen2Video1.MP4Width = 1280
        Screen2Video1.MP4VideoBitrate =4600000
        Screen2Video1.FileName="c:\test.mp4"
        Screen2Video1.Start

End Sub