Tag: wma

使用C#和ffmpeg将wma流转换为mp3流

是否可以实时将wma流转换为mp3流? 我尝试过做这样的事但没有运气: WebRequest request = WebRequest.Create(wmaUrl); HttpWebResponse response = (HttpWebResponse)request.GetResponse(); int block = 32768; byte[] buffer = new byte[block]; Process p = new Process(); p.StartInfo.UseShellExecute = false; p.StartInfo.ErrorDialog = false; p.StartInfo.RedirectStandardInput = true; p.StartInfo.RedirectStandardOutput = true; p.StartInfo.RedirectStandardError = true; p.StartInfo.FileName = “c:\\ffmpeg.exe”; p.StartInfo.Arguments = “-i – -y -vn -acodec libspeex -ac 1 -ar 16000 -f […]

在Windows Phone 8上将wav文件压缩为wma

我希望在Windows Phone上编码wma(或mp3,ogg等)中的wav文件。 我没有在网上找到任何资源。 关于我如何存档的任何想法? 我正在尝试从麦克风录制语音并从手机上传。 这就是为什么我喜欢在发送之前压缩音频文件。