Bug 396618

Summary: Unable to render animation
Product: [Applications] krita Reporter: walker275
Component: AnimationAssignee: Krita Bugs <krita-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: scottpetrovic, veshaligurung40
Priority: NOR    
Version First Reported In: 4.1.0 alpha   
Target Milestone: ---   
Platform: Mint (Ubuntu based)   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: the pop up message
The rendering option

Description walker275 2018-07-17 23:17:25 UTC
Created attachment 113993 [details]
the pop up message

I'm unable to render my animation and I do have ffmeg installed
Comment 1 Scott Petrovic 2018-07-19 13:15:59 UTC
Can you show an image of your render dialog with what settings you are choosing. Potentially there is an issue with that.
Comment 2 walker275 2018-07-19 14:51:40 UTC
Created attachment 114013 [details]
The rendering option

Here it is
Comment 3 Scott Petrovic 2018-07-19 21:09:11 UTC
hmm. I was originally thinking it might be with the settings, but those settings are pretty much untouched.

The only other thing I can think of has to do with ffmpeg. Which version of ffmpeg do you have installed? One thought is that krita is using some stuff that your version of ffmpeg doesn't know about.

you can usually find this out by opening a terminal and typing: ffmpeg --version
Comment 4 walker275 2018-07-20 01:58:01 UTC
 ffmpeg --version
