Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
473
function
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
479
async
function
decodeGray(filePath) {
480
const
args = [
Callers
1
ffprobe
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected