INNER CODE UNIT · TypeScript
startFfmpegWriterProcess
mifi/editly · src/index.ts:224
function startFfmpegWriterProcess() {
const args = [
"-f",
"rawvideo",
"-vcodec",
"rawvideo",
"-pix_fmt",
"rgba",
"-s",
`${width}x${height}`,
"-r",
framerateStr,
"-i",
"-",
...(audioFilePath ? ["-i", audioFilePath] : []),
...(!isGif ? ["-map", "0:v:0"] : []),