Var progress = new Progress(TranscodeProgress) Īwait preparedTranscodeResult.TranscodeAsync().AsTask(_cts. If (preparedTranscodeResult.CanTranscode) Var preparedTranscodeResult = await _Transcoder.PrepareFileTranscodeAsync(_InputFile, _OutputFile, _Profile) Converting Wav file to MP3 or other format using DirectShow All the best. _OutputFile = await ("Transformfile.mp3", CreationCollisionOption.GenerateUniqueName) Private async void Button_Click_2(object sender, RoutedEventArgs e) OutputMsg.Foreground = new Windows.UI.(Windows.UI.Colors.Green) There is textblock with name of OutputMsgĪwait (Windows.UI., () => OutputText("Progress: " + percent.ToString().Split('.') + "%") file = await picker.PickSingleFileAsync() Picker.SuggestedStartLocation = .MusicLibrary Private async void Button_Click_1(object sender, RoutedEventArgs e) WAV to MP3 Converter also supports batch conversion to avoid repeated conversions. The tool is very fast and well suited to computers with multiprocessor systems. You can copy audio tags from the source file to the destination file. Please follow these codes to convert to mp3 // Two files WAV to MP3 Converter is a program that enables you to convert WAV files to MP3 files and vice versa. You can use MediaEncodingProfile class to convert wav to mp3 or wma
0 Comments
Leave a Reply. |