aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/helpers
diff options
context:
space:
mode:
Diffstat (limited to 'server/helpers')
-rw-r--r--server/helpers/ffmpeg-utils.ts3
1 files changed, 3 insertions, 0 deletions
diff --git a/server/helpers/ffmpeg-utils.ts b/server/helpers/ffmpeg-utils.ts
index 01c3aa5f7..32bd3e44a 100644
--- a/server/helpers/ffmpeg-utils.ts
+++ b/server/helpers/ffmpeg-utils.ts
@@ -277,6 +277,7 @@ async function getLiveTranscodingCommand (options: {
277 logger.debug('Apply ffmpeg live video params from %s using %s profile.', builderResult.encoder, profile, builderResult) 277 logger.debug('Apply ffmpeg live video params from %s using %s profile.', builderResult.encoder, profile, builderResult)
278 278
279 command.outputOption(`${buildStreamSuffix('-c:v', i)} ${builderResult.encoder}`) 279 command.outputOption(`${buildStreamSuffix('-c:v', i)} ${builderResult.encoder}`)
280 command.addInputOptions(builderResult.result.inputOptions)
280 command.addOutputOptions(builderResult.result.outputOptions) 281 command.addOutputOptions(builderResult.result.outputOptions)
281 } 282 }
282 283
@@ -294,6 +295,7 @@ async function getLiveTranscodingCommand (options: {
294 logger.debug('Apply ffmpeg live audio params from %s using %s profile.', builderResult.encoder, profile, builderResult) 295 logger.debug('Apply ffmpeg live audio params from %s using %s profile.', builderResult.encoder, profile, builderResult)
295 296
296 command.outputOption(`${buildStreamSuffix('-c:a', i)} ${builderResult.encoder}`) 297 command.outputOption(`${buildStreamSuffix('-c:a', i)} ${builderResult.encoder}`)
298 command.addInputOptions(builderResult.result.inputOptions)
297 command.addOutputOptions(builderResult.result.outputOptions) 299 command.addOutputOptions(builderResult.result.outputOptions)
298 } 300 }
299 301
@@ -605,6 +607,7 @@ async function presetVideo (
605 localCommand.audioCodec(builderResult.encoder) 607 localCommand.audioCodec(builderResult.encoder)
606 } 608 }
607 609
610 command.addInputOptions(builderResult.result.inputOptions)
608 command.addOutputOptions(builderResult.result.outputOptions) 611 command.addOutputOptions(builderResult.result.outputOptions)
609 addDefaultEncoderParams({ command: localCommand, encoder: builderResult.encoder, fps }) 612 addDefaultEncoderParams({ command: localCommand, encoder: builderResult.encoder, fps })
610 } 613 }