pass -map 0 to preserve all streams
This commit is contained in:
parent
5dd32123a3
commit
1695f4c800
1 changed files with 1 additions and 0 deletions
|
|
@ -102,6 +102,7 @@ export class VideoProcessingService {
|
|||
.format(outputFormat) // Specify output format
|
||||
.addOutputOptions('-c copy') // Copy streams without re-encoding
|
||||
.addOutputOptions('-movflags +faststart')
|
||||
.addOutputOptions('-map 0')
|
||||
.on('error', reject)
|
||||
.on('end', async () => {
|
||||
try {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue