MCPcopy Create free account
hub / github.com/TomClive/SeeDance2Stitcher / ratioToNumber

Function ratioToNumber

server.js:473–477  ·  view source on GitHub ↗
(value)

Source from the content-addressed store, hash-verified

471}
472
473function ratioToNumber(value) {
474 const [a, b] = String(value).split("/").map(Number);
475 if (!a || !b) return Number(value) || 0;
476 return a / b;
477}
478
479async function decodeGray(filePath) {
480 const args = [

Callers 1

ffprobeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected