feat(transcode): set loglevel to warning for all ffmpeg commands

This commit is contained in:
yiling
2026-06-18 11:57:38 +08:00
parent 46815736e2
commit d84950d372
4 changed files with 14 additions and 6 deletions
@@ -379,7 +379,11 @@ describe('Transcode Activities', () => {
// Mock child_process.execFile to simulate ffmpeg succeeding
// eslint-disable-next-line @typescript-eslint/no-explicit-any
;(child_process.execFile as any).mockImplementation(
(file: string, args: string[], cb: any) => {
(
file: string,
args: string[],
cb: (err: Error | null, result: { stdout: string; stderr: string }) => void,
) => {
cb(null, { stdout: '', stderr: '' })
},
)