()
| 103 | } |
| 104 | |
| 105 | async function probeVideo() { |
| 106 | const ffprobe = await getFfprobe(); |
| 107 | const args = ["-hide_banner", "-print_format", "json", "-show_format", videoPath]; |
| 108 | |
| 109 | logger.log("probing video", { videoPath }); |
| 110 | const childProcess = await execute(ffprobe.path, args); |
| 111 | |
| 112 | logger.log("video info", { |
| 113 | output: JSON.parse(childProcess.stdout), |
| 114 | }); |
| 115 | } |
| 116 | |
| 117 | export const ffprobeInfo = task({ |
| 118 | id: "ffprobe-info", |
no test coverage detected
searching dependent graphs…