This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Render animation fail! RESOLVED!

Tags: None
(comma "," separated)
lucashug
Registered Member
Posts
4
Karma
0

Render animation fail! RESOLVED!

Tue May 14, 2019 5:33 pm
Hello!
As a lots of people I have the error when I try to render animation :

Could not render animation:
FFMpeg failed to convert the image sequence. Check the logfile in your output directory for more information.


And I dont understand the log :

ffmpeg version 4.1.3 Copyright (c) 2000-2019 the FFmpeg developers
built with gcc 8.3.1 (GCC) 20190414
configuration: --enable-gpl --enable-version3 --enable-sdl2 --enable-fontconfig --enable-gnutls --enable-iconv --enable-libass --enable-libbluray --enable-libfreetype --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libtheora --enable-libtwolame --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libzimg --enable-lzma --enable-zlib --enable-gmp --enable-libvidstab --enable-libvorbis --enable-libvo-amrwbenc --enable-libmysofa --enable-libspeex --enable-libxvid --enable-libaom --enable-libmfx --enable-amf --enable-ffnvcodec --enable-cuvid --enable-d3d11va --enable-nvenc --enable-nvdec --enable-dxva2 --enable-avisynth
libavutil 56. 22.100 / 56. 22.100
libavcodec 58. 35.100 / 58. 35.100
libavformat 58. 20.100 / 58. 20.100
libavdevice 58. 5.100 / 58. 5.100
libavfilter 7. 40.101 / 7. 40.101
libswscale 5. 3.100 / 5. 3.100
libswresample 3. 3.100 / 3. 3.100
libpostproc 55. 3.100 / 55. 3.100
Splitting the commandline.
Reading option '-v' ... matched as option 'v' (set logging level) with argument 'debug'.
Reading option '-nostdin' ... matched as option 'stdin' (enable or disable interaction on standard input) with argument 0.
Reading option '-progress' ... matched as option 'progress' (write program-readable progress information) with argument 'C:/Users/lucas.hug/AppData/Local/Temp/KritaFFmpegProgress.hq6832'.
Reading option '-r' ... matched as option 'r' (set frame rate (Hz value, fraction or abbreviation)) with argument '1'.
Reading option '-start_number' ... matched as AVOption 'start_number' with argument '0'.
Reading option '-i' ... matched as input url with argument 'E:/Dropbox/001-Lucas/003-WIP/02-Acrylic/001-AcryliqueWillKempCourse/002-WIP/Animation/frame%04d.gif'.
Reading option '-vf' ... matched as option 'vf' (set video filters) with argument 'palettegen'.
Reading option '-y' ... matched as option 'y' (overwrite output files) with argument '1'.
Reading option 'E:/Dropbox/001-Lucas/003-WIP/02-Acrylic/001-AcryliqueWillKempCourse/002-WIP/Animation/palette.png' ... matched as output url.
Finished splitting the commandline.
Parsing a group of options: global .
Applying option v (set logging level) with argument debug.
Applying option nostdin (enable or disable interaction on standard input) with argument 0.
Applying option progress (write program-readable progress information) with argument C:/Users/lucas.hug/AppData/Local/Temp/KritaFFmpegProgress.hq6832.
[file @ 0000000000551740] Setting default whitelist 'file,crypto'
Applying option y (overwrite output files) with argument 1.
Successfully parsed a group of options.
Parsing a group of options: input url E:/Dropbox/001-Lucas/003-WIP/02-Acrylic/001-AcryliqueWillKempCourse/002-WIP/Animation/frame%04d.gif.
Applying option r (set frame rate (Hz value, fraction or abbreviation)) with argument 1.
Successfully parsed a group of options.
Opening an input file: E:/Dropbox/001-Lucas/003-WIP/02-Acrylic/001-AcryliqueWillKempCourse/002-WIP/Animation/frame%04d.gif.
[NULL @ 0000000000592ac0] Opening 'E:/Dropbox/001-Lucas/003-WIP/02-Acrylic/001-AcryliqueWillKempCourse/002-WIP/Animation/frame%04d.gif' for reading
[file @ 00000000005933c0] Setting default whitelist 'file,crypto'
E:/Dropbox/001-Lucas/003-WIP/02-Acrylic/001-AcryliqueWillKempCourse/002-WIP/Animation/frame%04d.gif: No such file or directory


