Audio capture to FLAC file
Products: Video Capture SDK .Net
An open-source codec, FLAC provides lossless audio compression, meaning it reduces file size without any loss in sound quality. Ideal for audiophiles and for archiving music, FLAC files are larger than MP3s but offer perfect sound replication from the original source.
Sample code
Set sample FLAC settings and apply them as output format.
var flacOutput = new FLACOutput();
flacOutput.Level = 5;
VideoCapture1.Output_Format = flacOutput;
Set audio capture mode.
VideoCapture1.Mode = VideoCaptureMode.AudioCapture;
Set the file name.
VideoCapture1.Output_Filename = "output.flac";
Start capture (sync or async).
await VideoCapture1.StartAsync();
Required redists
Visit our GitHub page to get more code samples.