MCPcopy Index your code
hub / github.com/triggerdotdev/trigger.dev / probeVideo

Function probeVideo

references/v3-catalog/src/trigger/binaries.ts:105–115  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

103}
104
105async 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
117export const ffprobeInfo = task({
118 id: "ffprobe-info",

Callers 1

binaries.tsFile · 0.85

Calls 4

getFfprobeFunction · 0.85
executeFunction · 0.85
parseMethod · 0.80
logMethod · 0.65

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…