Any help would be amazing!
CHeers
Lucas :)


EDIT :
The solution was to update to Krita 4.2 and it all worked!

Last edited by lucashug on Wed May 15, 2019 3:50 pm, edited 3 times in total.
ahabgreybeard
Registered Member
Posts
1269
Karma
11
OS

Re: Render animation fail!

Tue May 14, 2019 5:52 pm
"E:/Dropbox/001-Lucas/003-WIP ....."

You seem to be rendering into what looks like a live synchronised folder. Try rendering to an ordinary folder in your user account area.

Have you installed (and selected) ffmpeg in the way recommended in the manual?:
https://docs.krita.org/en/reference_man ... animations
lucashug
Registered Member
Posts
4
Karma
0

Re: Render animation fail!

Tue May 14, 2019 6:01 pm
Hello
Thanks a lot for your help :D

I did reinstall just to be sure and did changed the location of the video location but still an error :


ffmpeg version N-93851-gdcc999819d Copyright (c) 2000-2019 the FFmpeg developers
built with gcc 8.3.1 (GCC) 20190414
configuration: --enable-gpl --enable-version3 --enable-sdl2 --enable-fontconfig --enable-gnutls --enable-iconv --enable-libass --enable-libdav1d --enable-libbluray --enable-libfreetype --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libtheora --enable-libtwolame --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libzimg --enable-lzma --enable-zlib --enable-gmp --enable-libvidstab --enable-libvorbis --enable-libvo-amrwbenc --enable-libmysofa --enable-libspeex --enable-libxvid --enable-libaom --enable-libmfx --enable-amf --enable-ffnvcodec --enable-cuvid --enable-d3d11va --enable-nvenc --enable-nvdec --enable-dxva2 --enable-avisynth --enable-libopenmpt
libavutil 56. 27.100 / 56. 27.100
libavcodec 58. 52.101 / 58. 52.101
libavformat 58. 27.103 / 58. 27.103
libavdevice 58. 7.100 / 58. 7.100
libavfilter 7. 51.100 / 7. 51.100
libswscale 5. 4.101 / 5. 4.101
libswresample 3. 4.100 / 3. 4.100
libpostproc 55. 4.100 / 55. 4.100
Splitting the commandline.
Reading option '-v' ... matched as option 'v' (set logging level) with argument 'debug'.
Reading option '-nostdin' ... matched as option 'stdin' (enable or disable interaction on standard input) with argument 0.
Reading option '-progress' ... matched as option 'progress' (write program-readable progress information) with argument 'C:/Users/lucas.hug/AppData/Local/Temp/KritaFFmpegProgress.RE7268'.
Reading option '-r' ... matched as option 'r' (set frame rate (Hz value, fraction or abbreviation)) with argument '1'.
Reading option '-start_number' ... matched as AVOption 'start_number' with argument '0'.
Reading option '-i' ... matched as input url with argument 'C:/Users/lucas.hug/Documents/Render/frame%04d.gif'.
Reading option '-vf' ... matched as option 'vf' (set video filters) with argument 'palettegen'.
Reading option '-y' ... matched as option 'y' (overwrite output files) with argument '1'.
Reading option 'C:/Users/lucas.hug/Documents/Render/palette.png' ... matched as output url.
Finished splitting the commandline.
Parsing a group of options: global .
Applying option v (set logging level) with argument debug.
Applying option nostdin (enable or disable interaction on standard input) with argument 0.
Applying option progress (write program-readable progress information) with argument C:/Users/lucas.hug/AppData/Local/Temp/KritaFFmpegProgress.RE7268.
[file @ 0000000000551380] Setting default whitelist 'file,crypto'
Applying option y (overwrite output files) with argument 1.
Successfully parsed a group of options.
Parsing a group of options: input url C:/Users/lucas.hug/Documents/Render/frame%04d.gif.
Applying option r (set frame rate (Hz value, fraction or abbreviation)) with argument 1.
Successfully parsed a group of options.
Opening an input file: C:/Users/lucas.hug/Documents/Render/frame%04d.gif.
[NULL @ 0000000000592700] Opening 'C:/Users/lucas.hug/Documents/Render/frame%04d.gif' for reading
[file @ 0000000000593000] Setting default whitelist 'file,crypto'
C:/Users/lucas.hug/Documents/Render/frame%04d.gif: No such file or directory


