Viscom Software VideoCap ActiveX Control

Mp4NVIDAPreset Property 

Description:   

Set the NVIDA Preset if your computer support use NVIDA GPU for encoding MP4 file. ( need purchased MP4 Encoder plugin). Some Preset can minimize usage of CPU , let the output video quality is better.
 output Low-Latency mp4 video. Make sure your computer support NVIDA GPU, you may call  Mp4DetectGPU method, if it support NVIDA GPU, it will return 1.

Usage:   

VideoCap1.Mp4NVIDAPreset[= value]

0 - slow
1 - medium
2 - fast
3 - high performance
4 - high quality
5 - bluray disk
6 - low latency
7 - low latency high quality
8 - low latency high performance
9 - lossless
10 - lossless high performance

Data Type:   

short
 
 

Example:   

This code demonstrates how to use UseMP4EncoderPlugin property.

Private Sub Capture_Click()
     VideoCap1.UseMp4EncoderPlugin = True
      VideoCap1.Mp4Videobitrate = 4600000
     VideoCap1.Mp4Audiobitrate = 224000
     VideoCap1.Mp4AudioSamplerate = 48000
     VideoCap1.Mp4Audiochannel = 2
     VideoCap1.Mp4Width = 1280
     VideoCap1.Mp4Height = 720
     VideoCap1.Mp4FrameRate =25
     VideoCap1.Mp4Album = "My Album"
     VideoCap1.Mp4Author = "My Author"
     VideoCap1.Mp4Comment ="My Comment"
     VideoCap1.Mp4Copyright = "My Copyright"
     VideoCap1.Mp4Title = "My Title"
     VideoCap1.Mp4NVIDAPreset = 3
     VideoCap1.Mp4GPUCodec =1 
     VideoCap1.CaptureFileName = "c:\output\yourfile.mp4"
      result = Me.VideoCap1.Start
End Sub


Value:   

short