I have used a couple of methods which are good for sharing video renders on social media without worrying about high quality. But now I want the best quality possible. 4K, 30/60fps, and high bitrate mp4 to specific.
I have seen posts online using other methods which are good for high quality but they all seem very outdated. I’m wondering if people are still using these old methods or if something new has come along.
Something to keep in mind. I have a very old (15 year old) laptop. It has a first gen i7 at 1.6 GHz, old ATI 1GB GPU, and upgraded to 8GB Ram and an SSD. That’s why I can’t do real time rendering and have to do offline rendering so that each frame can take as long as needed.
I have used:
- saveGif - Not good quality, and my laptop can barely handle it.
- p5.capture - I have only used direct video export in real time. In this mode, for high quality means a lot of frames dropped on my laptop.
- Screen recording software - Not possible to record anything bigger than 1600x900 on my laptop, and also a lot of dropped frames and low quality.
From what I see, the best way to do it is to render each frame one by one as a PNG sequence and then stitch them together with FFmpeg. The question is what to use to render the frames as PNGs.
CCapture.js seems to be the most talked about, but I see it hasn’t been updated in 8 years. Also, seems like the last p5 version that it worked with as intended was p5 v0.9.0, although there is a workaround apparently. Seeing that it was such a good solution but it has since been abandoned is what makes me wonder if there is a new better way that makes CCapture unnecessary now.
Maybe saveCanvas is that new way? I know there’s also saveFrames, but it has a limit of 15 seconds. Does saveCanvas have any limitations?
What about p5.capture PNG mode? This does offline rendering I believe. Is it a better solution than p5’s built in saveCanvas?
Any other methods that you guys use or know of?
And lastly what about converting p5 into Processing sketches? I know Processing will run better than p5 does in a browser, especially on my old laptop. How are the options to export high quality videos there? I have no experience with Processing or Java, but I guess an LLM should have no problem translating between the two. But would that be worth it?