Anything else I could try?
User avatar
tymond
KDE Developer
Posts
240
Karma
5

Re: Render animation fail!

Tue May 14, 2019 6:12 pm
Can you please post a screenshot of your Render Animation dialog with options you chose? It looks like you're trying to render gif image sequence... it's a very bad idea because gif is a very lossy format, better use png as an intermediate file format. (You try to build some kind of a video (gif, most probably) out of several gifs, instead of rendering a gif out of several pngs).
User avatar
scottpetrovic
Registered Member
Posts
520
Karma
4
OS

Re: Render animation fail!

Tue May 14, 2019 6:13 pm
You could also try to download the Alpha version of 4.2 and see if it has issues. I believe there were a couple GIF export fixes that were done. Maybe that will have less issues. I just tested out the latest version of Krita 4.2 and rendering image sequences to gif seems to work.
ahabgreybeard
Registered Member
Posts
1269
Karma
11
OS

Re: Render animation fail!

Tue May 14, 2019 6:26 pm
Also, I think you had the correct ffmpeg installation the first time (4.1.3 static build Windows Static?). You seem to have their nightly build version now which might not be a good idea (or it might be perfectly ok).

I can render a simple animation as an animated .gif using the 4.1.7 appimage and the latest 4.2.0 alpha appimage on Linux. Assuming you're using Windows, can you try the latest 4.2.0 alpha from here: https://binary-factory.kde.org/job/Krit ... ows_Build/

If you get the .zip package (the bottom of the list of three Artifacts), you can run it standalone from krita.exe in it's internal bin folder and not affect your existing installed version.

Having said all that, it looks like it's failing with the first frame create/write and that looks like a file system problem rather than an ffmpeg functional problem.
In your target folder, do you have a collection of .png files left over after the failure?
lucashug
Registered Member
Posts
4
Karma
0

Re: Render animation fail!

Wed May 15, 2019 1:27 pm
Hello!
Thanks so much for all your answers :D

Tymond - Thanks, you'll find the Screenshot here : https://www.dropbox.com/s/9448keqjkw3snux/Settings.jpg?dl=0
I did try Mp4 too, same issue. I Tried with different options too, Frames number (288 Frames) and time frame (24Fps).

Scott Petrovic - Thanks Scott, I tried to find Krita 4.2 but wasn't able to find the download link.
Would you know where I can find it?

AhabGreyBeard - Thanks a lot. I did try with the ffmpeg 4.1.3 and the other one, both have the same result.
I will try to find 4.2 and see if it is working (Thanks for the link, which one I should download, dbg, exe or the other one?). after it fail, I just have a Gif that doesnt work and a log file, nothing else.

Thanks again for the support :D
Cheers
Lucas :)
ahabgreybeard
Registered Member
Posts
1269
Karma
11
OS

Re: Render animation fail!

Wed May 15, 2019 2:48 pm
I'd recommend the one called krita-nightly-x64-v4.2.0-beta-14-g7a773b187a.zip You Extract it and then go into the resulting extracted folder to find the bin folder then run krita.exe which is inside the bin folder. This has the advantage that it's 'standalone' and doesn't interfere with your existing installed version of krita but it does pay attention to all your existing configurations and any personal resources you may have made.

As Tymond noted, .gif format is not good with subtle colour variations (it has a maximum of 256 diffent colours possible in its internal palette) so based on your picture, .mp4 would be better. The .gif format is very good with spatial resolution and is lossless and non-compressed in that regard, thus giving a large file size compared to the equivalent .mp4 file.

If you still have problems, can you give a link to your GifSource2.kra file so that it can be looked at?

P.S. To avoid doubt, in the Render Animation window, on the Video Location line, can you click the small folder icon, on the right so you can specify the folder where the rendered video will be placed so that the entire path appears in the Video Location.
lucashug
Registered Member
Posts
4
Karma
0

Re: Render animation fail!

Wed May 15, 2019 3:49 pm
RESOLVED!!!

I tried with Krita 4.2 and it is working!
Thanks to all of you!

AhabGreyBeard - Thanks! Yeah Gif is very low rez, I ll try both and see :)

Thanks,
Cheers!!!

Lucas :)


Bookmarks



Who is online

Registered users: Baidu [Spider], Bing [Bot], Google [Bot]