-
Notifications
You must be signed in to change notification settings - Fork 293
Description
Description
Hello,
when I try to export as a movie my project I get this error message:
Command: /tmp/.mount_pencilyGVzmc/usr/plugins/ffmpeg -i /tmp/Pencil2D/Default_Y2xD_456aebye/data/sound_20241123_081849_683.wav -filter_complex [0:a:0] aformat=sample_fmts=fltp:sample_rates=44100:channel_layouts=mono,volume=1,adelay=0S|0S,apad=whole_len=3675[ad0] -map [ad0] -ar 44100 -acodec pcm_s16le -ac 2 -y -ss 0 -to 0.0833333 /tmp/Pencil2D-eqoHJY/tmpaudio.wav
ffmpeg version 2.8.17-0ubuntu0.1
Copyright (c) 2000-2020 the FFmpeg developers
built with gcc 5.4.0 (Ubuntu 5.4.0-6ubuntu1~16.04.12) 20160609
configuration: --prefix=/usr --extra-version=0ubuntu0.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
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
Guessed Channel Layout for Input Stream #0.0 : mono
Input #0, wav, from '/tmp/Pencil2D/Default_Y2xD_456aebye/data/sound_20241123_081849_683.wav':
Duration: 00:00:01.95, bitrate: 384 kb/s
Stream #0:0: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 24000 Hz, 1 channels, s16, 384 kb/s
[Parsed_adelay_2 @ 0x22bfca0] At least one delay >0 must be specified.
[Parsed_adelay_2 @ 0x22bfca0] Failed to configure input pad on Parsed_adelay_2
Error configuring complex filters.
Invalid argument
Exit status: CrashExit
Exit code: 1
System Info
Pencil2D version: 99.0.0.1005 (nightly)
Build ABI: x86_64-little_endian-lp64
Kernel: linux, 6.8.0-48-generic
Operating System: Ubuntu 24.04.1 LTS
end
I have tryed to export the project as mp4 file and also as avi file. Current resolution is 800 * 600 (dividable by 2).
Exporting to animated gif files is working.
If I remove the sound level (which contains an mp3 file), everything is working fine.
Same result if I convert the mp3 file to wav.
Expected result
An MP4 or AVI file should be created
Actual result
FFMpeg crashes so a crash dialog appears.
Steps to reproduce
1. Create a new project
2. Import a wav or mp3 file in a new sound layer
3. Export the project as a MP4 or AVI file (Menu "File"-> "Export" -> "Movie")Video or Image Reference
No response
System Information
Pencil2D version: 99.0.0.1005 (nightly)
Build ABI: x86_64-little_endian-lp64
Kernel: linux, 6.8.0-48-generic
Operating System: Ubuntu 24.04.1 LTS