I am encoding and exporting a video in mp4 and webm format. I am using ffmpeg.js. It works fine but i can not make a video longer than 33 seconds.
let ffmpegArguments:string[] = [];
ffmpegArguments.push("-framerate", (1.0/frameTime).toFixed(0), "-i", "f%03d.jpg" ,
"-loglevel", "debug", "-v", "verbose", "-c:v");
I tried to change f%03d.jpg
with f%04d.jpg
or f%08d.jpg
but it stops. Any idea why?
Below console log is when i replace f%03d.jpg
with f%04d.jpg
1: https://i.stack.imgur.com/kLyf0.png
I was able to solve this using 8 digits instead of 3. And padding the digits.