MCPcopy
hub / github.com/simstudioai/sim / readOut

Function readOut

apps/sim/lib/media/ffmpeg.ts:296–299  ·  view source on GitHub ↗
(outputPath: string, ext: string)

Source from the content-addressed store, hash-verified

294}
295
296async function readOut(outputPath: string, ext: string): Promise<FfmpegResult> {
297 const buffer = await fs.readFile(outputPath)
298 return { buffer, ext, contentType: mimeFromExt(ext) }
299}
300
301async function overlayAudio(
302 dir: string,

Callers 11

overlayAudioFunction · 0.85
mixAudioFunction · 0.85
concatFunction · 0.85
trimFunction · 0.85
scalePadFunction · 0.85
overlayImageFunction · 0.85
addTextFunction · 0.85
fadeFunction · 0.85
extractAudioFunction · 0.85
convertFunction · 0.85
thumbnailFunction · 0.85

Calls 2

mimeFromExtFunction · 0.85
readFileMethod · 0.80

Tested by

no test coverage detected