Error when exporting

please help my problem. i try exporting my animation n display a box message error . how to fix it.

@niz Hi, welcome to the forum. When dealing with these kind of problem it’s important that you copy the contents of the error box and paste it into the forum so the developers can verify what kind of issue your file is having.

Additionally we would ask you to share your file so we can reproduce the issue and speed the troubleshooting.

For now if possible please compress the file into a ZIP file and share it with us so we can try to reproduce the issue. I hope you can also copy & paste the error text as well.

i am beginer for this software…after i try making simple animation, i try to export video and the error box like this appear. please help me …

here the error doc i put in my drive… https://drive.google.com/drive/folders/1MROVkf5-CfChB1AMKn5EjfogLPO0Kg_z?usp=sharing

Command: D:/Pencil2D/plugins/ffmpeg.exe -f rawvideo -pixel_format bgra -video_size 600x563 -framerate 12 -i - -threads 2 -pix_fmt yuv420p -y D:/try 1.mp4 ffmpeg version 4.1.1 Copyright (c) 2000-2019 the FFmpeg developers built with gcc 8.2.1 (GCC) 20190212 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 Input #0, rawvideo, from ‘pipe:’: Duration: N/A, start: 0.000000, bitrate: 129715 kb/s Stream #0:0: Video: rawvideo (BGRA / 0x41524742), bgra, 600x563, 129715 kb/s, 12 tbr, 12 tbn, 12 tbc Stream mapping: Stream #0:0#0:0 (rawvideo (native) → h264 (libx264)) [libx264 @ 000002adf0cfb3c0] height not divisible by 2 (600x563) Error initializing output stream 0:0 – Error while opening encoder for output stream #0:0 - maybe incorrect parameters such as bit_rate, rate, width or height Conversion failed! Exit status: CrashExit Exit code: 1 System Info Pencil2D version: 0.6.6 (stable) Build ABI: x86_64-little_endian-llp64 Kernel: winnt, 10.0.19042 Operating System: Windows 10 (10.0) end

Videos exported in the mp4 format must have an even width and height. I recommend double clicking on the camera layer and reducing the width and height to the nearest multiple of 2. This will crop a pixel off your image, which is better than changing it in the export settings where the entire image will be stretched slightly and degrade in quality.

1 Like

Wauu…it did work. thank you so much.=)

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

Imprint