diff --git a/backend/src/media/strategies/video-processor.strategy.ts b/backend/src/media/strategies/video-processor.strategy.ts index e2c8aa1..57cb393 100644 --- a/backend/src/media/strategies/video-processor.strategy.ts +++ b/backend/src/media/strategies/video-processor.strategy.ts @@ -37,13 +37,13 @@ export class VideoProcessorStrategy implements IMediaProcessorStrategy { .toFormat("webm") .videoCodec("libvpx-vp9") .audioCodec("libopus") - .outputOptions("-crf 30", "-b:v 0"); + .addOutputOptions("-crf", "30", "-b:v", "0"); } else { command = command .toFormat("mp4") .videoCodec("libaom-av1") .audioCodec("libopus") - .outputOptions("-crf 34", "-b:v 0", "-strict experimental"); + .addOutputOptions("-crf", "34", "-b:v", "0", "-strict", "experimental"); } command