Platform :

Popular Solution Go   Back

How to Disable Voice from Karaoke Video using VB6, VB.NET, C#, Delphi

Step 1: To install the Movie Player Gold SDK ActiveX, begin by launching the setup file (movieplayergoldsetup.exe). Select the desired installation folder for the Movie Player Gold SDK ActiveX and continue with the installation on your development computer.

Step 2: Launch your development tools and import the Movie Player Gold ActiveX to form. 

Step 3: The following code is VB6 code. 

MoviePlayer1.UseVolumeBoost = True 
MoviePlayer1.FileName = "c:\yourfile.avi"

Step 4: When the video playback, you may call VolumeAudioChannel = 0 or VolumeAudioChannel = 1 to enable or disable the voice.

Step 5: If your input video is MPEG1 video, you need call SetMPEG1AudioChannel 2
, make sure it decode both channels first.

MoviePlayer1.UseVolumeBoost = True 
MoviePlayer1.FileName = "c:\yourfile.mpg"
MoviePlayer1.SetMPEG1AudioChannel 2