diff --git a/video.mjs b/video.mjs index b5d6fc7..e1f59eb 100644 --- a/video.mjs +++ b/video.mjs @@ -45,7 +45,7 @@ export async function createVideo() { } //run the command ffmpeg -framerate 5 -i %d.png -c:v libx264 -r 30 output.mp4 return new Promise((resolve, reject) => { - exec('ffmpeg -framerate 5 -i images/final/%d.png -c:v libvpx -r 30 out/output.mp4', (err, stdout, stderr) => { + exec('ffmpeg -framerate 5 -i images/final/%d.png -c:v libvpx -r 30 out/output.webm', (err, stdout, stderr) => { if (err) { reject(err); return;