![]() Registered Member ![]()
|
I can't seem to export an animation I made in Krita to mp4. It's 20 frames at 30 fps. I play it in the Movies & TV app and it's the right length but totally black. I have 64-bit FFMPEG installed in my Program files and it seems to be working fine. I gave Krita the location of the FFMPEG file on my computer as well.
When I export it as a gif, though, it works fine. Is there a fix to this? |
![]() KDE Developer ![]()
|
Does it work if you play the file in VLC or Media Player Classic - Home Cinema? It's a common problem of Windows basic applications not having proper codecs*. Unfortunately there is I believe a bug that makes you not able to choose "baseline" option in Krita export dialog (you can choose it, but it is ignored later on), so ffmpeg uses the newer MP4 codecs that aren't included in the Windows basic movie applications. VLS and MPC-HC are usually (I think) able to play it though.
Workaround: export using console or using console options in Krita export dialog (not sure if the second way works though). Or use VLC/MPC-HC to play the animation. Or download Krita Plus, not sure if the fix is in there but it's worth a try (export with a baseline option and try to play in this Movies & TV app). * codecs = little programs that codes and decodes the video formats, necessary to be able to record, create or play the video in a specific format. |
![]() Registered Member ![]()
|
If it works with animated .gif then krita is correctly offloading the rendering job to ffmpeg (except perhaps for the 'baseline' option bug?).
The suggestion by tymond to try a different media player is a good one and VLC is a good choice. Is your ffmpeg installation something that came with your OS or did you install it yourself? I'd recommend that you get and use the latest stable (4.1) static build from ffmpeg.org. You can follow the links from there or go straight to https://ffmpeg.zeranoe.com/builds/ and download it and use that. My initial video rendering problems were all fixed when I used the latest stable static build of ffmpeg. Please let us know how you get on with these suggestions and good luck. |
![]() Registered Member ![]()
|
I installed ffmpeg myself manually, and I used the 20181226-d702600 build, not the regular 4.1. Could this have something to do with it? btw, Win Media player and Win Movie maker can't play it either. Should I try downloading VLC or handbrake? And can they convert GIF to mp4? Also, I tried using a setting other than baseline and it doesn't seem to work as well Edit: I went to the stable release of ffmpeg instead of using the 20181226-d702600 build and it seems to work fine now! thanks!!! |
![]() Registered Member ![]()
|
I think the 20181226-d702600 build is some kind of development/beta build and it's always a good idea to use the latest stable build (4.1) in case the beta has a problem.
I'd recommend downloading VLC anyway because it's a very good media player with many facilities but it doesn't handle animated .gif (unless there's a plugin that I don't know about). Handbrake is a video transcoder that works well and is very useful to have and it does transcode animated .gif to .mp4 if you want to do it that way. Edit: Problems get solved quickly if you use this forum ![]() |
![]() KDE Developer ![]()
|
Krita uses ffmpeg internally, providing a GUI for less technical users. They just need to download it, unpack and point Krita to it. There is no point in switching to a different one in Krita, especially since while I don't know about those you mentioned, but a lot of programs like that uses ffmpeg internally anyway. |
Registered users: Bing [Bot], claydoh, Evergrowing, Google [Bot], rblackwell