Importing mp4 video macOS - ffprobe problem SOLVED

Hello artists!

Does anybody know why mp4 and any other type of video format cannot be imported in Krita, despite of having it “available” in the menu (File->Import Video Animation)? I’ve downloaded Scott Petrovic’s .zip file from Github as some suggested on Youtube and even here and after following the suggested steps, it was successfully added to my scripts, but it still doesn’t work. I’m using macOS Monterey, with the latest version of Krita.

When I enter Tools-> Scripts->Animator Video Reference a window pops out which says some things are missing from this plugin which include the following: “ffmpeg is not found”, “ffprobe is not found” and “Krita not new enough”.

Looking forward to your response/suggestions. Thank you!

P.S. I already had the “ffmpeg” file for macOS because I couldn’t be rendering videos otherwise.

Hello @virginiasdolls and welcome to the forum :slight_smile:

You need to download ffmpeg and then tell krita where ffmpeg is so that krita can use it as a ‘helper’ utility to decode the .mp4 file.
To do that, you render an animation and tell krita where ffmpeg is in the Render Animation window.
After that, the location of ffmpeg will be remembered for other operations that need ffmpeg.

The plugin by Scott Petrovic (which also needed ffmpeg) has now been incorporated into the File → Import Video Animation facility.

You can get ffmpeg for macOS from here: static FFmpeg binaries for macOS 64-bit

I suggest that you get this one: https://evermeet.cx/ffmpeg/ffmpeg-6.0.7z

It will be downloaded as a compressed .7z archive file so you’ll need to Extract/decompress it to yield a folder containing the ffmpeg, ffprobe utilities.

I don’t know if macOS has a .7z decompression utility.
if not, another macOS user will be able to advise you about that.

1 Like

Hello and thank you for your response! :smiley: I forgot to mention that I already had the “ffmpeg” file for macOS before trying the plugin, because I couldn’t render videos otherwise.

It’s not just a file, it’s a folder that contains more than just ffmpeg.

Don’t use the plugin, it’s been superseded by the File → facility.

So, you can render animations out to .mp4 files?
If so, you’ve pointed to ffmpeg and it’s being correctly used.

Have you kept ffmpeg together in its original folder ‘packaging’ with the other things it came with?

Yes, I can render with no problem, the only problem I have is importing an mp4 file or any video whose extension is compatible with the software; this message pops out “Your FFMpeg version does not support this format”. Regarding the folder, the link you’ve sent me is the same I used when I downloaded the first time the file and yes, it’s only a file (unix executable file) on mac, no folder :smiley:

So the ‘ffmpeg’ item that you’ve downloaded and Extracted doesn’t include ffprobe?

Are you using version 5.1.5 of krita?

I’ve added some information to the title of your topic.

It doesn’t include ffprobe, but you’ve caught me on the version I’m currently using, it’s 5.1.4 and I’m downloading now the latest.

5.1.4 should be new enough but please do try 5.1.5.

Here is what Linux users get when they download and Extract an ffmpeg ‘package’:

I’ve no idea or experience of macOS so this does need someone with that particular knowledge.
Pinging @scottyp in case he knows more about this.

1 Like

I’ve downloaded the latest version of Krita, I’ve also replaced the ffmpeg file with the one in the link just to be sure it’s the right one, same issue. Thank you so much for trying to help!

1 Like

Hello, I’ve solved the problem! I’ve downloaded the ffprobe executable file from static FFmpeg binaries for macOS 64-bit, then I gave permission in Security & Privacy as I did with ffmpeg (if not checked, krita will not see these files as safe and will give you the option to cancel or delete them), while having the Import Video Animation window open, I went to Advanced and connected the downloaded ffprobe file; after it was recognised by Krita, getting back to General in the same window, I could see the thumbnail of the video I’ve been trying to upload and all the file’s details (width, height etc.), also the OK button to proceed.
Wish you a creative week!!

2 Likes

Some good news as soon as I logged in :+1:

Hindsight is a wonderful thing and this is mentioned in the manual:
Import Animation — Krita Manual 5.0.0 documentation

and is in the Advanced tab of the Import Video Animation as you’d noticed:

Linux and Windows users don’t need to think about ffprobe because it’s in the same folder as ffmpeg and is automatically pointed to.

What you came to realise is not mentioned in the manual so @wolthera should be told about this.

4 Likes

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