Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
Commit
·
73a3511
1
Parent(s):
873dc9a
fix
Browse files
src/core/ffmpeg/concatenateVideosWithAudio.mts
CHANGED
@@ -132,7 +132,7 @@ export const concatenateVideosWithAudio = async ({
|
|
132 |
// If no additional audio is provided, simply copy the video stream
|
133 |
ffmpegCommand = ffmpegCommand.outputOptions([
|
134 |
'-c:v', 'copy',
|
135 |
-
hasOriginalAudio ? '-c:a' : '-an', // If original audio exists, copy it; otherwise, indicate no audio
|
136 |
]);
|
137 |
}
|
138 |
|
|
|
132 |
// If no additional audio is provided, simply copy the video stream
|
133 |
ffmpegCommand = ffmpegCommand.outputOptions([
|
134 |
'-c:v', 'copy',
|
135 |
+
hasOriginalAudio ? '-c:a copy' : '-an', // If original audio exists, copy it; otherwise, indicate no audio
|
136 |
]);
|
137 |
}
|
138 |
|