Unable to export as Movie

Here’s the error text (edited out main part, sees to be an error at input 92:

Guessed Channel Layout for Input Stream #91.0 : stereo Input #91, wav, from ‘/private/var/folders/q3/z0ky0mxn6pv160_mcc1vw2mh0000gs/T/Pencil2D/greenvsblack_Y2xD_cql87cns/data/sound_20220224_105659_859.wav’: Duration: 00:00:00.78, bitrate: 1453 kb/s Stream #91:0: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 44100 Hz, stereo, s16, 1411 kb/s [amerge @ 0x7f8763c8d240] Value 92.000000 for parameter ‘inputs’ out of range [1 - 64] Last message repeated 1 times [amerge @ 0x7f8763c8d240] Error setting option inputs to value 92. [Parsed_amerge_368 @ 0x7f8763c8d140] Error applying options to the filter. [AVFilterGraph @ 0x7f8763c24c00] Error initializing filter ‘amerge’ with args ‘inputs=92’ Error initializing complex filters. Result too large Exit status: CrashExit Exit code: 1 System Info Pencil2D version: 0.6.6 (stable) Build ABI: x86_64-little_endian-lp64 Kernel: darwin, 21.3.0 Operating System: macOS 10.16 end

@andyM Hi.

We kindly request that you share the Pencil2D Project File (PCLX) voluntarily so we can investigate the issue in-depth in case the suggested troubleshooting does not hep solve the issue.

From here on I’ll provide some troubleshooting steps after consideration based on the partial error log, however I also ask that you can copy and paste the error in a text file and share it here as a .txt file.


By any chance have you imported and used several sound files / audio samples?

Seems like the error could be related to that. Have too many sounds and/ or too many overlapping sounds, is difficult to handle for Pencil2D, when you need several sounds, it’s better to reconsider where to apply the soundtrack.

Since Pencil2D is not a video editor, and quite frankly it should not be treated like one, it’s always better to choose a video editor to edit the sounds.

It’s one thing to use sounds in Pencil2D for synchronization and rhythmic purposes, and animate to the beats of specific songs or dialogue delivery, but it’s different when you are already mixing & mastering the audio for final output as “it should be heard” in the broadcasting device or service.

Additionally, If you have various sounds on the same layer where they are overlapping each other, this can causes issues in the processing of the audio (at least in my experience) as well as making it difficult to handle changes later on since you won’t know which sound is meant for which part of the animation.

The initial recommendation is that you save a backup copy of your project and keep it safe to do the following:

  1. Erase all the audio tracks and export the movie as a sequence of images (it’s cheaper and you will have a hard copy of your work)
  2. Reload the file again and then delete a few audio layers then try to export the video with sound
  3. Reload the file again and then deleted the audio layers that you kept in the previous export, then export again with the remaining audio layers.
  4. Import all the three exports into a video editor and finalize the audio.

Note: If you can’t export the audio no matter what, there might be a specific audio file that was imported that’s blocking the export. So you might need to find which one is it and delete it.

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