ffmpeg version 2.8.11-0ubuntu0.16.04.1 Copyright (c) 2000-2017 the FFmpeg developers built with gcc 5.4.0 (Ubuntu 5.4.0-6ubuntu1~16.04.4) 20160609 configuration: --prefix=/usr --extra-version=0ubuntu0.16.04.1 --build-suffix=-ffmpeg --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --cc=cc --cxx=g++ --enable-gpl --enable-shared --disable-stripping --disable-decoder=libopenjpeg --disable-decoder=libschroedinger --enable-avresample --enable-avisynth --enable-gnutls --enable-ladspa --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libmodplug --enable-libmp3lame --enable-libopenjpeg --enable-libopus --enable-libpulse --enable-librtmp --enable-libschroedinger --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx265 --enable-libxvid --enable-libzvbi --enable-openal --enable-opengl --enable-x11grab --enable-libdc1394 --enable-libiec61883 --enable-libzmq --enable-frei0r --enable-libx264 --enable-libopencv WARNING: library configuration mismatch avcodec configuration: --prefix=/usr --extra-version=0ubuntu0.16.04.1 --build-suffix=-ffmpeg --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --cc=cc --cxx=g++ --enable-gpl --enable-shared --disable-stripping --disable-decoder=libopenjpeg --disable-decoder=libschroedinger --enable-avresample --enable-avisynth --enable-gnutls --enable-ladspa --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libmodplug --enable-libmp3lame --enable-libopenjpeg --enable-libopus --enable-libpulse --enable-librtmp --enable-libschroedinger --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx265 --enable-libxvid --enable-libzvbi --enable-openal --enable-opengl --enable-x11grab --enable-libdc1394 --enable-libiec61883 --enable-libzmq --enable-frei0r --enable-libx264 --enable-libopencv --enable-version3 --disable-doc --disable-programs --disable-avdevice --disable-avfilter --disable-avformat --disable-avresample --disable-postproc --disable-swscale --enable-libopencore_amrnb --enable-libopencore_amrwb --enable-libvo_aacenc --enable-libvo_amrwbenc libavutil 54. 31.100 / 54. 31.100 libavcodec 56. 60.100 / 56. 60.100 libavformat 56. 40.101 / 56. 40.101 libavdevice 56. 4.100 / 56. 4.100 libavfilter 5. 40.101 / 5. 40.101 libavresample 2. 1. 0 / 2. 1. 0 libswscale 3. 1.101 / 3. 1.101 libswresample 1. 2.101 / 1. 2.101 libpostproc 53. 3.100 / 53. 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 '/tmp/KritaFFmpegProgress.IY7196'. Reading option '-r' ... matched as option 'r' (set frame rate (Hz value, fraction or abbreviation)) with argument '25'. Reading option '-start_number' ... matched as AVOption 'start_number' with argument '0'. Reading option '-i' ... matched as input url with argument '/home/dmitry5/tmp/123/frame%04d.png'. Reading option '-vf' ... matched as option 'vf' (set video filters) with argument 'scale=w=300:h=168:force_original_aspect_ratio=decrease'. Reading option '-crf' ... matched as AVOption 'crf' with argument '23'. Reading option '-preset' ... matched as AVOption 'preset' with argument 'medium'. Reading option '-profile' ... matched as option 'profile' (set profile) with argument 'high422'. Reading option '-pix_fmt' ... matched as option 'pix_fmt' (set pixel format) with argument 'yuv422p'. Reading option '-y' ... matched as option 'y' (overwrite output files) with argument '1'. Reading option '/home/dmitry5/tmp/123/222222.mkv' ... 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 /tmp/KritaFFmpegProgress.IY7196. Applying option y (overwrite output files) with argument 1. Successfully parsed a group of options. Parsing a group of options: input url /home/dmitry5/tmp/123/frame%04d.png. Applying option r (set frame rate (Hz value, fraction or abbreviation)) with argument 25. Successfully parsed a group of options. Opening an input file: /home/dmitry5/tmp/123/frame%04d.png. [AVIOContext @ 0x6ccf00] Statistics: 1374245 bytes read, 0 seeks [AVIOContext @ 0x6cee20] Statistics: 1422697 bytes read, 0 seeks [AVIOContext @ 0x6cf000] Statistics: 1359673 bytes read, 0 seeks [AVIOContext @ 0x6cf1a0] Statistics: 1176811 bytes read, 0 seeks [image2 @ 0x6cbfe0] Probe buffer size limit of 5000000 bytes reached Input #0, image2, from '/home/dmitry5/tmp/123/frame%04d.png': Duration: 00:00:01.64, start: 0.000000, bitrate: N/A Stream #0:0, 4, 1/25: Video: png, 1 reference frame, rgba(pc), 1920x1080 (0x0) [SAR 11811:11811 DAR 16:9], 1/25, 25 fps, 25 tbr, 25 tbn, 25 tbc Successfully opened the file. Parsing a group of options: output url /home/dmitry5/tmp/123/222222.mkv. Applying option vf (set video filters) with argument scale=w=300:h=168:force_original_aspect_ratio=decrease. Applying option profile (set profile) with argument high422. Please use -profile:a or -profile:v, -profile is ambiguous Applying option pix_fmt (set pixel format) with argument yuv422p. Successfully parsed a group of options. Opening an output file: /home/dmitry5/tmp/123/222222.mkv. Successfully opened the file. detected 8 logical cores [Parsed_scale_0 @ 0x6d2520] Setting 'w' to value '300' [Parsed_scale_0 @ 0x6d2520] Setting 'h' to value '168' [Parsed_scale_0 @ 0x6d2520] Setting 'force_original_aspect_ratio' to value 'decrease' [Parsed_scale_0 @ 0x6d2520] Setting 'flags' to value 'bicubic' [Parsed_scale_0 @ 0x6d2520] w:300 h:168 flags:'bicubic' interl:0 [graph 0 input from stream 0:0 @ 0x6d2be0] Setting 'video_size' to value '1920x1080' [graph 0 input from stream 0:0 @ 0x6d2be0] Setting 'pix_fmt' to value '28' [graph 0 input from stream 0:0 @ 0x6d2be0] Setting 'time_base' to value '1/25' [graph 0 input from stream 0:0 @ 0x6d2be0] Setting 'pixel_aspect' to value '11811/11811' [graph 0 input from stream 0:0 @ 0x6d2be0] Setting 'sws_param' to value 'flags=2' [graph 0 input from stream 0:0 @ 0x6d2be0] Setting 'frame_rate' to value '25/1' [graph 0 input from stream 0:0 @ 0x6d2be0] w:1920 h:1080 pixfmt:rgba tb:1/25 fr:25/1 sar:11811/11811 sws_param:flags=2 [force CFR for input from stream 0:0 @ 0x6c3ae0] Setting 'expr' to value 'N' [format @ 0x6d3b00] compat: called with args=[yuv422p] [format @ 0x6d3b00] Setting 'pix_fmts' to value 'yuv422p' [AVFilterGraph @ 0x6d34c0] query_formats: 5 queried, 4 merged, 0 already done, 0 delayed [graph 0 input from stream 0:0 @ 0x6d2be0] TB:0.040000 FRAME_RATE:25.000000 SAMPLE_RATE:nan [Parsed_scale_0 @ 0x6d2520] w:1920 h:1080 fmt:rgba sar:11811/11811 -> w:299 h:168 fmt:yuv422p sar:896/897 flags:0x4 [libx264 @ 0x6d0400] width not divisible by 2 (299x168) Output #0, matroska, to '/home/dmitry5/tmp/123/222222.mkv': Stream #0:0, 0, 0/0: Video: h264, 1 reference frame, none, q=2-31, 128 kb/s, SAR 896:897 DAR 0:0, 25 fps Metadata: encoder : Lavc56.60.100 libx264 Stream mapping: Stream #0:0 -> #0:0 (png (native) -> h264 (libx264)) Error while opening encoder for output stream #0:0 - maybe incorrect parameters such as bit_rate, rate, width or height [AVIOContext @ 0x6cec20] Statistics: 0 seeks, 0 writeouts