mirror of
https://github.com/mifi/lossless-cut.git
synced 2024-11-25 03:33:14 +01:00
log extract track command
This commit is contained in:
parent
809bcc958e
commit
085d622cac
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user