Export Timelapse as MP4 error: "Export failed. FFmpeg message: (blank)"

OS: Linux Nobara 37 (Based off Fedora 37)
FFmpeg: Updated to latest version 5.1.3
Krita: Updated to latest version 5.1.5

When I go to export my timelapse as MP4 I get the following error message “Export failed. FFmpeg message:” but the there is no message.

I have the latest FFmpeg and Krita is pointing to it correctly it seems. Any ideas?


image

And then additionally (as a slightly separate bug), if I click into one of the folders to select a new Video location or the FFmpeg folder. When I cancel the window and got back to the main Export Timelapse window, it’s frozen. I can’t close it, minimise, click any buttons on it. I have to kill Krita and reopen it.

Exporting as GIF, Matroska, and WebM works, just not the two MP4 options.

Welcome to the forum :pray::bouquet:

I am just guessing that the codec required for MP4 is not bundled in to ffmpeg. Where did you get the ffmpeg from is it from fedora repositories. Sometimes the ffmpeg built in distribution do not have proprietary patent encumbered formats

Fedora cannot distribute some codecs due to patents and restrictions hence the ffmpeg in fedora repositories do not support some export options.

When installing nobara there is an option to download the codecs. The website states

Video Codecs :

– A post-installation codec installer asks the user if they would like to enable and install various important codecs and related packages for out of the box easy video encoding and decoding/playback.

Have you done this after you installed nobara?

Also in next release ffmpeg will be built into Krita (for safe non patent encumbered codecs) so this issue of installing fmpeg won’t be annoying people.

1 Like

Fedora uses a special version of FFMPEG, it is best to change it, now I leave you what you should do.

Open the terminal and paste these commands:

sudo dnf install https://mirrors.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm https://mirrors.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-$(rpm -E %fedora).noarch.rpm
sudo dnf swap ffmpeg-free ffmpeg --allowerasing

With that you can save your timelapses in mp4

2 Likes

Great, thank you! I’ll test that when I’m back home in a couple days.

2 Likes

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.