Comment 5 walker275 2018-07-20 01:58:44 UTC
ffmpeg version 3.4.2-2 Copyright
Comment 6 Scott Petrovic 2018-07-20 12:02:00 UTC
hmm. maybe someone else is going to have to chime in. My Ubuntu 17.10 version is only on ffmpeg 3.3.4-2 . Maybe it is something else specific to Mint
Comment 7 walker275 2018-07-20 13:18:07 UTC
This is what the log file has
Comment 8 walker275 2018-07-20 13:18:23 UTC
 configuration: --prefix=/usr --disable-debug --disable-doc --disable-static --enable-gpl --enable-optimizations --enable-libvpx --enable-shared --disable-ffplay --disable-ffprobe --disable-ffserver --disable-everything --enable-gnutls --enable-libfontconfig --enable-libfreetype --enable-libopus --enable-libpulse --enable-libspeex --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libwebp --enable-openal --enable-opengl --enable-sdl2 --enable-decoder='pcm_s16be,pcm_s24be,pcm_mulaw,pcm_alaw' --enable-decoder='pcm_u8,pcm_s16le,pcm_s24le,pcm_f32le' --enable-decoder='theora,vorbis,vp8,vp9,mp3,flac,webp' --enable-decoder='rawvideo,png,gif' --enable-parser='opus,vp3,vorbis,vp8,mpegaudio,flac' --enable-demuxer='ogg,matroska,wav,mp3,gif,flac' --enable-filter='crop,scale' --enable-protocol=file
  WARNING: library configuration mismatch
  avutil      configuration: --prefix=/usr/lib/ffmpeg --disable-debug --disable-doc --disable-static --enable-gpl --enable-optimizations --enable-libvpx --enable-shared --disable-ffplay --disable-ffprobe --disable-ffserver --disable-everything --enable-gnutls --enable-libfontconfig --enable-libfreetype --enable-libopus --enable-libpulse --enable-libspeex --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libwebp --enable-openal --enable-opengl --enable-sdl2 --enable-decoder='pcm_s16be,pcm_s24be,pcm_mulaw,pcm_alaw' --enable-decoder='pcm_u8,pcm_s16le,pcm_s24le,pcm_f32le' --enable-decoder='theora,vorbis,vp8,vp9,mp3,flac,webp' --enable-decoder='rawvideo,png,gif' --enable-hwaccel=vp9_vaapi --enable-parser='opus,vp3,vorbis,vp8,mpegaudio,flac' --enable-demuxer='ogg,matroska,wav,mp3,gif,flac' --enable-filter='crop,scale' --enable-protocol=file --enable-decoder='aac,hevc,h264,h263,ac3,eac3,truehd,mlp,dca,mpeg4' --enable-hwaccel='h264_vaapi,h264_vdpau,hevc_vaapi,hevc_vdpau' --enable-parser='aac,hevc,h264,ac3,dca,mpeg4video' --enable-demuxer='avi,aac,h264,mov,ac3,m4v,m4a'
  avcodec     configuration: --prefix=/usr/lib/ffmpeg --disable-debug --disable-doc --disable-static --enable-gpl --enable-optimizations --enable-libvpx --enable-shared --disable-ffplay --disable-ffprobe --disable-ffserver --disable-everything --enable-gnutls --enable-libfontconfig --enable-libfreetype --enable-libopus --enable-libpulse --enable-libspeex --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libwebp --enable-openal --enable-opengl --enable-sdl2 --enable-decoder='pcm_s16be,pcm_s24be,pcm_mulaw,pcm_alaw' --enable-decoder='pcm_u8,pcm_s16le,pcm_s24le,pcm_f32le' --enable-decoder='theora,vorbis,vp8,vp9,mp3,flac,webp' --enable-decoder='rawvideo,png,gif' --enable-hwaccel=vp9_vaapi --enable-parser='opus,vp3,vorbis,vp8,mpegaudio,flac' --enable-demuxer='ogg,matroska,wav,mp3,gif,flac' --enable-filter='crop,scale' --enable-protocol=file --enable-decoder='aac,hevc,h264,h263,ac3,eac3,truehd,mlp,dca,mpeg4' --enable-hwaccel='h264_vaapi,h264_vdpau,hevc_vaapi,hevc_vdpau' --enable-parser='aac,hevc,h264,ac3,dca,mpeg4video' --enable-demuxer='avi,aac,h264,mov,ac3,m4v,m4a'
  avformat    configuration: --prefix=/usr/lib/ffmpeg --disable-debug --disable-doc --disable-static --enable-gpl --enable-optimizations --enable-libvpx --enable-shared --disable-ffplay --disable-ffprobe --disable-ffserver --disable-everything --enable-gnutls --enable-libfontconfig --enable-libfreetype --enable-libopus --enable-libpulse --enable-libspeex --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libwebp --enable-openal --enable-opengl --enable-sdl2 --enable-decoder='pcm_s16be,pcm_s24be,pcm_mulaw,pcm_alaw' --enable-decoder='pcm_u8,pcm_s16le,pcm_s24le,pcm_f32le' --enable-decoder='theora,vorbis,vp8,vp9,mp3,flac,webp' --enable-decoder='rawvideo,png,gif' --enable-hwaccel=vp9_vaapi --enable-parser='opus,vp3,vorbis,vp8,mpegaudio,flac' --enable-demuxer='ogg,matroska,wav,mp3,gif,flac' --enable-filter='crop,scale' --enable-protocol=file --enable-decoder='aac,hevc,h264,h263,ac3,eac3,truehd,mlp,dca,mpeg4' --enable-hwaccel='h264_vaapi,h264_vdpau,hevc_vaapi,hevc_vdpau' --enable-parser='aac,hevc,h264,ac3,dca,mpeg4video' --enable-demuxer='avi,aac,h264,mov,ac3,m4v,m4a'
  avdevice    configuration: --prefix=/usr/lib/ffmpeg --disable-debug --disable-doc --disable-static --enable-gpl --enable-optimizations --enable-libvpx --enable-shared --disable-ffplay --disable-ffprobe --disable-ffserver --disable-everything --enable-gnutls --enable-libfontconfig --enable-libfreetype --enable-libopus --enable-libpulse --enable-libspeex --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libwebp --enable-openal --enable-opengl --enable-sdl2 --enable-decoder='pcm_s16be,pcm_s24be,pcm_mulaw,pcm_alaw' --enable-decoder='pcm_u8,pcm_s16le,pcm_s24le,pcm_f32le' --enable-decoder='theora,vorbis,vp8,vp9,mp3,flac,webp' --enable-decoder='rawvideo,png,gif' --enable-hwaccel=vp9_vaapi --enable-parser='opus,vp3,vorbis,vp8,mpegaudio,flac' --enable-demuxer='ogg,matroska,wav,mp3,gif,flac' --enable-filter='crop,scale' --enable-protocol=file --enable-decoder='aac,hevc,h264,h263,ac3,eac3,truehd,mlp,dca,mpeg4' --enable-hwaccel='h264_vaapi,h264_vdpau,hevc_vaapi,hevc_vdpau' --enable-parser='aac,hevc,h264,ac3,dca,mpeg4video' --enable-demuxer='avi,aac,h264,mov,ac3,m4v,m4a'
  avfilter    configuration: --prefix=/usr/lib/ffmpeg --disable-debug --disable-doc --disable-static --enable-gpl --enable-optimizations --enable-libvpx --enable-shared --disable-ffplay --disable-ffprobe --disable-ffserver --disable-everything --enable-gnutls --enable-libfontconfig --enable-libfreetype --enable-libopus --enable-libpulse --enable-libspeex --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libwebp --enable-openal --enable-opengl --enable-sdl2 --enable-decoder='pcm_s16be,pcm_s24be,pcm_mulaw,pcm_alaw' --enable-decoder='pcm_u8,pcm_s16le,pcm_s24le,pcm_f32le' --enable-decoder='theora,vorbis,vp8,vp9,mp3,flac,webp' --enable-decoder='rawvideo,png,gif' --enable-hwaccel=vp9_vaapi --enable-parser='opus,vp3,vorbis,vp8,mpegaudio,flac' --enable-demuxer='ogg,matroska,wav,mp3,gif,flac' --enable-filter='crop,scale' --enable-protocol=file --enable-decoder='aac,hevc,h264,h263,ac3,eac3,truehd,mlp,dca,mpeg4' --enable-hwaccel='h264_vaapi,h264_vdpau,hevc_vaapi,hevc_vdpau' --enable-parser='aac,hevc,h264,ac3,dca,mpeg4video' --enable-demuxer='avi,aac,h264,mov,ac3,m4v,m4a'
  swscale     configuration: --prefix=/usr/lib/ffmpeg --disable-debug --disable-doc --disable-static --enable-gpl --enable-optimizations --enable-libvpx --enable-shared --disable-ffplay --disable-ffprobe --disable-ffserver --disable-everything --enable-gnutls --enable-libfontconfig --enable-libfreetype --enable-libopus --enable-libpulse --enable-libspeex --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libwebp --enable-openal --enable-opengl --enable-sdl2 --enable-decoder='pcm_s16be,pcm_s24be,pcm_mulaw,pcm_alaw' --enable-decoder='pcm_u8,pcm_s16le,pcm_s24le,pcm_f32le' --enable-decoder='theora,vorbis,vp8,vp9,mp3,flac,webp' --enable-decoder='rawvideo,png,gif' --enable-hwaccel=vp9_vaapi --enable-parser='opus,vp3,vorbis,vp8,mpegaudio,flac' --enable-demuxer='ogg,matroska,wav,mp3,gif,flac' --enable-filter='crop,scale' --enable-protocol=file --enable-decoder='aac,hevc,h264,h263,ac3,eac3,truehd,mlp,dca,mpeg4' --enable-hwaccel='h264_vaapi,h264_vdpau,hevc_vaapi,hevc_vdpau' --enable-parser='aac,hevc,h264,ac3,dca,mpeg4video' --enable-demuxer='avi,aac,h264,mov,ac3,m4v,m4a'
  swresample  configuration: --prefix=/usr/lib/ffmpeg --disable-debug --disable-doc --disable-static --enable-gpl --enable-optimizations --enable-libvpx --enable-shared --disable-ffplay --disable-ffprobe --disable-ffserver --disable-everything --enable-gnutls --enable-libfontconfig --enable-libfreetype --enable-libopus --enable-libpulse --enable-libspeex --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libwebp --enable-openal --enable-opengl --enable-sdl2 --enable-decoder='pcm_s16be,pcm_s24be,pcm_mulaw,pcm_alaw' --enable-decoder='pcm_u8,pcm_s16le,pcm_s24le,pcm_f32le' --enable-decoder='theora,vorbis,vp8,vp9,mp3,flac,webp' --enable-decoder='rawvideo,png,gif' --enable-hwaccel=vp9_vaapi --enable-parser='opus,vp3,vorbis,vp8,mpegaudio,flac' --enable-demuxer='ogg,matroska,wav,mp3,gif,flac' --enable-filter='crop,scale' --enable-protocol=file --enable-decoder='aac,hevc,h264,h263,ac3,eac3,truehd,mlp,dca,mpeg4' --enable-hwaccel='h264_vaapi,h264_vdpau,hevc_vaapi,hevc_vdpau' --enable-parser='aac,hevc,h264,ac3,dca,mpeg4video' --enable-demuxer='avi,aac,h264,mov,ac3,m4v,m4a'
  postproc    configuration: --prefix=/usr/lib/ffmpeg --disable-debug --disable-doc --disable-static --enable-gpl --enable-optimizations --enable-libvpx --enable-shared --disable-ffplay --disable-ffprobe --disable-ffserver --disable-everything --enable-gnutls --enable-libfontconfig --enable-libfreetype --enable-libopus --enable-libpulse --enable-libspeex --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libwebp --enable-openal --enable-opengl --enable-sdl2 --enable-decoder='pcm_s16be,pcm_s24be,pcm_mulaw,pcm_alaw' --enable-decoder='pcm_u8,pcm_s16le,pcm_s24le,pcm_f32le' --enable-decoder='theora,vorbis,vp8,vp9,mp3,flac,webp' --enable-decoder='rawvideo,png,gif' --enable-hwaccel=vp9_vaapi --enable-parser='opus,vp3,vorbis,vp8,mpegaudio,flac' --enable-demuxer='ogg,matroska,wav,mp3,gif,flac' --enable-filter='crop,scale' --enable-protocol=file --enable-decoder='aac,hevc,h264,h263,ac3,eac3,truehd,mlp,dca,mpeg4' --enable-hwaccel='h264_vaapi,h264_vdpau,hevc_vaapi,hevc_vdpau' --enable-parser='aac,hevc,h264,ac3,dca,mpeg4video' --enable-demuxer='avi,aac,h264,mov,ac3,m4v,m4a'
  libavutil      55. 78.100 / 55. 78.100
  libavcodec     57.107.100 / 57.107.100
  libavformat    57. 83.100 / 57. 83.100
  libavdevice    57. 10.100 / 57. 10.100
  libavfilter     6.107.100 /  6.107.100
  libswscale      4.  8.100 /  4.  8.100
  libswresample   2.  9.100 /  2.  9.100
  libpostproc    54.  7.100 / 54.  7.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 '/tmp/KritaFFmpegProgress.EsQPnm'.
Reading option '-r' ... matched as option 'r' (set frame rate (Hz value, fraction or abbreviation)) with argument '24'.
Reading option '-start_number' ...Unrecognized option 'start_number'.
Error splitting the argument list: Option not found
Comment 9 Scott Petrovic 2018-07-20 14:49:24 UTC
That error log is actually pretty helpful.

It appears your version of ffmpeg doesn't support the "-start_number" flag...which is what frame the animation starts exporting out.

With a bit of reading, it appears some linux distros have a custom build of ffmpeg that isn't support by the ffmpeg team. See if you can get the regular version of ffmpeg this way (see the answer).

https://askubuntu.com/questions/699502/ffmpeg-command-not-found

Not sure if that answer will exactly work, but it sounds like you just need to get an "official" build of ffmpeg from a different PPA
Comment 10 walker275 2018-07-21 02:39:53 UTC
Didn't work. So I have to try a new way
Comment 11 walker275 2018-07-21 02:51:31 UTC
HTTP Error 404: Not Found
Cannot add PPA: ''This PPA does not support bionic'
Comment 12 Scott Petrovic 2018-07-26 18:39:26 UTC
alright. just try to get ffmpeg version 3.3.3+ and let us know if it still gives issues