|
|
|
@ -41,6 +41,9 @@ module.exports = function transcodeStandardiseAudioCodecs(file, audioEncoder) {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
if (hasNonSpecifiedAudioCodecStream === true) {
|
|
|
|
if (hasNonSpecifiedAudioCodecStream === true) {
|
|
|
|
|
|
|
|
if (['dca', 'truehd'].includes(audioEncoder)) {
|
|
|
|
|
|
|
|
ffmpegCommandInsert += ' -strict -2';
|
|
|
|
|
|
|
|
}
|
|
|
|
return {
|
|
|
|
return {
|
|
|
|
preset: `,-map 0:v -map 0:a -map 0:s? -map 0:d? -c copy ${ffmpegCommandInsert}`,
|
|
|
|
preset: `,-map 0:v -map 0:a -map 0:s? -map 0:d? -c copy ${ffmpegCommandInsert}`,
|
|
|
|
processFile: true,
|
|
|
|
processFile: true,
|
|
|
|
|