switch mp3 codec to libmp3lame

This commit is contained in:
John Andrews
2024-03-22 16:43:36 +13:00
parent 9527cfc6c0
commit aacfb0eb79

View File

@@ -363,6 +363,8 @@ public class FfmpegBuilderAudioAddTrack : FfmpegBuilderNode
bool opus = codec == "opus";
if (opus)
codec = "libopus";
if (codec.ToLowerInvariant() == "mp3")
codec = "libmp3lame";
bool eac3 = codec.ToLowerInvariant() == "eac3";
bool dts = codec.ToLowerInvariant().Contains("dts");