| Summary: | FFmpeg bundled in Krita appimage fails to export Krita Recorder Docker videos | ||
|---|---|---|---|
| Product: | [Applications] krita | Reporter: | Tyson Tan <tysontanx> |
| Component: | Dockers/Recorder | Assignee: | Krita Bugs <krita-bugs-null> |
| Status: | REPORTED --- | ||
| Severity: | normal | CC: | penguinflyer2222 |
| Priority: | NOR | ||
| Version First Reported In: | 5.3.0-beta1 | ||
| Target Milestone: | --- | ||
| Platform: | Manjaro | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
|
Description
Tyson Tan
2026-02-10 03:36:43 UTC
According to the error message, you tried to render an absolutely ginormous 10000x5008 video, that's over 50 million pixels (50080000) per frame! OpenH264 has a limitation of just under 9.5 million (9437184) pixels per frame (maximum size for a square video is 3072x3072px). Your distro's native FFMpeg is probably using libx264 instead, which doesn't have this limitation; Krita automatically picks the available x264 encoder when using the default MP4 export profile. It should work if you use the Resize checkbox to render a smaller video (4K video is around 3840x2160, for reference). For this image's aspect ratio, something like 4000x2003 should work. Yeah, the video export worked with the resize box check. In any case, this exposed some usability issues in the export video dialogue: 1. The resize checkbox should be ON with dimensions set to safe values, by default. Reason: People usually draw at least with a size of A4 300dpi (3508x4960), which is already over the limitation. We should prevent any error like this when the user uses the app with default settings. 2. Add a Default button to reset all settings. Reason: I have no idea whether tha resize checkbox is ON/OFF by default. There was no straight forward way to reset FFmpeg binary to the bundled one, either. These settings are too technical and we should give the user a way to fallback to failsafe values. 3. Group the options under these sections with titles: * Frames * Result * Size * Format Reason: This is to enhance the discoverability of each option. I actually looked for "Size" related options in the dialogue, but did not noticed it. I think I overlooked it because it is grouped along with the frame related stuff, such context is misleading. For (3), I recommend adding a Screen Size preset droplist for common screen sizes, and a button to swap X and Y dimension so that we can quickly switch compositions for different target devices. It'd be even nicer if it can detect the picture's orientation and use a fitting horizontal/vertical default size accordingly. |