Viscom Software Screen2Video ActiveX Control

MP4GPUCodec Property

Description:   

Get/Set the GPU codec for encoding MP4 file.  You can select NVDIA, AMD, Intel GPU. Make sure your computer support GPU, you may call  MP4DetectGPU method and checking the return value.

 

Usage:   

Screen2Video1.MP4GPUCodec[= value]
0 - No GPU
1 - NVIDA
2 - AMD
3 - Intel

Data Type:   

Integer

Example:    

This Visual Basic example 

Private Sub Capture_Click()      
        Screen2Video1.OutputType=10
        Screen2Video1.MP4GPUCodec=1
        Screen2Video1.MP4NVIDAPreset = 3
        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