如何在 C# 中将.wav文件转换为.ogg



我正在编写的程序使用NAudio将.ogg立体声轨道转换为单声道。

问题是 NAudio 似乎只导出为.wav格式。

我似乎找不到将.wav转换为.ogg的直接答案。

任何帮助都会很棒,谢谢。

FFMpegArguments
            .FromFileInput("ff067f12-4cec-4540-948b-28fea6d12f91.m4a")
            .OutputToFile("ff067f12-4cec-4540-948b-28fea6d12f91.ogg", true, options => options                    
                .WithConstantRateFactor(21)
                .WithVariableBitrate(4)
                .WithFastStart())
            .ProcessAsynchronously()

最新更新