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

log extract track command

This commit is contained in:
Mikael Finstad 2024-08-24 14:20:07 +02:00
parent 809bcc958e
commit 085d622cac
No known key found for this signature in database
GPG Key ID: 25AB36E3E81CBC26

View File

@ -425,7 +425,7 @@ async function extractNonAttachmentStreams({ customOutDir, filePath, streams, en
...streamArgs, ...streamArgs,
]; ];
const { stdout } = await runFfmpeg(ffmpegArgs); const { stdout } = await runFfmpeg(ffmpegArgs, undefined, { logCli: true });
console.log(stdout.toString('utf8')); console.log(stdout.toString('utf8'));
return outPaths; return outPaths;
@ -461,7 +461,7 @@ async function extractAttachmentStreams({ customOutDir, filePath, streams, enabl
]; ];
try { try {
const { stdout } = await runFfmpeg(ffmpegArgs); const { stdout } = await runFfmpeg(ffmpegArgs, undefined, { logCli: true });
console.log(stdout.toString('utf8')); console.log(stdout.toString('utf8'));
} catch (err) { } catch (err) {
// Unfortunately ffmpeg will exit with code 1 even though it's a success // Unfortunately ffmpeg will exit with code 1 even though it's a success