Exporting high quality video

I am using processing right now and I would like to export my sketch as a video. I have used the SaveFrame() method, along with the movie Maker from processing. However, it seems like the quality of the video is low. Is it possible to improve the quality?

Hello @TairGalili

Can you be more specific about the issue with quality of image?

For example, are you seeing pixelation? Or, is movement not smooth?