|
|
|
@ -1712,12 +1712,13 @@ namespace Jellyfin.Api.Controllers
|
|
|
|
|
return audioTranscodeParams;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// dts, flac and opus are experimental in mp4 muxer
|
|
|
|
|
// dts, flac, opus and truehd are experimental in mp4 muxer
|
|
|
|
|
var strictArgs = string.Empty;
|
|
|
|
|
|
|
|
|
|
if (string.Equals(state.ActualOutputAudioCodec, "flac", StringComparison.OrdinalIgnoreCase)
|
|
|
|
|
|| string.Equals(state.ActualOutputAudioCodec, "opus", StringComparison.OrdinalIgnoreCase)
|
|
|
|
|
|| string.Equals(state.ActualOutputAudioCodec, "dts", StringComparison.OrdinalIgnoreCase))
|
|
|
|
|
|| string.Equals(state.ActualOutputAudioCodec, "dts", StringComparison.OrdinalIgnoreCase)
|
|
|
|
|
|| string.Equals(state.ActualOutputAudioCodec, "truehd", StringComparison.OrdinalIgnoreCase))
|
|
|
|
|
{
|
|
|
|
|
strictArgs = " -strict -2";
|
|
|
|
|
}
|
|
|
|
|