Bug 408850 - exporting a sequence gives error
Summary: exporting a sequence gives error
Status: RESOLVED NOT A BUG
Alias: None
Product: krita
Classification: Applications
Component: General (other bugs)
Version First Reported In: 4.2.1
Platform: Appimage Linux
: NOR normal
Target Milestone: ---
Assignee: Krita Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-06-17 20:01 UTC by Arno
Modified: 2019-06-18 09:46 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Arno 2019-06-17 20:01:57 UTC
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
Comment 1 Ahab Greybeard 2019-06-17 21:10:54 UTC
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?
Comment 2 Arno 2019-06-18 05:55:27 UTC
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
Comment 3 Ahab Greybeard 2019-06-18 07:08:41 UTC
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.
Comment 4 Halla Rempt 2019-06-18 09:24:39 UTC
Okay, so this is not a bug.
Comment 5 Arno 2019-06-18 09:42:37 UTC
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?
Comment 6 Halla Rempt 2019-06-18 09:46:35 UTC
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.