Related products: Video Capture SDK .Net

How to capture audio from output device (speaker) in Video Capture SDK .Net

1. Set audio capture source

VideoCapture1.Audio_CaptureDevice = "VisioForge What You Hear Source";
VideoCapture1.Audio_CaptureDevice_Format_UseBest = true;

2. Set audio capture mode

VideoCapture1.Audio_RecordAudio = true;
VideoCapture1.Audio_PlayAudio = true;

VideoCapture1.Mode = VFVideoCaptureMode.AudioCapture;

3. Set audio output to MP3 (with default parameters)

VideoCapture1.Output_Format = new VFMP3Output();
VideoCapture1.Output_Filename = "c:\\output.mp3";

4. Start capture

VideoCapture1.Start();

VisioForge © 2006-2020

  • GitHub-Mark-64px
  • Twitter Социальные Иконка
  • VisioForge Facebook page
  • YouTube channel