media-server / src /postprod /interpolate.mts
jbilcke-hf's picture
jbilcke-hf HF staff
working on the new version
fb04e43
raw
history blame
403 Bytes
import { interpolateVideo } from "./interpolateVideoCLI.mts"
// to test this file:
// npm run postprod:interpolate sandbox/video/1688471841394.mp4 sandbox/video/output.mp4
const inputFilePath = process.argv[2]
const outputFilePath = process.argv[3]
console.log('input file path:', inputFilePath)
console.log('output file path:', outputFilePath)
await interpolateVideo(inputFilePath, outputFilePath)