1
0
mirror of https://github.com/snobu/destreamer.git synced 2026-02-09 00:09:44 +00:00

Renamed re-encoding parameters, amended README

This commit is contained in:
snobu
2020-05-02 16:58:20 +03:00
parent c21fb96ff6
commit 8902ccef80
3 changed files with 20 additions and 14 deletions

View File

@@ -217,8 +217,8 @@ async function downloadVideo(videoUrls: string[], outputDirectories: string[], s
['headers', headers]
]));
const ffmpegOutput = new FFmpegOutput(outputPath, new Map([
argv.encodeAudio === 'none' ? ['an', null] : ['c:a', argv.encodeAudio],
argv.encodeVideo === 'none' ? ['vn', null] : ['c:v', argv.encodeVideo]
argv.acodec === 'none' ? ['an', null] : ['c:a', argv.acodec],
argv.vcodec === 'none' ? ['vn', null] : ['c:v', argv.vcodec]
]));
const ffmpegCmd = new FFmpegCommand();