1
0
mirror of https://github.com/mifi/lossless-cut.git synced 2024-11-22 02:12:30 +01:00

Make ffmpeg map metadata

This commit is contained in:
Mikael Finstad 2017-09-14 19:15:19 +02:00
parent 60060d4b73
commit 61a13ceabe

View File

@ -67,6 +67,7 @@ async function cut(customOutDir, filePath, format, cutFrom, cutTo, onProgress) {
const ffmpegArgs = [
'-i', filePath, '-y', '-vcodec', 'copy', '-acodec', 'copy',
'-ss', cutFrom, '-t', cutTo - cutFrom,
'-map_metadata', '0',
'-f', format,
outPath,
];