Reputation: 4450
frame-%d.png
)I'm trying to figure out the correct settings in order to achieve that:
await new Promise((resolve) => {
ffmpeg()
.on('end', () => {
setTimeout(() => {
console.log('done')
resolve()
}, 100)
})
.on('error', (err) => {
throw new Error(err)
})
.input('/my-huge-frames/frame-%d.png')
.inputFPS(1/24)
.output('/my-huge-video.mp4')
.outputFPS(24)
.noAudio()
.run()
inputFPS(1/24)
& outputFPS(24)
correct ?frame-%d.png
is huge: 32400PX x 32400PX (~720Mb). Will ffmpeg
be able to generate such a video, and if so, will the video be playable? If not, what is the maximum resolution each frame-%d.png
should have instead?ffmpeg -framerate etc...
) ?Upvotes: 0
Views: 338
Reputation: 14549
your output image size is too large for most common video codecs.
You may be able to do raw RGB or raw YUV, but that is going to be huge ~1.5GB per frame for YUV420...
what are you planning to play this on, I know of some dome theaters that theoretically able run something like 15 simultaneous 4k feeds... but they are processed before hand...
Upvotes: 1