Could not render animation: Mpeg4 (.mp4) requires width and height to be even numbers. Please resize or crop the image before exporting STEPS TO REPRODUCE 1. when I try to render an sequence it fails and gives above pasted error EXPECTED RESULT SOFTWARE/OS VERSIONS Windows: macOS: Linux/KDE Plasma: (available in About System) KDE Plasma Version: KDE Frameworks Version: Qt Version: ADDITIONAL INFORMATION
Did you then change your image size to be an even number of pixels? Did it render with no problems after you did that? Have you downloaded and used ffmpeg in the way recommended in the krita manual?
I think it is memory related, I have an error "Out of memory! Swapping has been started" File sze is 2.8 gb, I have 4 gb ram in my laptop, Krita configured with a 3.3 Gb memory limit and 12 gb swap. Increasing swap and memory size doesnt help. What I have done now is that I cut up the large file into several smaller ones. The smaller files are able to render to a png seqeunce
With a new blank image, krita 4.2.1 uses 1GB of RAM. Your image size of 2.8GB will be added to that. Your OS will require maybe 700GB or more. You can't allocate any more RAM to krita in that situation with only 4GB of RAM in your computer. You could splice the png sequences using a video editor. Depending on the complexity of your original .kra file (number of layers, filter masks, etc) it may be that importing all the .png images with File -> Import animation frames will result in a krita image size that is much less than 2.8GB so that you can render it all out. The obvious solution is to fit more RAM to your laptop, if you can do that. This is not expensive if bought on ebay.
Okay, so this is not a bug.
Thanks again for your help! So agree that it is not a bug, but the thrown error threw me off, so thats why I reported it. I think the words used in the thrown error is strange . The error refers to an ffmpeg error while trying to render to a mp4 file, but I am trying to render a png sequence. Or does krita render to mp4 before rendering to a sequence?
Well, if you want to render the png's to an mp4 later on, they still need to have dimensions divisable by 2 so we show that message whenever that's not the case.