pencil2d / pencil

Pencil2D is an easy, intuitive tool to make 2D hand-drawn animations. Pencil2D is open source and cross-platform.
http://pencil2d.org
GNU General Public License v2.0
1.47k stars 273 forks source link

MP4 Export Crash #1493

Closed jimmerjorns closed 3 years ago

jimmerjorns commented 4 years ago

Issue Summary

Export doesn't work

### Actual Results Exit status: CrashExit Exit code: 1 Thats what it says in the text box thing ### Expected Results It would export normally as a mp4 file ### Video or Image Reference ### Steps to reproduce I have no idea, i used redo before this so maybe thats the problem ### System Information + Pencil2D Version: 0.6.5 (stable) + Operating System: Windows 10 + RAM Size: 16GB + Graphics Tablet: Old version of Wacom Intuos Pro S
Jose-Moreno commented 4 years ago

@jimmerjorns Is it possible for you to share the file that is causing the crash? That way the developers will be able to hopefully reproduce the specific issue that's affecting you and look for potential solutions quicker.

You can try using wetransfer anonymous link. It will be delete automatically in 1 week as well. https://wetransfer.zendesk.com/hc/en-us/articles/115004254743-How-do-I-send-a-link-transfer-

jimmerjorns commented 4 years ago

https://we.tl/t-OTbI3BioeW

Jose-Moreno commented 4 years ago

@jimmerjorns Hi. Thank you for taking the time to send the file.

I'm using the stable version and unfortunately managed to export the file you sent without problem using the default settings 😔 I also have Windows 10, 16GB of RAM and a Wacom Intuos 5 S, so at first glance it isn't a hardware issue.

I'm attaching the resulting video in case you need it too for now. science_project.zip

While I exported with MP4 to test, can you try exporting with other formats like AVI or WEBM format? You can find it after pressing the "browse" button. image

And clicking on the dropdown menu below the name of the file.

image

Does it work or does it also crash upon export with those formats?

Next time it crashes can you consider taking a screenshot of the error and also go into your event viewer?

To get there you can:

  1. Go to the start menu
  2. Start type-searching the words "event viewer"
  3. You'll get to this image
  4. Then open the "app" and you'll see a windows with various elements. On the left open the Windows logs folder > Then click on the Application folder.

image

  1. Once the list loads, look for an "Error" that is of Source type "application error" and in the Faulting application name it matches Pencil2D.exe image

For now this information will help us narrow down any possible problem. However If this keeps happening to you, meanwhile we find out what's happening, I'll recommend you an alternative animation application from a curated list we have just so you can continue your work without further delays and will gladly help you out to transfer the images to the new app you choose in case you need to 😄

rpg1129 commented 4 years ago

I am having the same exact problem. I am running the program on Mac OSX 10.10 (Yosemite). The animation will not render in any format, regardless of the extension.

Jose-Moreno commented 4 years ago

@rpg1129 Hi. Can you please take a screenshot of the error or crash report? If there's not crash then it's unfortunately not the same error, and we should move this to a different ticket.

rpg1129 commented 4 years ago

There isn't a crash—what happens is that the export never actually happens. The progress window shows it happening, but the files are not saved anywhere on the computer.

rpg1129 commented 4 years ago

Dozens of people are reporting this same issue, judging from other forums.

Jose-Moreno commented 4 years ago

@rpg1129 Unfortunately, this is actually a rare sight. There are a few reports but as far as I'm aware this is a compatibility problem between certain legacy macOSX versions and the FFMPEG plugin which is used to export movies.

One of the Pencil2D devs was working on a potential test build for Pencil2D 0.6.5 to fix this problem, but i'm not a macOSX user so i don't have a copy handy right now. I've already asked them to provide us with another link to try that version and see if it works for you, however this will take time to setup as they are currently very busy with their day job and can't spare enough time to volunteer in the project, so meanwhile please consider the following:

In the forum a user with a similar issue provided a guide to compile FFMPEG from source to help legacy macOSX users with this problem: https://discuss.pencil2d.org/t/export-not-working-in-legacy-os-x-version/4587/14 apparently their FFMPEG file worked as expected.

Consider compiling the ffmpeg version required for your OS and then replace it in your .APP folder for Pencil2D. The FFMPEG file is found in the folder structure:

Pencil2D.app
-- contents
--- MacOS
---- plugins
----- ffmpeg

You could also try to use the user's pre-compiled ffmpeg build https://www.dropbox.com/s/jncl1a9dd8tt7rp/ffmpeg?dl=0, however I can't assure that it will work for your particular macOSX version. Be wary that it is a third party created file, not something made by the Pencil2D maintainers.

I'll update you once I have more info on the test build.

rpg1129 commented 4 years ago

Thanks, I appreciate it. I'll look into that info.

rpg1129 commented 3 years ago

Maybe I should try exporting at the default Canvas size instead of changing it to HD dimensions?

Jose-Moreno commented 3 years ago

@rpg1129 As per the description of your problem it is unfortunate to say that lowering the resolution will not solve your issue. At least If we consider the legacy macOSX version into the mix.

Let's move the discussion to the new issue #1543 which is dedicated to track the compatibility problem that prevents video export for macOSX users with legacy versions below 10.12.

If your export is crashing however, please post a screenshot of the error itself to troubleshoot further based on the report, otherwise it is hard for us to guess how much is a problem coming out of FFMPEG and how much it's a problem of the Pencil2D software itself.

scribblemaniac commented 3 years ago

There really isn't enough information to go off of here, so I am closing this. There are numerous reasons why an export can fail which have been covered by other bug reports. Silent failures, if they exist, should at least be caught by https://github.com/pencil2d/pencil/commit/987929ed6abd9f737ced44d90414ec436723f25a now.